Bulk Payouts
Send bulk bank, mobile-money or crypto payouts with the IVB API, including batch limits, validation and payout-wallet behavior.
Use bulk payouts to send from your Ivorypay balance to up to 100 bank accounts, mobile-money accounts or crypto wallets. Each batch can contain different supported currencies, request tokens and networks. The same account, currency, method and network restrictions as individual payouts apply.
The same endpoints work with payout wallets enabled or disabled. Enabled mode reserves each fiat item from its fiat-currency payout wallet and each crypto item from its token payout wallet, without fallback to collections.
A batch is validated and quoted first. Submission reserves every recipient's funding together, then processes each payout independently. Creating a batch does not move or reserve money.
Create and review a batch
Authenticate with your secret API key for the intended TEST or LIVE environment. LIVE requests require your configured server IP allow-list.
POST https://api.ivorypay.io/api/v1/bulk-transfers
Authorization: YOUR_SECRET_KEY
Content-Type: application/json{
"name": "October payroll",
"reference": "payroll-2026-10",
"items": [
{
"type": "FIAT",
"fiat": {
"amount": 20,
"token": "USDT",
"fiatCurrency": "ZAR",
"payoutMethod": "BANK_TRANSFER",
"bankCode": "632005",
"accountNumber": "RECIPIENT_ACCOUNT_NUMBER",
"accountName": "RECIPIENT_ACCOUNT_NAME",
"reference": "payroll-2026-10-employee-1"
}
},
{
"type": "CRYPTO",
"crypto": {
"amount": 15,
"token": "USDC",
"network": "BSC_TESTNET",
"address": "RECIPIENT_TEST_WALLET_ADDRESS",
"reference": "85889737-c396-461f-a6bb-ef6ce5ad5396"
}
}
]
}Replace recipient details with valid test destinations. Select networks enabled in your account and environment. BSC_TESTNET is only an example for TEST.
amount is denominated in the request token, including for FIAT payouts. It is not the recipient's local-currency amount. Review debit, fee, receiveAmount and receiveCurrency before submission. debit is the entire wallet charge; the fee is already included. The quote uses the same pricing rules as fiat payouts and crypto payouts.
For mobile money, use payoutMethod: "MOBILE_MONEY", the destination fiatCurrency and accountNumber in the format required by the individual payout API. For bank transfers, bankCode is required. ZAR bank transfers also require accountName; this name is supplied by the payer and does not imply bank ownership verification.
Batch references are unique within a business and environment. Each recipient needs a unique payout reference; crypto payout references must be lowercase UUIDs. Repeating creation with the same batch reference and identical details returns the saved batch. Reusing that reference for different details is rejected.
Creation returns a normal Ivorypay success envelope whose data includes the saved id, reference, version, status, items and totals. Poll the saved batch while its status is PREPARING:
PREPARING
Recipients, fees and funds are being checked.
READY
Review the quote and submit its current version before expiresAt.
INVALID
Read the batch error and each item's error. No payouts were admitted.
EXPIRED
Request a fresh quote and review the new amounts.
PROCESSING
The batch was admitted. Some results remain pending or unconfirmed.
SUCCESS
All payouts succeeded.
PARTIAL
Processing finished with both successful and unsuccessful payouts.
FAILED
All payouts finished unsuccessfully.
totals groups full wallet debits and included fees by funding currency. The existing field name token can therefore contain a fiat currency such as ZAR when payout wallets are enabled. Use the returned currency with debit; do not assume it always matches the request token. Item position is zero-based and preserves the submitted order. An admitted item also includes its transactionId, status, failureCode, failureReason and reservationState.
Submit at most 100 items per batch and prepare at most one batch every five seconds per business/environment. Up to five batches can await validation. Poll every five seconds; normal account rate limits also apply.
Submit the reviewed batch
Use the exact version returned by the current review. Secret-key API requests use the existing API payout authorization rules. Dashboard users approve the complete batch with an emailed code bound to its saved recipients, amounts, fees and environment.
Submission atomically reserves all debits. If the available balance, recipient eligibility or quote is no longer valid, no recipient payout is admitted. After admission, payouts run independently, so a batch can partially succeed. A successful submit response confirms admission, not delivery to every recipient.
If the response is lost or times out, fetch the same batch ID. Repeating submission of an already-admitted batch returns its saved result; it does not create new payouts. Do not create a replacement batch to recover an uncertain result.
For an unapproved batch, request a fresh quote with:
Refresh increases the version and returns the batch to PREPARING. Review the new totals before submitting. Recipients are immutable within a saved batch. To correct a recipient, create a new batch with the corrected details. Approved batches cannot be edited or refreshed.
Results and webhooks
Lists are scoped to the authenticated business and environment. Each recipient also appears in the normal payout history. The existing signed payout webhooks are emitted per recipient, using its payout reference. Their data.metadata.bulkPayout identifies the batch:
There is no automatic resubmission of dispatched, successful or uncertain payouts. Check the native payment result and reservation before replacing an unsuccessful payment. DISPATCHED means its funding remains held while the outcome is reconciled; it must not be treated as permission to retry. A proven failure with a released reservation can be submitted as a new payout with a new reference.
If processing stops before dispatch, the item can include processingIssue.code: "BULK_PAYOUT_REVIEW_REQUIRED". Its financial result remains pending and its funds stay reserved. Contact support with the existing payout reference; do not create a replacement.
TEST batches use the same batch validation, approval, reservation and reporting flow as LIVE, with the existing test behavior of each payout method. TEST success is not proof that a live bank or blockchain transfer was delivered.
Dashboard and CSV
Open Payouts > Bulk payouts > New bulk payout. Add recipients individually or download and fill in the CSV template. Keep account and mobile numbers as text so spreadsheet software preserves leading zeros. Uploading a CSV replaces the unsaved recipient list. Review the quoted net amounts and total wallet debit, then approve the batch once.
Last updated