Skip to main content
POST
Sends a payout to one user’s payment method. ZBD checks the user’s verification, screening, limits, and, for US bank payouts, the Electronic Funds Transfer disclosure. If every check passes, the amount comes out of your pool and the call returns 202 with the payout in INITIATED. If a check fails, the call returns a 4xx and nothing is debited. What else the payout debits depends on how you track earnings: The response includes the fee for the user’s payment method and the net amount they receive. A webhook fires on every status change. See Webhook Events.

Configuration

Header Parameters

string
required
Your ZBD API key.
string
required
A UUID you generate for this payout. Retrying with the same key returns the original payout instead of sending a second one.
string
Content Type

Body Parameters

string
required
The ZBD user ID returned by Create a User.
string
required
The payment method to pay, from List Payment Methods. It has to belong to the user in user_id, or the call returns 404 payment_method_not_found.
integer
required
Amount in the currency’s smallest unit. For USD, 2500 is $25.00. The fee comes out of this amount.
string
required
USD or EUR.
string
Your own ID for this payout. It’s returned in webhooks and in List Payouts, for reconciliation.
string
The project the payout belongs to, so you can filter payouts and webhooks by project.

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. Returned by Get a Payout and List Payouts.
string
The user being paid.
string
The payment method being paid.
integer
The amount you sent, in the currency’s smallest unit. This is what comes out of your pool.
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.
integer
What’s left in your pool after this payout, in the smallest unit. Only returned when you create a payout.

Errors