OpenXSwitch - Webhook Events
OpenXSwitch provides webhook notifications for various flows, including withdrawal, deposit, and internal transfers. Each flow consists of parent methods with specific sub-methods that represent the status
or progress
of the event. These webhooks ensure real-time updates to your application for key activities.
Supported Webhook Events
Best Practices
- Idempotent Processing: Ensure your webhook handlers are idempotent to avoid duplicate processing.
- Balance Handling: Avoid increment/decrement logic. Use the full
asset
orassets
data from our webhook payload to update balances directly. Our ledger ensures accurate values across wallets and sub-wallets. - Final Events Only: Update balances only on final events, Refer to the full list of
supported events
to identify valid final event types. - Acknowledgment: Always respond with a 2xx HTTP status code within 1 minutes to acknowledge receipt.
- Security: Verify webhook payload signatures to ensure authenticity.