- Track by the payout
idand yourreference; the Trip timeline tells you exactly which stage a payout stalled at. - A failed payout sends
payouts.withdrawal.failedwith afailure_reason. Webhooks can be missed, so back them up with a reconciliation sweep against Get payout.
Failure scenarios
Expired quote
Expired quote
The quote passed
expires_at before you initialized, or before funding arrived.Detection: using an expired quote_id returns 400 VALIDATION_ERROR. The reason is expired until a background job marks the quote expired, which runs every 5 minutes. After that, initialize returns the reason already_initialized and finalize returns a status transition error. An initialized but unfunded payout emits payouts.withdrawal.expired.Response: request a fresh quote and start over. Nothing was settled. In your UI, check expires_at before showing payment instructions, and stop showing them once it passes.Underpayment
Underpayment
The funding payment arrived short of the quoted amount.Behavior: the deposit is refused, except for a shortfall of up to 0.0001 on stablecoins. Bitcoin has no tolerance. The payout doesn’t process, and it stays
PENDING_ADDRESS_DEPOSIT until it expires.Response: show deposit_amount from the initialize response on your payment screen, and tell the sender their wallet network fee is on top of it. A short deposit stays in your Bitnob balance. Request a fresh quote to retry.Overpayment
Overpayment
The funding payment exceeded the quoted amount.Behavior: the intended fiat amount is paid out; the excess is credited to your Bitnob balance.Response: nothing required for delivery. Track the excess in your reconciliation so your books match your balance.
Payment after expiry
Payment after expiry
Funds arrived on-chain after the quote window closed.Behavior: the payout doesn’t proceed. The funds stay in your Bitnob balance, so request a fresh quote to retry.Response: design your payment screen so paying late is hard: show a countdown from
expires_at and hide the address once it passes.Funding stuck on the blockchain
Funding stuck on the blockchain
The deposit was sent with too low a fee and confirms slowly.Detection: the payout is still
PENDING_ADDRESS_DEPOSIT and the Trip has no asset_received.Behavior: the payout waits for the deposit until the quote expires, 6 minutes after the quote for BTC and 16 minutes for stablecoins. A deposit that confirms after that doesn’t proceed automatically. See “Payment after expiry”.Response: show an “awaiting confirmations” state with a countdown from expires_at. For Bitcoin funding, recommend a competitive fee; for Lightning, this case does not exist, which is a reason to prefer it.Delivery failure
Delivery failure
Funding succeeded, but the bank or mobile money operator rejected the payout: an invalid account, a closed account, or rail downtime.Detection: the record moves to
FAILED and payouts.withdrawal.failed fires. Back this up with your reconciliation sweep against Get payout or List payouts.Response: read failure_reason from the webhook, correct the beneficiary if that was the cause, re-run Account lookup, and retry with a fresh quote. Validate a beneficiary before initializing prevents most of this class outright.Compliance rejection
Compliance rejection
The payout was blocked after funding by a compliance or risk check: a flagged recipient or a country restriction.Detection: same as delivery failure, the record moves to
FAILED.Response: this is not retryable by changing details. Route it to your operations team, and engage your Bitnob account manager to resolve or refund.Your webhook endpoint is down
Your webhook endpoint is down
Not a payout failure, but it looks like one from inside your system: payouts complete and your records never hear about it.Behavior: Bitnob retries timeouts,
5xx responses, and most 4xx responses with increasing delays, up to the retry count set on your webhook (1 to 5 attempts in total). 400, 404, 410, 422, and 451 are final. See Retries and duplicates.Response: idempotent handlers, fast 200s, and the reconciliation sweep as the backstop. See Receive payout webhooks.The reconciliation sweep
The single mechanism that catches everything above: on a schedule, list recent payouts and compare terminal states against your records.1
Sweep
Query List payouts and match the results to your open payouts by
id.2
Settle
Mark
SUCCESS records delivered, exactly as if the success webhook had arrived.3
Route failures
Send
FAILED records to your retry or operations path.4
Alert on stalls
Flag payouts that have sat in one stage beyond your corridor’s expected window; per-corridor expectations are in Corridor behavior.