Skip to main content

Send Money

Create a merchant mobile wallet​

POST https://sandbox.kopokopo.com/api/v2/merchant_wallets
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >
{
"first_name": "first_name",
"last_name": "last_name",
"nickname": "nickname",
"phone_number": "254999999999",
"network": "Safaricom"
}

HTTP Request​

POST https://sandbox.kopokopo.com/api/v2/merchant_wallets
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >

Request Parameters (JSON)​

ParameterRequiredTypeDescription
networkYesStringThe mobile network to which the phone number belongs
first_nameYesStringFirst name
last_nameYesStringLast name
nicknameNoStringNickname for mobile wallet
phone_numberYesStringPhone number

HTTP Response​

Successful Response​

info

You must login to the KopoKopo INC application to obtain the reference of the merchant_wallet you have just created

Upon successful creation of the merchant wallet, HTTP Status Code 201 with the URL of the merchant wallet in the Location Header of the HTTP Response.

HTTP/1.1 201 Created Location: https://sandbox.kopokopo.com/api/v2/merchant_wallets/d76265cd-0951-e511-80da-0aa34a9b2388

Error Response​

This will have a HTTP Status code indicating the error and it might have a json that contains the error code and an error message specifying the error that occured. Please note that the error response might not be present depending on the type of error that occured.

If the error json response is present, it will look as follows:

HTTP/1.1 400 Bad Request

{ "error_code": 400, "error_message": "First name can't be blank" }

Create a merchant bank account​

POST https://sandbox.kopokopo.com/api/v2/merchant_bank_accounts
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: "< product >/< product-version > < comment >"
{
"account_name": "John Doe",
"bank_branch_ref": "c7f300c0-f1ef-4151-9bbe-005005aa3747",
"account_number": "123456789",
"nickname": "JD",
"settlement_method": "EFT"
}

HTTP Request​

POST https://sandbox.kopokopo.com/api/v2/merchant_bank_accounts
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >

Request Parameters (JSON)​

ParameterRequiredTypeDescription
account_nameYesStringThe name as indicated on the bank account name
nicknameNoStringNickname for bank account
bank_branch_refYesStringAn identifier identifying the destination bank branch. Details on how to get a bank_branch_ref are here
account_numberYesStringThe bank account number. Details on bank account number validation rules are here
settlement_methodYesStringEFT or RTS

HTTP Response​

Successful Response​

info

You must login to the KopoKopo INC application to obtain the reference of the merchant_bank_account you have just created

Upon successful creation of the merchant bank account, HTTP Status Code 201 with the URL of the merchant bank account in the Location Header of the HTTP Response.

HTTP/1.1 201 Created Location: https://sandbox.kopokopo.com/api/v2/merchant_bank_accounts/d76265cd-0951-e511-80da-0aa34a9b2388

Error Response​

This will have a HTTP Status code indicating the error and it might have a json that contains the error code and an error message specifying the error that occured. Please note that the error response might not be present depending on the type of error that occured.

If the error json response is present, it will look as follows:

HTTP/1.1 400 Bad Request

{ "error_code": 400, "error_message": "Bank branch ref is not valid" }

Create an external recipient​

POST https://sandbox.kopokopo.com/api/v2/external_recipients
Content-Type: application/json
Accept: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >

Create Send Money external mobile wallet recipient

{
"type": "mobile_wallet",
"external_recipient" : {
"first_name": "John",
"last_name": "Doe",
"nickname": "JD",
"email": "johndoe@nomail.net",
"phone_number": "+254999999999",
"network": "Safaricom"
}
}

Create Send Money external bank account recipient

{
"type": "bank_account",
"external_recipient" : {
"account_name": "John Doe",
"bank_branch_ref": "c7f300c0-f1ef-4151-9bbe-005005aa3747",
"account_number": "123456789",
"nick_name": "JD",
"settlement_method": "RTS"
}
}

Create Send Money external till recipient

