Webhooks
Set the Webhook URL in the menu Settings → API → Binance Pay webhooks. HTTPS (TLS/SSL) is required.
Webhook password - password required to verify the payment signature
Webhook URL - the endpoint where 0xProcessing sends event notifications.
Request method: POST
Response Type: JSON
Deposit
Triggered when a customer successfully completes a deposit via Binance Pay and the funds are credited to the merchant account.
Event type
Deposit
Statuses
SuccessCanceled
Payload
{
"Id": 123,
"MerchantID": "0x...",
"Date": "2025-06-16T14:30:00Z",
"Amount": 150.75,
"AmountUSD": 150.75,
"Fee": 1.50,
"Currency": "USDT",
"Type": "Deposit",
"Destination": "",
"Status": "Success",
"Signature": "a1b2c3d4e5f6...",
"ExternalID": "EXT-987654",
"ClientID": "CLIENT-001",
"TxId": "123456789",
"BinanceID": "987654321"
}Description of fields
ID
Internal transaction identifier
MerchantID
Merchant identifier
Date
Transaction creation date (UTC)
Amount
Deposit amount
AmountUSD
Amount converted to USD
Fee
Processing fee
Currency
Transaction currency
Type
Event type (Deposit)
Destination
Wallet address or Binance ID used for withdrawal
Status
Transaction status
Signature
Webhook signature
ExternalID
Merchant's external transaction ID
ClientID
Merchant client identifier
TxId
Internal Binance Pay transaction ID
BinanceID
Binance payment identifier
WithdrawBinanceId
Triggered when a withdrawal is successfully sent to a Binance Pay account using Binance ID.
Event type
WithdrawBinanceId
Statuses
SuccessCanceled
Payload
Description
The webhook is sent after funds are successfully transferred to the recipient's Binance account using their Binance ID.
WithdrawOnchain
Triggered when a withdrawal is processed and sent to a blockchain wallet address.
Event type
WithdrawOnchain
Statuses
SuccessCanceled
Payload
Description
The webhook is sent when a withdrawal transaction is broadcast to the blockchain and reaches its final status.
Signature Validation
To verify the authenticity of a webhook, generate a signature using the following template:
Hash the resulting string using the MD5 algorithm.
Compare the generated hash with the value received in the
Signaturefield. Only process the webhook if the signatures match.
Last updated