Request headers
Verify signatures against the exact raw request bytes before parsing or reserializing. Signing headers can be absent when signing is disabled or keys are unavailable. Route by the outer
event_type and use event_id for idempotency. Delivery can be duplicated or out of order; prevent an older snapshot from overwriting a newer final state.
Common payload
The top-level
timestamp is a Unix timestamp in milliseconds. Business date fields retain their documented UTC ISO 8601 format. Verify signatures using the original request bytes.
Event index
Receive events
Back to event indexPROCESSING covers internal RISK_PENDING, RECEIVED, FEE_PENDING, PENDING_APPROVAL and CONFIRMED. COMPLETED and REJECTED produce their matching events. INIT, RETURNED and RETURN_IN_PROGRESS do not produce these three events.
Notifications are limited to owned non-SYSTEM merchants. Amounts use plain decimal strings without a forced scale here; this differs from the Receive query API’s fixed six places. fail_code/fail_reason are used for REJECTED only.
Receive data fields
crypto_detail and fiat_detail are mutually exclusive. Fiat details omit all fields whose names begin with creditor, matching Receive list and retrieve responses.
receive.completed
receive.rejected
receive.processing
Send events
Back to event index Send events use snake_case business fields. Failure details usefail_code and fail_reason.
Send data fields
send.processing
send.succeed
send.failed
send.refunded
Payment events
Back to event index Processing snapshots can include partial or overpaid exceptions and do not prove final crediting. Historicaluser_pay_status is not included in current payloads. Amounts are rounded HALF_UP to at most six places for USDT/USDC and two for other currencies, then trailing zeros are removed.
exchange_rate is fixed to six places. user_pay_currency falls back to the payment currency when absent. Completion time may be omitted before completion.
Payment data fields
Failure events
payment.failed and payment.rejected may include fail_code and fail_reason.
payment.processing
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.payment.completed
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.payment.expired
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.payment.cancelled
payment.failed
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.payment.rejected
Refund events
Back to event indexCREATED maps to refund.created; REFUNDED and COMPLETED map to refund.refunded, without rewriting data.status; REJECTED/FAILED map to their matching events; other states map to refund.processing.
Amounts are rounded HALF_UP to at most six places for USDT/USDC and two for other currencies, then trailing zeros are removed. fail_code contains the failure code when available. fail_reason contains the reason details.
The current builder does not include fee_amount/fee_currency/total_deducted in this webhook payload.
Refund data fields
refund.created
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.refund.processing
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.refund.refunded
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.refund.rejected
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.refund.failed
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.Swap events
Back to event index OnlyCOMPLETED and FAILED produce these events. Quote details, trace_timeline and channel order IDs are not included. Amounts use fixed six places for USDT/USDC and two for other currencies, rounded HALF_UP. exchange_rate uses up to six places with trailing zeros removed.
total_deduct_amount is included only when principal and fee exist and fee currency equals source currency. A missing failure code falls back to swap_execution_failed; a non-empty failure reason is sanitized. The sanitizer’s 422 argument is an HTTP status, not a 422-character limit.
Swap data fields
swap.completed
Observed webhook payload from the supplied log snapshot. Historical payloads may differ from the current timestamp and field format.swap.failed
Beneficiary events
Back to event index Beneficiary events contain the business snapshot shown below. Rejection details usefail_reason, matching beneficiary create, retrieve, list, and update responses.
Beneficiary data fields
beneficiary.created
beneficiary.updated
beneficiary.deleted
beneficiary.status_changed
Wallet events
Back to event index Wallet events describe deposit-address application results.Wallet data fields
wallet.created
wallet.failed
Virtual account events
Back to event index Virtual account events contain the account snapshot shown below.user_name and user_type are omitted, matching apply, retrieve, and list account responses.
Virtual account data fields
virtual_account.created
virtual_account.failed
Historical compatibility
Current envelopes useevent_type, event_id, user_id and an integer millisecond timestamp. Send business fields use snake_case. Historical payloads may use older keys or date formats. The historical Payment user_pay_status field is not part of the current payload.
Swap fail_reason is sanitized without a documented 422-character cap. Historical log field lengths and SQL capacities do not establish public maximums.