Webhooks forDocumentation Index
Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt
Use this file to discover all available pages before exploring further.
Wallet-as-a-Service withdrawal flow notify you about the status of funds being withdrawn from a wallet.
- Parent Method:
withdraw - Sub-Methods:
unconfirmed: Triggered when a withdrawal request is initiated but not yet processed.confirmed: Triggered when the withdrawal is successfully processed and funds are sent to the specified address.
Example Payload for Withdrawal:
Reference
| Field | Description | Type |
|---|---|---|
requestId | Unique identifier for the event | string |
method | Event type (e.g. withdraw.unconfirmed, withdraw.confirmed) | string |
params.id | Unique ID for the withdrawal | string |
params.clientTxId | Optional client-assigned transaction ID | string |
params.coin | Token symbol (e.g. USDT) | string |
params.chain | Blockchain network name (e.g. Bitcoin, Ethereum) | string |
params.network | Blockchain protocol used (e.g. ERC20, TRC20) | string |
params.amount | Withdrawal amount | number |
params.fromAddress | Blockchain address sending the funds | string |
params.toAddress | Recipient blockchain address | string |
params.hash | Transaction hash on the blockchain, can be null initially | string or null |
params.status | Transaction status (pending, success, failed, etc.) | string |
params.networkFee | Fee paid for the on-chain transaction | number |
params.confirmation | Number of confirmations received on the blockchain | number |
params.fromWalletId | Internal ID of the sending wallet | string |
params.workspaceId | ID of the associated workspace or organization | string |
params.createdAt | Timestamp when the withdrawal was initiated | string (ISO 8601) |
params.updatedAt | Last updated timestamp of the transaction | string (ISO 8601) |
params.wallet.id | Wallet ID related to the withdrawal | string |
params.wallet.clientUserId | Associated user ID (optional) | string or null |
params.wallet.email | Email tied to the wallet | string |
params.wallet.name | Wallet label | string |
params.wallet.asset.coin | Coin in the wallet | string |
params.wallet.asset.balance | Current balance in wallet | number |
params.wallet.asset.frozen | Frozen amount in wallet | number |
params.wallet.asset.updatedAt | Last balance update time | string (ISO 8601) |
params.wallet.isSubWallet | Whether it’s a sub-wallet | boolean |
.png?fit=max&auto=format&n=ML35RDblT1Ol-zJb&q=85&s=062e79ad9c4540929eec204aff020178)
.png?fit=max&auto=format&n=ML35RDblT1Ol-zJb&q=85&s=f6328956931c9664a2a070c2edb6e9b3)