{
"type": "till",
"external_recipient" : {
"till_name": "John Doe",
"till_number": "000000",
"nickname": "JD"
}
}

Create Send Money paybill recipient

{
"type": "paybill",
"external_recipient" : {
"paybill_name": "KPLC Paybill",
"paybill_number": "890087",
"paybill_account_number": "test_account",
"nickname": "KPLC"
}
}

<!-- END OF SEND MONEY RECIPIENTS --> Add external entities that will be the destination of your payments.

HTTP Request​

POST https://sandbox.kopokopo.com/api/v2/external_recipients
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >

Request Parameters (JSON)​

ParameterRequiredTypeDescription
typeYesStringThe type of the recipient eg. mobile_wallet, bank_account, till or paybill
external_recipientYesJSONA JSON object containing details of the recipient (see below)

Send Money Recipient (Mobile Wallet) JSON​

ParameterRequiredTypeDescription
first_nameYesStringFirst name of the recipient
last_nameYesStringLast name of recipient
nicknameNoStringNickname for mobile wallet
emailNoStringEmail of recipient
phone_numberYesStringPhone number
networkYesStringThe mobile network to which the phone number belongs

Send Money Recipient (Bank Account) JSON​

ParameterRequiredTypeDescription
account_nameYesStringThe name as indicated on the bank account name
bank_branch_refYesStringAn identifier identifying the destination bank branch. Details on how to get a bank_branch_ref are here
account_numberYesStringThe bank account number (validation rules here)
nicknameNoStringNickname for bank account
settlement_methodYesStringRTS

Send Money Recipient (External Till) JSON​

ParameterRequiredTypeDescription
till_nameYesStringThe name as indicated on the till
till_numberYesStringThe till number
nicknameNoStringNickname for external till

Send Money Recipient (Paybill) JSON​

ParameterRequiredTypeDescription
paybill_nameYesStringThe name referring to the paybill
paybill_numberYesStringThe paybill business number
paybill_account_numberYesStringThe paybill account number
nicknameNoStringNickname for paybill account

HTTP Response​

Successful Response​

info

You must login to the KopoKopo INC application to obtain the reference of the recipient you have just created

A HTTP response code of 201 is returned upon successful creation of the Send Money recipient. The URL of the recipient resource is also returned in the HTTP Location Header

HTTP/1.1 201 Created Location: https://sandbox.kopokopo.com/api/v2/external_recipients/c7f300c0-f1ef-4151-9bbe-005005aa3747

Error Response​

This will have a HTTP Status code indicating the error and it might have a json that contains the error code and an error message specifying the error that occured. Please note that the error response might not be present depending on the type of error that occured.

If the error json response is present, it will look as follows:

HTTP/1.1 400 Bad Request

{ "error_code": 400, "error_message": "Invalid recipient type" }

Send Money to my accounts​

POST https://sandbox.kopokopo.com/api/v2/send_money
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >
{
"currency": "KES",
"metadata": {
"customerId": "8675309",
"notes": "Salary payment for September 2025"
},
"_links": {
"callback_url": "https://your-call-bak.yourapplication.com/send_money_result"
}
}

Create a blind transfer without specifying the amount NOR the destination. Your available funds will be sent to your preferred settlement location(s) that are linked to your company and tills.

HTTP Request​

POST https://sandbox.kopokopo.com/api/v2/send_money
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >

Request Parameters (JSON)​

ParameterRequiredTypeDescription
currencyNoStringCurrency of funds to transfer
metadataNoJSONA JSON object with a maximum of 5 key-value pairs containing additional contextual information about the transfer. The values must be primitive data types
_linksYesJSONA JSON containing a call back URL where the results of the Settlement Transfer will be posted. MUST be a secure HTTPS (TLS) endpoint

HTTP Response​

Successful Response​

Upon successful initiation of the transfer, HTTP Status Code 201 with the URL of the transfer in the Location Header of the HTTP Response.

HTTP/1.1 201 Created Location: https://sandbox.kopokopo.com/api/v2/send_money/d76265cd-0951-e511-80da-0aa34a9b2388

