Consumer Wallet Mobile Money Withdrawal

Initiates a mobile money Withdrawal from a consumer's wallet.


Consumer Wallet Withdrawal API

Consumer Mobile Money Withdrawal

This API lets consumers withdraw money from a merchant's account to a mobile number using mobile money, authorized similarly via USSD/STK prompts.

Request Body Parameters

ParameterDescriptionMandatory
commandIdCommand to execute, must be ConsumerMobileMoneyWithdrawalYes
serviceProviderIdMobile money service provider, e.g., MPESAYes
referenceUnique identifier for the transaction (recommended: UUID or Alphanumeric)Yes
requestArray of key-value pairs specifying withdrawal detailsYes

Request Details in request Array for Withdrawal

idDescriptionMandatory
amountAmount to be withdrawn in KshYes
narrationDescription or note for the paymentYes
accountNumberMobile number to receive the funds (format: country code + number)Yes
ipnUrlURL to receive instant payment notificationsYes

Example Request - Withdrawal

{
  "commandId": "ConsumerMobileMoneyWithdrawal",
  "serviceProviderId": "MPESA",
  "reference": "AQOKJ38Q1",
  "request": [
    {
      "id": "amount",
      "value": "1",
      "label": "Amount"
    },
    {
      "id": "narration",
      "value": "Payment",
      "label": "Send to mobile number"
    },
    {
      "id": "accountNumber",
      "value": "254793875319",
      "label": "Account Number"
    },
    {
      "id": "ipnUrl",
      "value": "https://tanda-tills-ipn.free.beeceptor.com",
      "label": "Notification URL"
    }
  ]
}

Example Response

{
  "trackingId": "a353acfa-5340-49ac-8f7c-2f807a87fc2f",
  "reference": "AQOKJ38Q1",
  "status": "P202000",
  "message": "Successful. Request accepted for processing. You will be notified by Tanda shortly"
}
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!