Skip to main content
POST
Create one or multiple payouts

Authorizations

Authorization
string
header
required

Enter Auth0 JWT token

Headers

Idempotency-Key
string

Client-generated key scoped per workspace. A repeat with the same key, the same request body, and the same acting account (the Zuba-Account-Id header, or its absence for master level) returns the original response without creating a second payout. A repeat with the same key but a different body or a different acting account is rejected (422). A repeat while the first request is still in flight returns a retryable 409. Keys expire 24 hours after the original request completes; a repeat after expiry is treated as a new request.

Zuba-Account-Id
string<uuid>

Optional. Names an owned sub-account (UUID) to send the payout from: the balance hold + service fee debit that sub-account's bucket and the payout records its accountId. A beneficiary.id saved under any other account returns 404, and a quoteId minted for any other account returns 400 QUOTE_NOT_FOUND. Omit to act at the master (tenant) level. Naming an account this key does not own returns 403 not_account_owner.

Body

application/json

Single payout object or array of payout objects

amount
string
required

Amount to be paid out (as string to avoid floating-point precision issues)

Pattern: ^[0-9]+(.[0-9]{1,8})?$
Example:

"100.50"

beneficiary
object
required

Beneficiary information. RECOMMENDED: Reference an existing beneficiary by providing just the ID (e.g., {"id": "uuid"}). Alternatively, provide the full beneficiary object with account details to create a new one inline.

Example:
clientRef
string
required

Client reference for idempotency (max 100 characters)

Maximum string length: 100
Example:

"PAYOUT-REF-12345"

currency
enum<string>
required

Currency code (ISO 4217). Default enabled currencies: EUR, USD, GBP, USDC, NGN. Contact your account manager to enable additional currencies.

Available options:
EUR,
USD,
GBP,
CHF,
CAD,
CNY,
USDC,
USDT,
EURC,
NGN,
XOF,
XAF,
GHS,
KES,
UGX,
ZAR,
ARS,
MZN,
ZMW,
MWK,
EGP,
INR
Example:

"EUR"

route
enum<string>
required

Payment route to use

Available options:
sepa_inst,
sepa_credit,
bank_transfer,
ach,
fedwire,
swift,
crypto,
mobile_money,
alipay,
upi
Example:

"sepa_inst"

comment
string

Comment for the payout. Where a rail takes a separate payment comment, it is sent to the recipient as the narration in place of description, and it is held only to this 500-character limit, not to the per-currency description limit.

Maximum string length: 500
Example:

"Monthly salary payment"

description
string

Optional description of the payout, sent to the recipient as the payment narration on the rails that carry one. The limit depends on the payout currency: 18 characters for GBP and GHS, 100 for KES, 140 for every other currency, counted after accented and special characters are converted for the payment rail (é becomes e, № becomes No); a crypto payout counts the text as entered. GET /v1/payouts/requirements reports the limit for a currency, and a longer value is refused with a 400 coded NARRATION_TOO_LONG. The text as entered is also held to 500 characters. A ZAR payout carries it to the recipient's bank statement as at most 30 letters, digits, dots and hyphens: accented and special characters are converted, each run of spaces becomes a hyphen, any other character is dropped, and the result is cut to 30; where nothing remains, or the result could be read as another payout's reference, a reference derived from the payout id is sent instead. Where a rail takes a separate payment comment and comment is supplied, comment is sent as the narration in its place.

Maximum string length: 500
Example:

"Invoice 2024-001"

developerFee
object

Your own fee on this payout, charged to the sub-account it is sent from and paid to your main balance. Replaces the default fee you set for the currency pair (inputCurrency to currency); { "percentage": "0", "fixed": "0" } waives it. Allowed only on a payout sent from a sub-account (the Zuba-Account-Id header) by a financial-institution workspace, and refused with a 403 coded developer_fees_not_available otherwise. fixed is in the source currency, so on a payout other than crypto a fee carrying a fixed other than zero needs inputCurrency or a quoteId, and is refused with a 422 coded input_currency_required without one. fixed can have no more decimal places than the source currency has (8 for USDC and USDT), and is refused with a 422 coded developer_fee_precision_exceeded otherwise.

externalSenderId
string

External sender (originator) reference. Used as the crypto Travel Rule originator id; defaults to your client id when omitted.

Maximum string length: 100
Example:

"SENDER-123"

inputCurrency
enum<string>

