OpenXSwitch providesDocumentation Index
Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt
Use this file to discover all available pages before exploring further.
webhook notifications for multiple event flows across Wallet-as-a-Service and Smart Accounts. Each flow consists of a parent method with sub-methods representing the lifecycle, status, or progress of an event.
These webhooks enable real-time updates for deposits, withdrawals, transfers, swaps, and balance activities within your application.
Parent Methods
| Event Flow | Wallet-as-a-Service | Smart Accounts |
|---|---|---|
| Deposit | deposit | smart-accounts:deposit |
| Withdrawal | withdraw | smart-accounts:withdraw |
| Internal Transfer | internal_transfer | — |
| Instant Swap | instant_swap | — |
| Wallets | — | smart-accounts:wallets |
Parent methods are used as the top-level event namespace, while sub-methods define the specific event state or action (e.g.,
pending, updated, success).Best Practices
- Idempotent Processing: Ensure your webhook handlers are idempotent to avoid duplicate processing.
- Final Events Only: Update balances only on final events, Refer to the full list of
supported eventsto 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.
.png?fit=max&auto=format&n=ML35RDblT1Ol-zJb&q=85&s=062e79ad9c4540929eec204aff020178)
.png?fit=max&auto=format&n=ML35RDblT1Ol-zJb&q=85&s=f6328956931c9664a2a070c2edb6e9b3)