Error Response​

This will have a HTTP Status code indicating the error and it might have a json that contains the error code and an error message specifying the error that occured. Please note that the error response might not be present depending on the type of error that occured.

If the error json response is present, it will look as follows:

HTTP/1.1 400 Bad Request

{ "error_code": 400, "error_message": "Callback url can't be blank" }

Send Money to my account​

POST https://sandbox.kopokopo.com/api/v2/send_money
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >
{
"destinations": [
{
"type": "merchant_bank_account",
"reference": "e479b8de-d05d-46f1-89ea-27948293f5df",
"amount": 100,
"description": null
}
],
"source_identifier": "4321",
"currency": "KES",
"metadata": {
"customerId": "8675309",
"notes": "Salary payment for September 2025"
},
"_links": {
"callback_url": "https://your-call-bak.yourapplication.com/send_money_result"
}
}

Create a transfer from your Kopo Kopo account by specifying the destination of the funds.

HTTP Request​

POST https://sandbox.kopokopo.com/api/v2/send_money
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >

Request Parameters (JSON)​

ParameterRequiredTypeDescription
destinationsYesJSONA JSON object containing destinations details
source_identifierNoStringTill number or null for available balance
currencyNoStringCurrency of funds to transfer
metadataNoJSONA JSON object with a maximum of 5 key-value pairs containing additional contextual information about the transfer. The values must be primitive data types
_linksYesJSONA JSON containing a call back URL where the results of the Settlement Transfer will be posted. MUST be a secure HTTPS (TLS) endpoint

Destination JSON

ParameterRequiredTypeDescription
typeYesStringType of destination. Either merchant_wallet or merchant_bank_account
amountYesIntegerAmount to transfer
referenceYesStringIdentifier of the destination account of the funds. Details on how to locate an account's destination reference are here
descriptionNoStringDescription of the transfer

HTTP Response​

Successful Response​

Upon successful initiation of the transfer, HTTP Status Code 201 with the URL of the transfer in the Location Header of the HTTP Response.

HTTP/1.1 201 Created Location: https://sandbox.kopokopo.com/api/v2/send_money/d76265cd-0951-e511-80da-0aa34a9b2388

Error Response​

This will have HTTP Status code indicating the error, and it might have a json that contains the error code and an error message specifying the error that occurred. Please note that the error response might not be present depending on the type of error that occured.

If the error json response is present, it will look as follows:

HTTP/1.1 400 Bad Request

{ "error_code": 400, "error_message": "Destination reference is invalid" }

Send Money to external recipients​

POST https://sandbox.kopokopo.com/api/v2/send_money
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >
{
"destinations": [
{
"type": "mobile_wallet",
"nickname": "Jane Doe",
"phone_number": "254900000000",
"network": "Safaricom",
"amount": 1000,
"description": "Reason for payment",
"favourite": true
},
{
"type": "mobile_wallet",
"nickname": "John Doe",
"phone_number": "254900111111",
"network": "Safaricom",
"amount": 1000,
"description": "Reason for payment",
"favourite": true
}
],
"source_identifier": "4321",
"currency": "KES",
"metadata": {
"customerId": "8675309",
"notes": "Salary payment for September 2025"
},
"_links": {
"callback_url": "https://your-call-bak.yourapplication.com/send_money_result"
}
}

Create an outgoing payment to a third party. The final result of the payment will be posted asynchronously to your systems via the call back URL provided in the request.

Note: Send Money to multiple destinations is only supported for mobile_wallet and bank_account destination types. All destinations included in a single request must be of the same type (i.e., you cannot mix different destination types within one request).

HTTP Request​

POST https://sandbox.kopokopo.com/api/v2/send_money
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >

Request Parameters (JSON)​