Input currency to debit from (optional). If provided, this currency will be used as the source for the payout. If not provided, the system will automatically select the currency with the largest available balance (balance minus pending transactions). Defaults to USD if no balances are found. Default enabled currencies: EUR, USD, GBP, USDC, EURC, NGN. Contact your account manager to enable additional currencies. A crypto payout debits the stablecoin it sends unless inputCurrency is NGN, which pays a USDC or USDT payout from your NGN balance.

Available options:
EUR,
USD,
GBP,
CHF,
CAD,
CNY,
USDC,
USDT,
EURC,
NGN,
XOF,
XAF,
GHS,
KES,
UGX,
ZAR,
ARS,
MZN
Example:

"EUR"

invoiceId
string<uuid>

ID of an invoice uploaded through the invoices API, associated with the payout

Example:

"0b7d2f8e-3c1a-4e5b-9f6d-2a8c4e1b7d3f"

purpose
string

Purpose of the payout. On a CNY payout it must name one of GoodsAndServices, Business, Salary, Interpretation, Translation, HumanResource, EstateAgency, SoftwareDevelopment, WebDesignOrDevelopment, DraftingLegal, LegalCertification, Accounting, ArchitecturalDecorationDesign, Advertising, MarketResearch, ExhibitionBooth, ProductPromotion or EcommercePromotion (case, spaces and punctuation ignored); an Alipay wallet payout (route alipay) also accepts Tax and does not accept GoodsAndServices or Business. A CNY payout without one is refused with a 400 coded MISSING_PURPOSE, and one naming another value with UNSUPPORTED_PURPOSE. On the alipay route the purpose of a payout from an individual sender must be FamilySupport, Salary, Tax or one of the services named above other than ProductPromotion and EcommercePromotion.

Maximum string length: 100
Example:

"salary"

purposeOfPaymentDocumentKey
string

S3 key of the uploaded purpose-of-payment document. REQUIRED for SWIFT payouts. Obtain it from POST /v1/payouts/pop-documents/upload-url.

Maximum string length: 512
Example:

"pop-documents/cc82fa1d-fc7a-478c-a734-d3bce40464e7/9f1c.../invoice.pdf"

quoteId
string<uuid>

Cross-rate FX quote ID. Required only for payouts funded from an NGN balance into USD, EUR or GBP. Optional everywhere else: pass one to lock the rate for this payout, or omit it and the payout is priced at the current rate.

Example:

"123e4567-e89b-12d3-a456-426614174000"

reference
string

Optional reference for the payout (max 140 characters)

Maximum string length: 140
Example:

"PAYOUT-2024-001"

senderInfo
object

Sender (originator) information. Used as the originator identity for the crypto Travel Rule. If omitted, the originator is the paying account as its KYB application was approved (your workspace, or the sub-account named in Zuba-Account-Id), so supply this only when paying out on behalf of a distinct third party. A payout that omits it from an account with no originator of record (no approved KYB application, or one missing what the originator needs) is rejected with ORIGINATOR_NOT_ON_RECORD, and the message says which.

Response

Multiple payouts created

Single payout created

amount
string
required

Amount of the payout (as string to avoid floating-point precision issues)

Example:

"100.50"

beneficiary
object
required

Beneficiary information

Example:
createdAt
string<date-time>
required

Creation timestamp

Example:

"2024-01-15T10:30:00Z"

currency
enum<string>
required

Currency code (ISO 4217). Default enabled currencies: EUR, USD, GBP, USDC, NGN. Contact your account manager to enable additional currencies.

Available options:
EUR,
USD,
GBP,
CHF,
CAD,
CNY,
USDC,
USDT,
EURC,
NGN,
XOF,
XAF,
GHS,
KES,
UGX,
ZAR,
ARS,
MZN
Example:

"EUR"

developerFee
object | null
required

The developer fee charged on this payout, or null when none applies. Only a payout sent from a sub-account of a financial-institution workspace carries one.

fee
string
required

Fee charged for the payout (as string to avoid floating-point precision issues)

Example:

"2.50"

id
string<uuid>
required

Unique identifier for the payout

Example:

"123e4567-e89b-12d3-a456-426614174000"

route
string
required

Client-facing payment rail. Provider names are never exposed; a provider-routed transfer reads as a generic rail (e.g. international).

Example:

"international"

status
enum<string>
required

Current status of the payout

Available options:
created,
queued,
processing,
paid,
failed,
cancelled,
awaiting_approval,
approval_expired,
approval_rejected,
awaiting_funding
Example:

"processing"

totalDebit
string
required

