Skip to main content
Bitnob notifies your server as a payout advances, so you can update records and notify users without polling. Set the destination with 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. Use reference 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 200 immediately and process asynchronously. If processing fails temporarily, return a 5xx so the event is retried; a 400 or 422 drops 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.