ParameterRequiredTypeDescription
destinationsYesJSONA JSON object containing destinations details
source_identifierNoStringTill number or null for available balance
currencyNoStringCurrency of funds to transfer
metadataNoJSONA JSON object with a maximum of 5 key-value pairs containing additional contextual information about the transfer. The values must be primitive data types
_linksYesJSONA JSON containing a call back URL where the results of the Settlement Transfer will be posted. MUST be a secure HTTPS (TLS) endpoint

External Mobile Wallet Destination JSON (Could be multiple)

ParameterRequiredTypeDescription
typeYesStringType of destination. Must be mobile_wallet
phone_numberYesStringPhone number
networkYesStringThe mobile network to which the phone number belongs
amountYesIntegerAmount to transfer
nicknameNoStringNickname for the external mobile wallet
descriptionYesStringDescription of the transfer
favouriteNoBooleanMark destination as favorite or not

External Bank Account Destination JSON (Could be multiple)

ParameterRequiredTypeDescription
typeYesStringType of destination. Must be bank_account
bank_branch_refYesStringAn identifier identifying the destination bank branch. Details on how to get a bank_branch_ref are here
account_nameYesStringBank account name
account_numberYesStringBank account number. Details on bank account number validation rules are here
nicknameNoStringNickname for the external bank account
amountYesIntegerAmount to transfer
descriptionYesStringDescription of the transfer
favouriteNoBooleanMark destination as favorite or not

External Till Destination JSON

ParameterRequiredTypeDescription
typeYesStringType of destination. Must be till
till_numberYesStringTill number
nicknameNoStringNickname for the external till
amountYesIntegerAmount to transfer
descriptionYesStringDescription of the transfer
favouriteNoBooleanMark destination as favorite or not

External Paybill Destination JSON

ParameterRequiredTypeDescription
typeYesStringType of destination. Must be paybill
paybill_numberYesStringPaybill number
paybill_account_numberYesStringPaybill account number
nicknameNoStringNickname for the paybill account
amountYesIntegerAmount to transfer
descriptionYesStringDescription of the transfer
favouriteNoBooleanMark destination as favorite or not

HTTP Response​

Successful Response​

A HTTP response code of 201 is returned upon successful creation of the Payment request. The URL of the Payment resource is also returned in the HTTP Location Header

HTTP/1.1 201 Created Location: https://sandbox.kopokopo.com/api/v2/send_money/c7f300c0-f1ef-4151-9bbe-005005aa3747

Error Response​

This will have a HTTP Status code indicating the error and it might have a json that contains the error code and an error message specifying the error that occured. Please note that the error response might not be present depending on the type of error that occured.

If the error json response is present, it will look as follows:

HTTP/1.1 400 Bad Request

{ "error_code": 400, "error_message": "Destination type can't be blank" }

Process Send Money result​

POST https://your-callback-url.com/send_money_result
Content-Type: application/json
X-KopoKopo-Signature: 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >
{
"data": {
"id": "716481bc-635c-4d35-92c9-65bb0797196a",
"type": "send_money",
"attributes": {
"status": "Processed",
"created_at": "2025-09-23T20:05:46.522+03:00",
"source_identifier": "4321",
"destinations": [
{
"type": "mobile_wallet",
"amount": 1000,
"network": "Safaricom",
"nickname": "Test",
"favourite": true,
"description": "Testing",
"phone_number": "254900000000"
},
{
"type": "mobile_wallet",
"amount": 1000,
"network": "Safaricom",
"nickname": "Test2",
"favourite": true,
"description": "Testing",
"phone_number": "254900111111"
}
],
"currency": "KES",
"transfer_batches": [
{
"status": "Transferred",
"amount": "1000.0",
"disbursements": [
{
"amount": "1000.0",
"errors": null,
"status": "Transferred",
"nickname": "Test",
"favourite": true,
"phone_number": "254900111111",
"destination_type": "mobile_wallet",
"origination_time": "2025-09-23T20:22:59.913+03:00",
"destination_reference": "a3bd6298-8a5a-4a93-b880-7948a621fdfb",
"transaction_reference": "QCL160124A7"
}
]
},
{
"status": "Transferred",
"amount": "1000.0",
"disbursements": [
{
"amount": "1000.0",
"errors": null,
"status": "Transferred",
"nickname": "Test",
"favourite": true,
"phone_number": "254900000000",
"destination_type": "mobile_wallet",
"origination_time": "2025-09-23T20:26:49.173+03:00",
"destination_reference": "5f58ce16-0320-4da8-ad38-0f2cf7f520f2",
"transaction_reference": "QDZ273694C8"
}
]
}
],
"errors": null,
"metadata": {
"notes": "Salary payment for September 2025",
"customerId": "8675309"
},
"_links": {
"callback_url": "https://webhook.site/f0b07170-4397-4e81-b552-a6bc0fc20ed9",
"self": "https://api.kopokopo.com/api/v2/send_money/716481bc-635c-4d35-92c9-65bb0797196a"
}
}
}
}

