Skip to main content
GET
A cash out in the widget creates a payout. This returns its current status and amounts. Webhooks tell you when a status changes, so use this for reconciliation and support rather than polling.

Configuration

Header Parameters

string
required
Your ZBD API key.

Path Parameters

string
required
The payout_id from the payout webhook, or from List Payouts.
status is INITIATED, PROCESSING, COMPLETED, FAILED, or RETURNED. See Payout statuses.

Response

The payout is in data.
string
ZBD’s ID for the payout. Use it with Get a Payout.
string
Where the payout is: INITIATED, PROCESSING, COMPLETED, FAILED, or RETURNED. A new payout is always INITIATED. See Payout statuses.
string
api for payouts your backend sent and widget for cash outs from the widget.
string
The user being paid.
string
The payment method being paid.
integer
The fiat amount of the payout, in the currency’s smallest unit.
string
Currency code for all amounts in the payout, for example USD.
integer
The fee for the payment method, in the smallest unit. By default it comes out of amount.
integer
What the user receives, in the smallest unit. By default this is amount minus fee_amount.
string | null
Your own ID for the payout, if you sent one.
string | null
The project the payout belongs to, if you sent one.

Errors