Cancel a payout
Cancels a payout while it is still created or queued and returns the balance its creation debited (principal, fee and any conversion legs) to the account it was taken from. A payout.cancelled webhook follows. Retrying a cancel is always safe: a cancelled payout is returned again, and a return that had not completed is driven to completion.
Headers
Optional. Names an owned sub-account (UUID) to cancel as: a payout made for any other account returns 404. Omit to cancel any payout of the master (tenant) and its sub-accounts. The master's own account id acts as no header. Naming an account this key does not own returns 403 not_account_owner.
Path Parameters
Body
Response
Payout cancelled successfully
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"