Create one or multiple payouts
Create a single payout or batch of payouts. Send a single payout object or an array of payout objects. The source currency can be specified via inputCurrency field, or will be automatically selected from the currency with the largest available balance. When the beneficiary is supplied inline (no beneficiary.id), the beneficiary is resolved idempotently: if a submitted account matches an active account already saved in the same scope (the sub-account named by Zuba-Account-Id, or the master account when none is named) on every identity it carries (its IBAN, and its bank code with account number), that account’s beneficiary is reused and no duplicate row is created.
Headers
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.
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
Single payout object or array of payout objects
- object
- object[]
Currency code (ISO 4217). Default enabled currencies: EUR, USD, GBP, USDC, NGN. Contact your account manager to enable additional currencies.
EUR, USD, GBP, CHF, CAD, CNY, USDC, USDT, EURC, NGN, XOF, XAF, GHS, KES, UGX, ZAR, ARS, MZN, ZMW, MWK, EGP, INR "EUR"
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.
500"Monthly salary payment"
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.
500"Invoice 2024-001"
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.
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.
EUR, USD, GBP, CHF, CAD, CNY, USDC, USDT, EURC, NGN, XOF, XAF, GHS, KES, UGX, ZAR, ARS, MZN "EUR"
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.
100"salary"
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
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.
"1015.50"
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.
100"PAYOUT-REF-12345"
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.
false
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.
EUR, USD, GBP, CHF, CAD, CNY, USDC, USDT, EURC, NGN, XOF, XAF, GHS, KES, UGX, ZAR, ARS, MZN "EUR"
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.
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.
"123e4567-e89b-12d3-a456-426614174000"