Skip to main content
POST
Create a payout

Authorizations

Authorization
string
header
required

Your secret key, e.g. sk_live_... or sk_sandbox_....

Headers

X-Idempotency-Key
string

Optional key, 8 to 128 characters, that makes this request safe to retry. The first response is stored for 24 hours; a repeat returns it unchanged with X-Idempotent-Replayed: true.

Required string length: 8 - 128

Body

application/json
amount
number
required

Amount in major units, the same scale as a payment. 50 means 50.00.

Required range: x >= 1
Example:

50

currency
string
required
Required string length: 3
Example:

"EUR"

method
string
required

Payout method code. The codes available to your project are listed in your dashboard.

description
string
required
Maximum string length: 500
Example:

"Supplier settlement"

instrument
object
required

The typed destination. Required fields depend on type.

customer
object
required
reference
string

Your own identifier. Must be unique within the project; a duplicate returns 409.

Maximum string length: 191
Example:

"batch-42-line-7"

webhook_url
string<uri>

URL notified when this payout is created, completes or fails. Deliveries to it are not signed.

Maximum string length: 2048
metadata
object

Up to 10 key/value pairs of your own, returned unchanged.

Example:
gateway_options
object

Optional processor-specific parameters, keyed by gateway code. Only gateways that declare options accept a section, and each section is validated against that gateway's own schema; an unknown code or an unsupported option is rejected. The codes and options available to your project are listed in your dashboard.

Example:

Response

Payout created.

message
string
data
object