This endpoint allows merchants to upload batch disbursement transactions using Microsoft Excel (.xlsx) or CSV files. The file is processed asynchronously and queued for batch processing.
The scheduled batch disbursements will only be scheduled in OneKhusa platform when Transfer Funds (2-eye principle) or Approve Batch (4 and 6 eye principles) action is performed so that the funds transfer to multiple beneficiaries should run on that specific date and time
| File format | Live Transaction Limit | Sandbox Transaction Limit | File Size |
|---|---|---|---|
| XLSX | up to 75,000 | 500 | 10mb |
| CSV | up to 100,000 | 500 | 10mb |
Bearer authentication header of the form Bearer Token, Where accessToken is the access token used to authenticate the request.
Request payload for uploading batch disbursement files
Required string length: 8
10000000 <= x <= 99999999Whether the batch should be scheduled for later processing
The content type of the file (e.g., "XLSX", "CSV")
4Email address of the user uploading the batch file
60"johndoe@example.com"
Base64-encoded content of the Excel or CSV file
1Scheduled date for processing (required if isBatchScheduled is true)
Success Response (200 OK)
35253486
78688
This means that OneKhusa has accepted your batch disbursements request and queued for processing but does not make it available for viewing until the whole batch is validated (This make take few seconds or more depending on batch payload sent).
"Q"