Overview
Payouts are the core functionality of the Zuba platform, enabling you to send money to beneficiaries worldwide through various payment rails including SWIFT, US domestic rails (ACH and Fedwire), crypto networks, local bank transfers, and mobile money.Payout Lifecycle
Beneficiaries & Accounts
Beneficiary Management
Before sending payouts, you must create beneficiaries with their payment details:Account Types
Zuba supports multiple account types for maximum flexibility:- Bank Accounts
- Crypto Wallets
- Mobile Money
For Nigeria, Ghana, Kenya, Uganda, Cameroon, the XOF bank countries
(Benin, Burkina Faso, Côte d’Ivoire, Mali, Senegal and Togo) and South
Africa,
bankCode is Zuba’s internal bank identifier. Fetch the
supported banks and their codes for a country from
GET /v1/banks?country=<ISO-3166-1-alpha-2> (e.g. ?country=CM), which
returns [{ "name", "bankCode" }] sorted by name. For Kenya and Uganda
the list is the payable subset rather than every registered bank. For
South Africa and Nigeria it is every bank in Zuba’s registry; paying a
South African bank requires ZAR payouts to be enabled for your account.
For Nigeria, the default when country is omitted, each bank also
carries shortCode, nipCode and, where it has any, alternativeCodes,
and a beneficiary account accepts every one of those forms (see the
Nigerian bank account below).bic is optional on iban accounts.bank_account type with a 6-digit sortCode,
an 8-digit accountNumber and an accountHolderName of at most 140
characters. Dashes and spaces are removed from the sort code and account
number before the account is stored. bankName is optional.iban account type, with a GB IBAN:accountType is optional: checking or savings, defaulting to
checking when omitted.bankCode is Zuba’s internal Nigeria bank identifier (e.g. ng_0001 for
Access Bank), the bankCode that GET /v1/banks returns; crAccount is
the 10-digit account number.044) and the 6-digit NIP long code
(e.g. 000014) stay accepted, so an integration that sends them keeps
working, and an account stores and returns bankCode exactly as it was
sent. A saved account’s Zuba code is its zubaBankCode (below); the
shortCode (the bank’s short code in Zuba’s registry: its CBN code for
most banks, a lettered or longer code for a few), nipCode and, where a
bank has any, alternativeCodes fields that each Nigerian entry of
GET /v1/banks carries show which other codes name the same bank. A code
outside those four forms is accepted when Zuba’s registry still
recognises it (a zero-padded variant such as 013, for instance) and
refused otherwise.data as
stored, plus zubaBankCode: the Zuba code of its bank. That equals
bankCode when the account was saved under the Zuba code; an account
saved under an older form (a Nigerian CBN or NIP code, or the short code
a Ghanaian, Cameroonian or Ivorian account may carry) has it resolved
from that form. A payout whose
account matches one already saved on the beneficiary is paid to that
saved account, so its bankCode is the code the account was saved
under, which may differ from the code in the request. Compare bank
identity on zubaBankCode, which is the same whichever code form either
side used. It is computed on every response and is not stored, and it is
absent when Zuba resolves the stored code to no bank.bankCode is Zuba’s internal Ghana bank identifier (e.g. gh_0001);
crAccount is the 8–20 digit account number.bankCode is Zuba’s internal Kenya bank identifier (e.g. ke_0001 for KCB,
ke_0003 for Absa); crAccount is the 5–20 digit account number. KES is
dual-rail — the same currency also pays out to a mobile money wallet (see
the Mobile Money tab).bankCode is Zuba’s internal South Africa bank identifier (e.g. za_0001
for Standard Bank, za_0002 for FNB / RMB); crAccount is the 5–20 digit
account number. accountType is optional: current, savings or
transmission, defaulting to current when omitted. Send it when you know
it, because the receiving bank validates the account number against its
type. A business beneficiary paid to a South African bank account must
also carry its company registrationNumber. A ZAR amount carries at most
two decimal places; a finer amount is rejected at creation. ZAR payouts are
enabled per account: until a ZAR rate is set up for yours, a ZAR payout is
refused with CORRIDOR_NOT_ENABLED. Contact your account manager to enable
them.bankCode is Zuba’s internal Cameroon bank identifier (e.g. cm_0001 for
Afriland First Bank, cm_0006 for BGFIBANK); crAccount is the 8–24 digit
account number. XAF is dual-rail — the same currency also pays out to a
mobile money wallet (see the Mobile Money tab).senderInfo: firstName and lastName,
phoneNumber in international format, fundOrigin (SALARY, BUSINESS, or
INVESTMENT), gender (M or F), and country (the sender’s own country
as an ISO 3166-1 alpha-2 code), or the payout is rejected at creation. The
same set applies to XAF mobile money — see the Mobile Money tab. To send
as your own account, omit senderInfo entirely — the originator is then the
paying account as its KYB application was approved (your workspace, or the
sub-account named in Zuba-Account-Id). An account approved as an
individual pays as that person, so on XAF it cannot omit the block: it
supplies the individual set above. Supply senderInfo otherwise only to
pay out on behalf of
a distinct third party; a business third-party sender must include
companyName, registrationNumber, and country (its jurisdiction of
incorporation).XAF Bank Payout (Cameroon)
BJ), Burkina Faso
(BF), Côte d’Ivoire (CI), Mali (ML), Senegal (SN) and Togo (TG).
bankCode is Zuba’s internal identifier for a bank in the beneficiary’s
country, listed by GET /v1/banks?country=<code> (e.g. ci_0013 for
Société Générale Côte d’Ivoire, sn_0013 for CBAO in Senegal);
crAccount is the 8–24 digit account number. The beneficiary’s country
decides which country’s banks apply: a payout whose account names a bank
from another country, or whose beneficiary is in Niger, Guinea-Bissau or
outside the region, is refused with BENEFICIARY_COUNTRY_NOT_SUPPORTED.
XOF is dual-rail — the same currency also pays out to a mobile money
wallet (see the Mobile Money tab).iban, in place of bankCode and crAccount or
beside them, and the beneficiary’s PI payment address in piAlias; see
PI instant payments.XOF bank payouts use the sender’s name. Supply firstName
and lastName in senderInfo for an individual sender (or companyName
for a business sender). If senderInfo is omitted, the paying account’s
approved name is used as the originator instead. Unlike
Cameroon, an XOF bank payout does not need phoneNumber, fundOrigin, or
gender.Ugandan Bank AccountbankCode is Zuba’s internal Uganda bank identifier (e.g. ug_0020 for
Stanbic, ug_0002 for Absa); crAccount is the 5–20 digit account number.
UGX is dual-rail — the same currency also pays out to a mobile money
wallet (see the Mobile Money tab). The Ugandan shilling has no minor
unit, so amount must be a whole number on both rails.ARS payouts are in beta — a gated corridor. Contact your account
manager to have it enabled for your workspace; until it is, a payout to
ARS is rejected at creation.
cbu (a CBU or CVU),
its identifierType, the accountHolderName, and the holder’s taxId —
the 11-digit CUIT/CUIL. cbu, accountHolderName and taxId are required.
identifierType is optional and defaults to CBU, but set it explicitly: a
CBU and a CVU are both 22 digits and cannot be told apart by shape. The
account holder name is matched at COELSA against the cbu and taxId.senderInfo: firstName, lastName, and dateOfBirth (YYYY-MM-DD).
This is required whether you are paying as your own workspace or on behalf
of a third party.ARS Bank Payout (Argentina)
ZMW (Zambian kwacha), MWK (Malawian kwacha) and EGP (Egyptian
pound) are available in the sandbox only. Payouts to them settle with
simulated outcomes. See
Sandbox testing.
In production these currencies are not yet available and a payout to one
is rejected at creation. EGP pays out over bank transfer and mobile money;
ZMW and MWK over bank transfer only.MZN (Mozambican metical) is simulated in the sandbox too, over mobile
money rather than a bank account. See
Mozambique (MZN) mobile money.
In production an MZN payout is rejected at creation unless your workspace
has been enabled for it.
Zambian Bank Account (sandbox only)
MWK: any bankCode is accepted in the
sandbox.An EGP bank account takes a bankCode from
GET /v1/banks?country=EG and a crAccount of 5 to 20 digits. For
Agricultural Bank of Egypt (eg_0003) the crAccount is the account’s
29-character Egyptian IBAN instead. Spaces and dashes are removed. It
also takes the recipient’s phoneNumber, required: a valid Egyptian
mobile number (010, 011, 012 or 015) in international format with +20.Egyptian Bank Account (sandbox only)
EGP mobile money account pays an Egyptian mobile wallet. phoneNumber
is an Egyptian mobile number with +20 (it starts +2010, +2011,
+2012 or +2015), and mobileProvider is one of vodafone, etisalat,
orange or we. Use route: "mobile_money". An amount is 1 to 5,000 EGP.Egyptian Mobile Wallet (sandbox only)
INR (Indian rupee) pays out to an Indian bank account over
route: "bank_transfer" and to a UPI address over route: "upi". It is
available in the sandbox only, where payouts settle with simulated
outcomes; see
Sandbox testing. In production INR
is not yet available and a payout to it is rejected at creation.INR bank account takes the branch’s 11-character ifsc, which names
the bank, and an accountNumber of 9 to 18 digits. The IFSC is stored in
capitals, and spaces and dashes are removed from the account number. It
also takes the recipient’s phoneNumber, required: a valid Indian mobile
number in international format with +91. The first four letters of the
IFSC must name one of these banks: Bank of India (BKID), Central Bank of
India (CBIN), Export-Import Bank of India (EIBI), Indian Bank (IDIB),
Indian Overseas Bank (IOBA) or State Bank of India (SBIN).Indian Bank Account (sandbox only)
INR UPI account is a mobile account with mobileProvider upi,
the recipient’s UPI address as vpa (such as name@bank) and their Indian
mobile number as phoneNumber. Use route: "upi". When the payout is
sent to the bank, the UPI address is checked first, and a payout to an
address that does not exist fails without being sent. An amount is at most
1,00,000 INR.Indian UPI Address (sandbox only)
Creating Payouts
Single Payout
After creating a beneficiary, use their ID to create payouts (recommended approach). Currency Fields:inputCurrency is the currency from your account you’ll be paying from, while currency is what the beneficiary will receive (automatic conversion if different):
senderInfo is optional. When omitted, the originator is the paying account
as its KYB application was approved: your workspace, or the sub-account named
in Zuba-Account-Id (see Sending from a sub-account). An account approved
as a business is named by its legal name, and one approved as an individual
by that person. Some corridors require senderInfo: GHS mobile money needs
the
sender’s first and last name, and XAF mobile money needs the sender’s name
and phone number. In production a crypto payout’s individual sender must
also carry dateOfBirth; see Travel Rule.When a quote is required
A quote (POST /v1/quotes, passed as quoteId) is required only for payouts funded from an NGN balance into USD, EUR or GBP. On every other pair a quoteId is optional: pass one to lock the rate for the payout, or omit it and the payout is priced at the current rate.
A payout quote fixes one side of the pair. Send toAmount to fix what the beneficiary receives, or fromAmount to fix what you are debited before the payout fee; the quote returns the other side. Quotes from an NGN balance into USD, EUR, GBP, USDC or USDT take toAmount only. Create the payout with amount equal to the quote’s targetAmount, which a fromAmount quote on a cross-currency pair rounds down to the smallest unit every payout method in that currency accepts: whole units for currencies with no minor unit, such as XOF, XAF and UGX, and whole shillings for KES. On a same-currency pair targetAmount equals fromAmount. The payout fee is not part of the quote: it is added to the debit when the payout is created, whichever side you fixed.
A cross-currency payout on a pair listed by GET /v1/fx/cross-rate-quotes/corridors goes out only where your pricing policy covers it; a listed pair nothing prices is rejected with CORRIDOR_NOT_ENABLED, with or without a quote. On such a pair the amount must also sit inside that corridor’s per-transaction band, or the payout is rejected with AMOUNT_OUT_OF_BOUNDS. Same-currency payouts carry no band on the payout path. Sends into NGN require your policy to price the pair, with or without a quote, whichever currency funds them. A cross-currency pair the listing has never carried is priced at the current rate whether or not your policy prices it, except a CHF payout. A CHF payout is paid only from an XOF balance to a Swiss IBAN: from any other balance it is rejected with CORRIDOR_NOT_ENABLED, to an IBAN from another country with IBAN_COUNTRY_NOT_SUPPORTED (a beneficiary referenced by id that holds no active Swiss IBAN with NO_ACTIVE_ACCOUNT), and on the swift or crypto route with RAIL_UNAVAILABLE. A CHF payout is a bank_transfer payout; CHF is enabled per client on request. A pair the listing carries for other clients but not for you is one your policy does not cover, and is refused. A pair whose stored rate is zero or negative is rejected with INSUFFICIENT_LIQUIDITY; a pair with no stored rate at all, or whose rate has expired, is rejected with a 400 carrying the message FX rate not available for <source> to <destination> conversion and no error code.
When your source balance is held in an account of your own that cannot fund the payout, the payout is refused before anything is debited. With a quoteId it is rejected with 422 and one of these codes: FUNDING_ACCOUNT_NOT_ACTIVE (the account is frozen), FUNDING_ACCOUNT_AMBIGUOUS (your balance in the source currency is held in more than one place; contact support to resolve it), or FUNDING_ACCOUNT_UNAVAILABLE (the account cannot be reached; try again later). The quote stays unused, so you can send the payout again with it while it is valid. Without a quoteId, the same causes return 201 with the payout failed and its failureReason naming the cause.
A CAD payout is paid only from a EUR or USD balance, to a Canadian bank account: a bank_account in CAD whose data carries accountNumber (5–12 digits), institutionNumber (3 digits), transitNumber (5 digits) and accountHolderName, with an optional bankName, and the bank’s bic (8 or 11 characters, with CA as characters 5 and 6). The bic may be left out for Bank of Montreal (001), Scotiabank (002), Royal Bank of Canada (003), TD Canada Trust (004), National Bank of Canada (006), CIBC (010), Laurentian Bank (039), ATB Financial (219) and Desjardins (815), whose BIC is filled in. Spaces and dashes in the numbers are accepted and removed. The recipient needs a full address (address, city and postcode); a province in countrySubdivision is sent when given. From any other balance a CAD payout is rejected with CORRIDOR_NOT_ENABLED; a missing number with MISSING_BANK_ACCOUNT_DETAILS, and a malformed one with INVALID_ACCOUNT_NUMBER or INVALID_ROUTING_NUMBER on its own field; a missing bic with MISSING_BIC, and a malformed one with INVALID_BIC. Each payout is between 1 and 250,000 CAD. A CAD payout is a bank_transfer payout; CAD is enabled per client on request.
A CNY payout is paid only from a EUR, USD or USDC balance (on the alipay route, from a USD, USDC or USDT balance), to an Alipay wallet in China: a mobile account in CNY whose data carries mobileProvider alipay, the wallet’s Chinese mobile number in phoneNumber (international format, with the +86) and country CN. The recipient is an individual whose name is a first and a last name in Latin letters (pinyin for a Chinese name), up to 35 characters each; no address is needed. On routes other than alipay, the sender must be a business, named in senderInfo with its registrationNumber. A purpose is required and 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). A beneficiary referenced by id must hold exactly one active CNY wallet. From any other balance a CNY payout is rejected with CORRIDOR_NOT_ENABLED; a business recipient with UNSUPPORTED_BENEFICIARY_TYPE, a name not in Latin letters with INVALID_BENEFICIARY_NAME, an individual sender (on routes other than alipay) or one without a registrationNumber with SENDER_INFO_INCOMPLETE, a missing purpose with MISSING_PURPOSE and one outside the list with UNSUPPORTED_PURPOSE, and a beneficiary referenced by id that holds more than one active CNY wallet with MULTIPLE_ACTIVE_ACCOUNTS. Each payout is between 10 and 50,000 CNY. A CNY amount carries at most two decimal places; a finer amount is rejected at creation. A CNY payout to an Alipay wallet is a mobile_money payout; CNY is enabled per client on request.
The alipay route pays the same wallet under its own rules. It is paid from a USD, USDC or USDT balance; a payout funded from a USDC or USDT balance is priced at the USD/CNY rate, with one USDC or USDT counted as one US dollar. Each of those balances is enabled per client on request: from one that is not enabled for you, or from any other balance, EUR included, the payout is rejected with CORRIDOR_NOT_ENABLED. The recipient’s name is a first and a last name in Latin letters only, up to 64 characters each. The wallet’s phoneNumber must be a mainland China mobile number, or the payout is rejected with INVALID_PHONE_NUMBER. The sender may be a business or an individual. Beyond its registrationNumber, the business sender carries its legal name in companyName, an address (at least one of address, city or postalCode), its country of incorporation as a two-letter code and its industry, one of agriculture, construction, manufacturing, wholesale_trade, retail_trade, transportation, information_technology, professional_services, education, healthcare, accommodation_food, arts_entertainment, real_estate, bank, crypto, e_commerce, energy, entertainment, financial_services, gambling, health, operating_company, technology, trade or other. A missing one, or a country that is not two letters, is rejected with SENDER_INFO_INCOMPLETE. An industry outside that list fails request validation with a 400. The companyName is sent in Latin letters and spaces only: characters with a standard Latin equivalent are converted (é to e, Ø to O, € to E), every other character is replaced by a space and runs of spaces are collapsed, so Société Générale S.A. is sent as Societe Generale S A. A companyName with letters of another script (give the business’s registered name in Latin letters), with no Latin letter left, or with more than 256 letters and spaces is rejected with SENDER_INFO_INVALID. The purpose must be Salary, Tax or one of the named services: GoodsAndServices and Business are rejected with UNSUPPORTED_PURPOSE. An individual sender, senderInfo with type individual, carries firstName and lastName in Latin letters (hyphens, apostrophes and full stops are accepted and sent as spaces), up to 64 characters each, dateOfBirth (YYYY-MM-DD), an address (at least one of address, city or postalCode, with at least one Latin letter or digit), and its country of residence as a two-letter code that is Canada, the United States, the United Kingdom, a country of the European Economic Area, Switzerland, Monaco, San Marino or Mayotte; its nationality as a two-letter code; an identity document, idType one of passport, national_id or driving_license with its idNumber (1 to 64 letters, digits, spaces, dots, slashes or hyphens); and customerId, your own identifier for that sender (1 to 48 letters, digits, dots, underscores or hyphens). An omitted country, dateOfBirth, idType, idNumber, nationality or customerId, a firstName or lastName of two or more spaces only, a country of two characters that are not letters, or no address (address, city and postalCode all omitted, empty or only spaces) is rejected with SENDER_INFO_INCOMPLETE. An omitted firstName or lastName, or one shorter than 2 characters, a country that is not 2 characters long, and an empty or whitespace-only dateOfBirth, idType, idNumber, nationality or customerId fail request validation with a 400. A malformed field (an idType outside those three, an idNumber that is not 1 to 64 letters, digits, spaces, dots, slashes or hyphens, a nationality that is not a country code, a customerId outside its pattern) fails request validation with a 400. A name with characters other than Latin letters, spaces, hyphens, apostrophes and full stops, or longer than 64 characters, an address with no Latin letter or digit, a country outside that list, or a dateOfBirth that is not a calendar date or lies in the future is rejected with SENDER_INFO_INVALID. An individual sender’s purpose must be FamilySupport, Salary, Tax or one of the named services other than ProductPromotion and EcommercePromotion; any other is rejected with UNSUPPORTED_PURPOSE. A payout the route cannot fund at that moment is rejected with RAIL_UNAVAILABLE and nothing is recorded, so it can be resent with the same clientRef later.
Batch Payouts
Process multiple payouts in a single API call. Every payout in the batch is validated independently and requires its ownroute:
Sending from a sub-account
If your workspace has sub-accounts, pass the sub-account’s ID in the optionalZuba-Account-Id header on POST /v1/payouts to send the payout from that
sub-account’s balance: the amount and fee are debited from the sub-account,
and the payout records which sub-account it belongs to. Omit the header to send
from your master (workspace) balance, exactly as the examples above.
A sub-account payout that omits senderInfo names the sub-account as the
originator, as its own KYB application was approved: a business by its legal
name and registration number, an individual by their name. The name is what the
payment provider receives; the registration number and date of birth go to
screening and the Travel Rule. It is never your master workspace’s identity.
A payout that omits senderInfo is rejected at creation with
ORIGINATOR_NOT_ON_RECORD when the paying account, master or sub-account, has
no originator of record:
- it holds no approved KYB application;
- an account approved as a business holds no legal name on its application;
- a sub-account approved as a business holds no registration number on its application;
- an account approved as an individual holds no first or last name on its application;
- on a crypto payout, an account approved as an individual holds no date of birth on its application.
senderInfo to name a third party, exactly as from the master.
With Zuba-Account-Id set, these calls reach only that sub-account’s own
records:
POST /v1/payoutscan name a saved beneficiary byidonly when the beneficiary was saved under the same sub-account, and can spend aquoteIdonly when the quote was created with the same header onPOST /v1/quotes.GET /v1/payoutsandGET /v2/payoutslist only that sub-account’s payouts.GET /v1/beneficiaries,GET /v2/beneficiaries,GET /v1/beneficiaries/{id},PUT /v1/beneficiaries/{id},DELETE /v1/beneficiaries/{id},POST /v1/beneficiaries/{id}/accounts, andPATCHandDELETEon/v1/beneficiaries/{id}/accounts/{accountId}reach only beneficiaries saved under that sub-account.POST /v1/beneficiariessaves the beneficiary under it.GET /v1/payouts/{id},POST /v1/payouts/{id}/cancel,GET /v1/payouts/{id}/receiptand bothPOSTandGETon/v1/payouts/{id}/tracking-linkact only on that sub-account’s payouts.- In the sandbox,
POST /v1/sandbox/payouts/{id}/releaseandPOST /v1/sandbox/payouts/{id}/declineact only on that sub-account’s payouts. GET /v1/quotes/{id}returns a quote of any intent only when it was created with the same header.POST /v1/conversionsandPOST /v1/orderscan spend a quote only when it was created with the same header, andPOST /v1/orderscan name a saved beneficiary only when it was saved under the same sub-account. A conversion made with the header debits and credits that sub-account’s own balance, never your master workspace’s.GET /v1/conversionsandGET /v1/conversions/{id}return only conversions made with the same header.GET /v1/orders,GET /v1/orders/{id},POST /v1/orders/{id}/cancel,POST /v1/orders/{id}/settlement/proof-upload-urlandPOST /v1/orders/{id}/settlement/proofact only on orders created with the same header.
403 not_account_owner. On every call that moves
money or issues an account to pay into (POST /v1/payouts,
POST /v1/conversions, POST /v1/orders, POST /v1/deposits,
POST /v1/wallets and POST /v1/virtual-accounts) the sub-account must also
be active, and one that is not yet active is rejected with
422 ACCOUNT_NOT_ACTIVE. Reads are never refused for this.
A financial-institution workspace can charge its own fee on payouts its
sub-accounts send. See Developer fees.
Sub-accounts are a gated feature — contact your account manager to enable them.
Payment Routes
Select the rail with theroute field on each payout request:
EUR payouts are
bank_transfer payouts to an iban account, paid
over SEPA; the account may carry the bank’s bic. GBP payouts are
bank_transfer payouts to a bank_account with a sort code and account
number, or to an iban account with a GB IBAN, paid over UK Faster
Payments. For both, the beneficiary needs a first and last name and an
address (country, address, city, postcode); GET /v1/payouts/requirements?currency=EUR&route=bank_transfer lists the
rules. A EUR request naming sepa_credit or sepa_inst is accepted and
created as a bank_transfer payout; those route values are otherwise
retired.Crypto rail
Setroute: "crypto" to send a stablecoin (USDC or USDT) on-chain to a crypto
wallet beneficiary. The currency is the stablecoin and, by default, is debited
from your same-currency balance (no FX). The destination network and address come from the
beneficiary’s wallet account (see Crypto Wallets above), so the request only
references the beneficiary by id:
Crypto Payout
paid only once the
transaction has broadcast; if it is declined or signing fails, the held funds are
returned to your balance automatically. Crypto payouts are availability-gated per
environment. Contact your account manager to enable them.
Funding a stablecoin payout from NGN or ZAR
AUSDC or USDT crypto payout can also be paid from your NGN or ZAR balance
in one request. Set inputCurrency to "NGN" or "ZAR": the payout is priced
at the current rate when it is created, that balance is debited the rate times
amount plus the payout fee (in the same currency), and the beneficiary
receives exactly amount of the stablecoin. To fix the rate before you send,
create a quote first (POST /v1/quotes with intent: "payout", fromCurrency
of NGN or ZAR, a toCurrency of USDC or USDT and rail: "crypto") and
pass its id as quoteId; the quote is optional. An NGN quote takes toAmount
only; a ZAR quote takes toAmount or fromAmount. Your pricing policy must
cover the pair, or the payout is rejected with CORRIDOR_NOT_ENABLED. amount
may carry at most 4 decimal places on these payouts, or the payout is rejected
with INVALID_AMOUNT. If the payout is declined or signing fails, the full
debit is returned to the balance it came from.
Once the transfer is broadcast, GET /v1/payouts/{id} returns the on-chain
transaction hash in the txHash field (null for non-crypto payouts or before
broadcast). Use it to look the transfer up on a block explorer for the payout’s
network.
Travel Rule
In production every crypto payout is screened under the Travel Rule, whatever the amount, so both parties must be identifiable. OmitsenderInfo and the
originator is the paying account as its KYB application was approved (your
workspace, or the sub-account named in Zuba-Account-Id). An account approved
as a business needs no date of birth. One approved as an individual must hold a
date of birth on its application, or the payout is rejected at creation with
ORIGINATOR_NOT_ON_RECORD, as is any account with no originator of record (see
Sending from a sub-account). Otherwise:
The beneficiary refusal is a
400 whose message names dateOfBirth and
carries no code. Add the date of birth with PUT /v1/beneficiaries/{id} and
resubmit. The sandbox does not ask for a date of birth on an individual
beneficiary or an individual sender, so a crypto payout that succeeds there
without one is refused in production. The rule above for an account approved
as an individual applies in the sandbox too.
Mobile money (XOF, XAF, GHS, KES, and UGX)
Setroute: "mobile_money" to pay out XOF to a beneficiary’s mobile money
wallet across West Africa, XAF to a wallet in Cameroon, GHS to a wallet
in Ghana, KES to a wallet in Kenya, or UGX to a wallet in Uganda. The
destination provider and phone
number come from the beneficiary’s mobile account (see Mobile Money under
Account Types above):
Mobile Money Payout
XOF/XAF/GHS/KES/UGX, or an
out-of-range amount is rejected at creation.
UGX amounts must be whole numbers. The Ugandan shilling has no minor unit, so
a fractional amount is rejected at creation on both the mobile and bank rails.
Ghana (GHS), Kenya (KES), Uganda (UGX), Cameroon (XAF), and West Africa (XOF)
are dual-rail. The same currency also pays out over a bank account
(route: "bank_transfer"); the rail is chosen by the beneficiary’s account type
(mobile vs bank_account). XOF mobile money and the XOF bank rail both cover
Benin, Burkina Faso, Côte d’Ivoire, Mali, Senegal and Togo by bank code and account
number, and the bank rail also reaches banks across the UEMOA by IBAN over
PI. XAF payouts carry extra sender
KYC on both rails (fundOrigin, gender, and country) — see the Bank
Account tab. GHS mobile requires the sender’s first and last name via senderInfo
(no phone, unlike Cameroon), or the payout is rejected:
GHS Mobile Money Payout (Ghana)
senderInfo. Supply the
beneficiary and amount only:
KES Mobile Money Payout (Kenya)
amount:
UGX Mobile Money Payout (Uganda)
firstName, lastName, phoneNumber, fundOrigin, gender, and
country in senderInfo — the same set the bank rail requires — or the payout
is rejected at creation:
XAF Mobile Money Payout (Cameroon)
RAIL_UNAVAILABLE. Enablement can be granted per rail, so ask your account
manager for the rails you need.
PI instant payments (XOF)
PI is the BCEAO’s interoperable instant payment system. It connects banks and mobile money operators across the eight UEMOA countries, and a payment over PI is credited in seconds and cannot be recalled once credited. PI is in early access and enabled per workspace, so ask your account manager to turn it on. Until it is on, payouts go over the account’s regular rail. Once it is on, an XOF payout goes over PI from the details the account already carries:- A mobile money wallet is paid by its
phoneNumberat itsmobileProvider. Nothing else is needed. - A bank account is paid by its
iban, for a bank in any of the eight UEMOA countries, or by itsbankCodeandcrAccountfor a bank in Côte d’Ivoire.
bank_account can carry a UEMOA IBAN in place of bankCode and
crAccount:
XOF bank account by IBAN
bankCode and
crAccount, and every mobile wallet, falls back to its regular rail instead,
with the same route, amount limits and sender requirements.
An account that carries the IBAN alone is paid whatever the beneficiary’s
country, Niger and Guinea-Bissau included. With bankCode and crAccount on
the account, the beneficiary’s country must be one the regular rail serves
and the bank must be in that country, or the payout is rejected with
BENEFICIARY_COUNTRY_NOT_SUPPORTED.
piAlias is optional. It is the beneficiary’s PI payment address, a UUID they
share from their bank or mobile money app, and when an account carries one the
payout is addressed to it ahead of the phone number or IBAN. It must be a UUID
v4 and is accepted only on XOF mobile and bank_account accounts. Like the
account’s other identifiers it cannot be edited: to add or change it, delete
the account and add it again. Saving a bank account again under a different
piAlias, or with one when it was saved without, is refused with a 409
conflict.
PI reaches these wallets:
A wallet outside this table, such as
wave in Mali or Burkina Faso, is always
paid over the regular mobile money rail. So is a wallet whose operator PI does
not currently list as active.
USD rails
For USD payouts, three rails are surfaced byGET /v1/payouts/available-rails?accountId=<uuid>:
fedwire: domestic wire to a US bank. Requires routing + account number on the beneficiary.ach: batched same-day-to-3-day transfer to a US bank. Same required fields as fedwire.swift: international wire via SWIFT. Requires BIC + IBAN/account number + the beneficiary’s bank country. Destination coverage spans most major markets and expands as corridors are enabled, so it is not a fixed list:GET /v1/payouts/available-rails?accountId=<uuid>reports, per saved account, whether SWIFT currently serves that account’s destination country (availableplus anunavailableReasonwhen it does not).
route on every payout request; the beneficiary account just has to match it: a swift account for route "swift", a US bank_account for "ach" / "fedwire". In the dashboard, the rail chosen when the account was saved is remembered so senders aren’t re-prompted. Beneficiary accounts intended for SWIFT must be created with type: "swift" and supply swiftCode, accountNumber, beneficiaryCountry, and (optionally) bankName / beneficiaryAddress in data.
SWIFT payouts also require a purpose-of-payment document: request an upload URL from POST /v1/payouts/pop-documents/upload-url, upload the document, and pass the returned key as purposeOfPaymentDocumentKey on the payout. A SWIFT payout without it is rejected at creation.
A SWIFT payout funded from an NGN balance is a cross-rate send: it passes through a quote (POST /v1/quotes), is debited in the source currency, and Zuba funds the USD outflow to the destination bank. A same-currency USD→USD SWIFT payout needs no quote and is sent 1:1 from your USD balance.
Route Selection Logic
The rail is determined by the beneficiary’s account type and currency:Tracking & Status
Payout Statuses
Once a payout’s funds have been returned to your balance, the payout carries
feeRefunded: true when the fee came back with the amount, false when the refund kept the fee. A payout whose funds were never returned has no feeRefunded.
Cancelling a payout
POST /v1/payouts/{id}/cancel cancels a payout that is still created or queued. The balance debited at creation (principal, fee and any conversion legs) is returned to the account it was taken from, and a payout.cancelled webhook is delivered. Retrying a cancel is always safe: an already-cancelled payout is returned again, and a balance return that had not completed is driven to completion. If the balance return does not complete, the call responds 500 INTERNAL_ERROR while the payout is already cancelled; the payout is flagged for our operators and a later cancel call completes the return. A payout in any status other than created, queued or cancelled is refused with 409 PAYOUT_NOT_CANCELLABLE; check its status with GET /v1/payouts/{id} instead.
From the dashboard, a receipt can be downloaded for a payout in any status except cancelled. For a payout that is still in progress, the receipt reflects its current status.
Amounts above corridor limits
Every corridor has a per-transaction band, and a payout or payout quote outside it is rejected by the standard bounds checks. Amounts above corridor limits are served by the orders channel (POST /v1/orders) for order-enabled accounts: a quote-first flow where funds are held from your balance and the trade is executed by Zuba’s desk within a stated execution window. See the Trade Desk Orders guide or contact us to enable orders on your account.
Real-time Tracking
Best Practices
Beneficiary Validation
Beneficiary Validation
- Always validate beneficiary details before creating
- Use
GET /v1/payouts/requirements?currency=USD&route=swiftto check what the corridor requires before submitting. It reports the beneficiary fields and thesenderInfokeys, each for an individual and for a business, and whethersenderInfocan be omitted at all. Passcountrywithroute=mobile_moneyto narrow the sender requirements to one destination country of a currency, such as the sender phone a mobile-money payout into Cameroon carries, or withroute=swiftfor the recipientrulesof the provider that pays out to the recipient’s country - Validate each field against the
rulesthe requirements response reports for the recipient type. A corridor that addresses an individual recipient by first and last name separately reports anamerule and refuses a single-token name at submit, with a 400 namingname. A business recipient is its legal name and needs no split - Keep
descriptionwithin thepayout.descriptionMaxLengththe same response reports: the strictest narration limit among the rails serving the currency (18 characters for GBP and GHS), counted after accented and special characters are converted for the payment rail (a crypto payout counts the text as entered). A longer value is refused at submit with a 400 whose detail carries the codeNARRATION_TOO_LONG. 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 - Store beneficiary IDs for repeat payments
- Keep beneficiary information up to date
Sender Attribution
Sender Attribution
- Omit
senderInfoto attribute the paying account as its KYB application was approved (your workspace, or the sub-account named inZuba-Account-Id) wheresender.senderInfoRequiredisfalsefor the corridor; supply it to pay out on behalf of a third party, and on a corridor that reportstrue, such as mobile money into Cameroon, which needs a sender phone no account record carries - An account approved as an individual pays as that person, so on a corridor with rules for individual senders (XAF) it supplies the
sender.individualfields even wheresenderInfoRequiredisfalse
Error Handling
Error Handling
- Implement proper error handling for all API calls
- Use exponential backoff for retries
- Monitor webhook notifications for status updates
- Log all transactions for audit purposes
Security
Security
- Never expose API keys in client-side code
- Validate webhook signatures
- Use HTTPS for all API communications
- Implement proper access controls
Next Steps
First Payout Guide
Step-by-step guide to send your first payout
Batch Processing
Learn how to process multiple payouts efficiently
Webhooks
Set up real-time notifications for payout status
API Reference
Complete API documentation for payouts