🔒 Private label — contact sales. Requires a private-label entitlement on your API client.
Create bulk payout
Security
oauth2ClientCredentials(Required scopes: payments:write)
Array of payout records (at least one required)
Example:
[ { "name": "carol mwangi", "phone": 796725019, "email": "", "amount": 10, "description": "test", "team": "DE8832C7", "category_code": "P003", "payment_type": "mpesa", "bank_code": "", "receiver": 796725019, "account_no": "", "idno": "", "mpesa_number": 796725019, "tags": [], "country": "Kenya", "category_name": "General Materials" } ]
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/payments
- Productionhttps://api.boyahq.com/v2/payments
- Sandboxhttps://sandbox.api.boyahq.com/v2/payments
curl -i -X POST \
https://developer.boyahq.com/_mock/v2/openapi/payments \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-H 'org_wallet_ref: string' \
-d '{
"records": [
{
"name": "carol mwangi",
"phone": 796725019,
"email": "",
"amount": 10,
"description": "test",
"team": "DE8832C7",
"category_code": "P003",
"payment_type": "mpesa",
"bank_code": "",
"receiver": 796725019,
"account_no": "",
"idno": "",
"mpesa_number": 796725019,
"tags": [],
"country": "Kenya",
"category_name": "General Materials"
}
],
"description": "test",
"batchno": "K8SpPERUGO9f",
"accountref": 1,
"status": "draft",
"initiator_id": "28AFC4D3DD4A27BC077E204E",
"team_code": "DE8832C7",
"team_name": "Petty cash",
"attachments": [],
"allowDuplicates": true,
"country": "Kenya",
"source": "12007",
"source_name": "Test Wallet"
}'Bulk payout batch created successfully
Response
{ "_id": "string", "batch_no": "string", "type": 0, "records": [ { … } ], "notes": "string", "org_wallet_ref": "string", "currency": "KES", "mandate_required": 0, "attachments": [ "string" ], "approvers": [ { … } ], "initiated_by": "string", "initiated_by_id": "string", "callbackURL": "string", "initiated_on": "string", "events": [ { … } ], "status": "pending", "budget": {}, "collaborators": [ "string" ], "createdAt": "string", "updatedAt": "string", "__v": 0, "id": "string", "fees": 0, "payout_amount": 0, "amount": 0, "initiated_by_name": "string", "summary": { "mpesa": 0, "pochi": 0, "boya": 0, "bank": 0, "rtgs": 0, "till": 0, "airtime": 0, "paybill": 0, "xente": 0, "mtn": 0, "airtel": 0 }, "recordsProcessed": 0, "amountProcessed": 0, "recordsFailed": 0, "source": "string", "source_name": "string" }