Total debited from the balance for this payout, in the input currency: inputAmount plus developerFee.amount. A crypto payout debited in the stablecoin it sends has no inputAmount, so its total is amount plus fee plus the developer fee; a crypto payout funded from NGN has an NGN inputAmount, so its total is in NGN.

Example:

"1015.50"

type
enum<string>
required

Type of payout

Available options:
fiat,
crypto
Example:

"fiat"

updatedAt
string<date-time>
required

Last update timestamp

Example:

"2024-01-15T10:35:00Z"

accountId
string<uuid>

The sub-account the payout was made on behalf of. Absent when the client paid from its own balance.

balanceAfter
string

Account balance after this transaction (in input currency, e.g., EUR)

Example:

"98.87"

clientRef
string

Client-supplied idempotency reference provided at payout creation. Stable across retries and the natural lookup key for support / reconciliation. Absent on provider-synthesized DTOs (e.g. webhook callbacks) where the original client ref is not in scope.

Maximum string length: 100
Example:

"PAYOUT-REF-12345"

completedAt
string<date-time>

Completion timestamp

Example:

"2024-01-15T10:40:00Z"

description
string

Description of the payout, sent to the recipient as the payment narration on the rails that carry one.

Example:

"Invoice 2024-001"

failedAt
string<date-time>

Failure timestamp. Distinct from completedAt, which carries the settlement instant and is preserved when an already-paid payout is returned.

Example:

"2024-01-15T10:40:00Z"

failureCategory
enum<string>

Category of failure for client-facing display

Available options:
payment_not_approved,
recipient_details,
amount_issue,
technical_error
Example:

"payment_not_approved"

failureReason
string

Reason for failure if payout failed

Example:

"Insufficient funds"

feeRefunded
boolean

Whether the refund of this payout returned the fee as well as the amount. Present only on a payout whose funds were returned to your balance: true when the fee was refunded with the amount, false when the refund kept the fee. Absent on a payout that was never refunded.

Example:

false

fxRate
string

FX rate applied, with markup. On a payout priced from a held quote (quoteId set) it is inputCurrency units per one unit of the destination currency; otherwise it is destination units per one unit of inputCurrency (e.g. 970.87 NGN per EUR).

Example:

"970.87378641"

inputAmount
string

Payout plus Zuba's fee, in the input currency. A developer fee is charged on top of it; see totalDebit.

Example:

"1.13"

inputCurrency
enum<string>

Input currency (the currency debited from the client account). This is determined by the inputCurrency provided in the request, or automatically selected as the currency with the largest available balance, or defaults to USD. For example, EUR when paying out NGN. Default enabled currencies: EUR, USD, GBP, USDC, EURC, NGN. Contact your account manager to enable additional currencies.

Available options:
EUR,
USD,
GBP,
CHF,
CAD,
CNY,
USDC,
USDT,
EURC,
NGN,
XOF,
XAF,
GHS,
KES,
UGX,
ZAR,
ARS,
MZN
Example:

"EUR"

payoutAccountData
object

Data of the saved account the payout is paid to, as stored: when a payout's account matches an account already saved on the beneficiary, this is that saved account, so its bankCode is the code it was saved under. A bank account whose bankCode Zuba resolves to one of its banks also carries zubaBankCode, the Zuba code of its bank, which is the same whatever code form either the request or the saved account used; it is absent when Zuba resolves the stored code to no bank.

Example:
payoutAccountId
string<uuid>

Payout account ID

Example:

"123e4567-e89b-12d3-a456-426614174000"

processedAt
string<date-time>

Processing start timestamp

Example:

"2024-01-15T10:32:00Z"

quoteId
object | null

The held quote that priced this payout, and null when it was priced at send from the current rate. Optional because a release that predates the field omits it: treat an absent key as unknown rather than as priced-at-send, since on that release every cross-currency payout was quote-priced.

Example:

"123e4567-e89b-12d3-a456-426614174000"

reference
string

Your own reference for the payout, as supplied at creation. Some rails also send it to the recipient as the payment memo; use clientRef for idempotency / support lookups.

Example:

"January invoice"

txHash
string | null

On-chain transaction hash for crypto payouts, once the transfer is broadcast to the network. Null for non-crypto payouts or before broadcast.

Example:

"0x3a1f9c2b4d5e6f70819a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f70"

uetr
string | null

SWIFT UETR (Unique End-to-end Transaction Reference) for SWIFT payouts, once the provider exposes it. Null otherwise.

Example:

"4afd0a57-03af-4138-9341-373a78891ea9"