POST
/
disbursements
/
batch
/
transferFunds
Transfer Funds
curl --request POST \
  --url https://api.onekhusa.com/sandbox/v1/disbursements/batch/transferFunds \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Merchant-Account-Number: <x-merchant-account-number>' \
  --header 'X-Organisation-Id: <x-organisation-id>' \
  --data '{
  "merchantAccountNumber": 35253486,
  "batchNumber": 1111,
  "transferredBy": "admin@example.com"
}'
"Batch number 1111 has been queued for funds transfer"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <Token>, where <Token> is your access token.

Headers

X-Organisation-Id
string
required

The organization identifier

X-Merchant-Account-Number
string
required

The merchant account number

Accept-Language
string
default:en

Preferred language for the response

Body

application/json
merchantAccountNumber
integer
required

Required string length: 8

Required range: 10000000 <= x <= 99999999
batchNumber
integer
required

The unique identifier of the batch number to start funds transfer

transferredBy
string
required

The email address of the user transferring the funds

Response

200 - application/json

Success Response (200 OK)

The response is of type string.

Example:

"Batch number 1111 has been queued for funds transfer"