Skip to main content
POST
Create payouts

Authorizations

Authorization
string
header
required

Your secret key: sk_test_… on the sandbox host, sk_live_… on live. A key on the wrong host gets a 401 wrong_environment. Keys are secret. Keep them on your server, never in a browser or app.

Headers

Idempotency-Key
string
required

Any unique string up to 255 characters, such as a UUID or your own invoice id. Retrying with the same key and body within 24 hours returns the original response instead of paying twice.

Maximum string length: 255
Example:

"inv-1042-attempt-1"

Body

application/json
wallet_id
string
required

The wallet that pays. Its available amount must cover the total debit_amount.

Example:

"wallet_7t4m9k2qx8d3hn5r"

items
object[]
required

The payouts to create, one per payee.

Required array length: 1 - 100 elements
name
string

The batch name shown on your dashboard. Defaults to API batch followed by the UTC date and time.

Maximum string length: 255
Example:

"October invoices"

description
string

Applied to every payout in the batch.

Maximum string length: 500
Example:

"Contractor invoices, October"

reference
string

Your identifier for the batch.

Maximum string length: 100
Example:

"run-2026-10"

metadata
object

Up to 20 key-value pairs of your own. Keys up to 40 characters, values up to 500, strings only.

Example:

Response

The new batch and its payouts.

id
string
required
Example:

"batch_fcb4cuwtd6fcbmwr"

number
string
required

Your account's running count, as on the dashboard.

Example:

"PB-2026-21"

name
string
required

The name sent on creation, or API batch plus the UTC date and time.

Example:

"October invoices"

description
string | null
required
Example:

"October invoices"

status
enum<string>
required

Worked out from the batch's payouts, so it can move more than once.

Available options:
pending,
processing,
completed,
partially_completed,
failed,
awaiting_payees,
awaiting_funds,
canceled
Example:

"processing"

wallet_id
string
required

The wallet that paid.

Example:

"wallet_7t4m9k2qx8d3hn5r"

debit_currency
string
required

The currency of the paying wallet.

Example:

"usd"

total_debit
string
required

The sum of its payouts' debit_amount.

Example:

"1136.70"

total_fee
string | null
required
Example:

"20.00"

payee_count
integer
required
Example:

2

payout_summary
object
required

How many of the batch's payouts are in each status.

payouts
object[]
required

The batch's payouts in request order.

reference
string | null
required
Example:

"run-2026-10"

metadata
object
required

Up to 20 key-value pairs of your own. Keys up to 40 characters, values up to 500, strings only.

Example:
created_at
string<date-time>
required
Example:

"2026-10-26T10:05:00Z"

updated_at
string<date-time>
required
Example:

"2026-10-26T10:05:00Z"