After a Send Money request is initiated, a Send Money result will be posted asynchronously to the callback URL specified in the Send Money request. This callback is secured by signing the payload of the request (HMAC) and passing the signature in the X-KopoKopo-Signature HTTP header.

Send Money Result Parameters (JSON)​

A HTTP response with the following JSON payload is returned.

ParameterRequiredTypeDescription
idYesStringThe ID of the transfer
typeYesStringRequest type, i.e., send_money
attributesYesJSONA JSON object containing the attributes of the Send Money request

Attributes JSON

ParameterRequiredTypeDescription
statusYesStringCurrent status of the Send Money request
created_atYesStringTimestamp when the Send Money request was created
currencyYesStringCurrency of funds to transfer
source_identifierYesStringTill number or null if Send Money request was from available balance
destinationsYesJSONA JSON object containing destinations details or null for Send Money requests to my accounts
transfer_batchesYesJSONA JSON object containing transfer batches information
errorsYesJSONA JSON object containing errors for failed Send Money request
metadataYesJSONA JSON object with a maximum of 5 key-value pairs containing additional contextual information about the transfer. The values must be primitive data types
_linksYesJSONA JSON object containing the URL pointing to the Send Money request and the callback url

Transfer Batches JSON (Could be multiple)

ParameterTypeDescription
statusStringThe status of the transfer batch
amountStringThe total amount of the transfer batch
disbursementsJSONThese are the disbursements in that particular transfer batch

Disbursements JSON (Could be multiple)

ParameterTypeDescription
statusStringThe status of the disbursement
amountStringThe amount of the disbursement
errorsJSONA JSON object containing errors for failed disbursement
origination_timeStringTimestamp of when the transaction took place
destination_typeStringType of destination, .i.e, merchant_bank_account, merchant_wallet, mobile_wallet, bank_account, till or paybill
destination_referenceStringIdentifier of the destination account of the funds
transaction_referenceStringThe reference from the transaction, i.e, mpesa reference. It is null for eft transactions

Query Send Money request status​

GET https://sandbox.kopokopo.com/api/v2/send_money/1b7c1ec2-8c3f-49b8-9b73-3a94fc60c6ab
Accept: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
Content-Type: application/json
User-Agent: < product >/< product-version > < comment >
transfer_url = 'https://sandbox.kopokopo.com/api/v2/settlement_transfers/d76265cd-0951-e511-80da-0aa34a9b2388'

# Using K2 Connect - https://github.com/kopokopo/k2-connect-ruby (Recommended)
k2_transfer = K2Transfer.new('your_access_token')
k2_transfer.query_resource_url(transfer_url) or k2_transfer.query_resource_url(k2_transfer.location_url)
# Query most recent request
k2_transfer.query_status

The request above results in the following JSON payload

