callback_url when you initialize a payout, or configure a global webhook URL on your dashboard.
Before handling payout events, have the shared plumbing in place from Webhooks: verify the x-bitnob-signature HMAC on every delivery, return 200 quickly, and expect retries, which means the same event can arrive more than once. De-duplicate on event_id.
The five events
This is the complete catalog. Webhooks can be missed, so also run a reconciliation sweep against Get payout.
data.status in a payout webhook is the lowercase event outcome (initiated, pending_address_deposit, processing, success, expired, failed). It is not the payout record’s uppercase lifecycle status. Route on the event field.Payloads
Every event carries the payout record, so field names match the payouts API responses. Usereference to match events to your own records. On payouts.withdrawal.success, completed_at is when settlement finished; act on this event when crediting an order. On payouts.withdrawal.expired, nothing settled; create a fresh quote to retry.
Handler checklist
- Verify the signature before parsing anything else; see Verifying events.
- Return
200immediately and process asynchronously. If processing fails temporarily, return a5xxso the event is retried; a400or422drops it for good. See Retries and duplicates. - Make the handler idempotent on
event_id. - Confirm terminal state with Get payout before releasing goods or services; do not act on a webhook alone.