Payout Webhook
Currently, the types of payout webhooks are as follows:
payout.paid: Payout processing (this status can be ignored), please rely on completed and failed for confirmation.
payout.completed: Payout successful event. This event notification is triggered after the successful completion of a payout, indicating that the payout was successful.
payout.failed: Payout failed event. This event notification is triggered after the failure of a payout, indicating that the payout has failed.
The data returned for both payout.completed and payout.failed is as follows:
Notification Parameters:
| Field | Type | Description |
|---|---|---|
| orderNo | String | Payout system order number |
| merOrderNo | String | Merchant-side merchant order number |
| currency | String | Cryptocurrency currency, e.g., USDT, BTC, etc. View the currency list |
| totalAmount | BigDecimal | Cryptocurrency amount |
| tradeStartTime | Long | Payout start time |
| chainPaymentInfo | InvoiceChainPaymentInfo | Public chain payout information (These parameters will only be returned if it is a blockchain payout) |
| message | String | If the payout fails, the reason for the failure |
| status | String | Payout order status (paid: processing, completed: paid and completed, failed: processing failed) |
InvoiceChainPaymentInfo:
| Field | Type | Description |
|---|---|---|
| network | String | Public chain information |
| payeeAddress | String | Wallet address |
| transactionId | String | Blockchain transaction ID |
| blockHash | String | Packed block hash |
| blockHeight | Long | Packed block height |
| packageTime | Long | Package time |