{
"data": {
"id": "716481bc-635c-4d35-92c9-65bb0797196a",
"type": "send_money",
"attributes": {
"status": "Processed",
"created_at": "2025-09-23T20:05:46.522+03:00",
"source_identifier": "4321",
"destinations": [
{
"type": "mobile_wallet",
"amount": 1000,
"network": "Safaricom",
"nickname": "Test",
"favourite": true,
"description": "Testing",
"phone_number": "254900000000"
},
{
"type": "mobile_wallet",
"amount": 1000,
"network": "Safaricom",
"nickname": "Test",
"favourite": true,
"description": "Testing",
"phone_number": "254900111111"
}
],
"currency": "KES",
"transfer_batches": [
{
"status": "Transferred",
"amount": "1000.0",
"disbursements": [
{
"amount": "1000.0",
"errors": null,
"status": "Transferred",
"nickname": "Test",
"favourite": true,
"phone_number": "254900111111",
"destination_type": "mobile_wallet",
"origination_time": "2025-09-23T20:22:59.913+03:00",
"destination_reference": "a3bd6298-8a5a-4a93-b880-7948a621fdfb",
"transaction_reference": "QCL160124A7"
}
]
},
{
"status": "Transferred",
"amount": "1000.0",
"disbursements": [
{
"amount": "1000.0",
"errors": null,
"status": "Transferred",
"nickname": "Test",
"favourite": true,
"phone_number": "254900000000",
"destination_type": "mobile_wallet",
"origination_time": "2025-09-23T20:26:49.173+03:00",
"destination_reference": "5f58ce16-0320-4da8-ad38-0f2cf7f520f2",
"transaction_reference": "QDZ273694C8"
}
]
}
],
"errors": null,
"metadata": {
"notes": "Salary payment for September 2025",
"customerId": "8675309"
},
"_links": {
"callback_url": "https://webhook.site/f0b07170-4397-4e81-b552-a6bc0fc20ed9",
"self": "https://api.kopokopo.com/api/v2/send_money/716481bc-635c-4d35-92c9-65bb0797196a"
}
}
}
}

Check the status of a prior initiated Send Money request.

HTTP Request​

GET https://sandbox.kopokopo.com/api/v2/send_money/1b7c1ec2-8c3f-49b8-9b73-3a94fc60c6ab
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0Sn0W6kzNicvoWhDbQcVSKLRUpGjIdlPSEYyrHqrDDoRnQwE7Q
User-Agent: < product >/< product-version > < comment >

Query Parameters​

ParameterRequiredTypeDescription
IDYesStringThe reference / ID of the Send Money request to retrieve

HTTP Response​

A HTTP response with the following JSON payload is returned.

ParameterRequiredTypeDescription
idYesStringThe ID of the transfer
typeYesStringRequest type. send_money
attributesYesJSONA JSON object containing the attributes of the Send Money request

Attributes JSON

ParameterRequiredTypeDescription
statusYesStringCurrent status of the Send Money request
created_atYesStringTimestamp when the Send Money request was created
currencyYesStringCurrency of funds to transfer
source_identifierYesStringTill number or null if Send Money request was from available balance
destinationsYesJSONA JSON object containing destinations details or null for Send Money requests to my accounts
transfer_batchesYesJSONA JSON object containing transfer batches information
errorsYesJSONA JSON object containing errors for failed Send Money request
metadataYesJSONA JSON object with a maximum of 5 key-value pairs containing additional contextual information about the transfer. The values must be primitive data types
_linksYesJSONA JSON object containing the URL pointing to the Send Money request and the callback url

Transfer Batches JSON (Could be multiple)

ParameterTypeDescription
statusStringThe status of the transfer batch
amountStringThe total amount of the transfer batch
disbursementsJSONThese are the disbursements in that particular transfer batch

Disbursements JSON (Could be multiple)

ParameterTypeDescription
statusStringThe status of the disbursement
amountStringThe amount of the disbursement
errorsJSONA JSON object containing errors for failed disbursement
origination_timeStringTimestamp of when the transaction took place
destination_typeStringType of destination, .i.e, merchant_bank_account, merchant_wallet, mobile_wallet, bank_account, till or paybill
destination_referenceStringIdentifier of the destination account of the funds
transaction_referenceStringThe reference from the transaction, i.e, mpesa reference. It is null for eft transactions