Initiate Transfer
This page shows you how to initiate a transfer
MPesa Transfer
For Mpesa transfers always pass the account_bank
value as MPS
, the account_number
value is the recipients Mpesa number, it should always come with the prefix 254
Sample Mpesa Callback
{
"event.type": "Transfer",
"transfer": {
"id": 3455,
"account_number": "25472509382427",
"bank_code": "MPS",
"fullname": "FA",
"date_created": "2018-10-03T14:20:25.000Z",
"currency": "KES",
"debit_currency": null,
"amount": 49.99,
"fee": 250,
"status": "SUCCESSFUL",
"reference": "quidpay-transfer-15028609",
"meta": null,
"narration": "Quidpay Mpesa transfer",
"approver": null,
"complete_message": "Approved Or Completed Successfully",
"requires_approval": 0,
"is_approved": 1,
"bank_name": "FA-BANK"
}
}
Testing Mpesa Successfully
To run a successful Mpesa disbursement test you would need to be on the live environment.
Your Mpesa wallet balance also needs to be funded, see how to fund your wallet balance here.
Updated less than a minute ago