Consumer Wallet Mobile Money Deposit

Initiates a mobile money deposit to a consumer's wallet.

Deposit Consumer Wallet

Consumer Mobile Money Deposit

This API allows consumers to deposit money into a merchant's account using mobile money. The customer authorizes the payment via a USSD/STK push prompt to enter their mobile money PIN, which completes the transfer of value from their wallet to a business or merchant shortcode. The Tanda I/O RESTful API fully supports this payment channel.


Request Body Parameters

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

Request Details in request array

idDescriptionMandatory
amountAmount to be deposited in KshYes
narrationDescription or note for the paymentYes
ipnUrlURL to receive instant payment notificationsYes

Example Request

{
  "commandId": "ConsumerMobileMoneyDeposit",
  "serviceProviderId": "MPESA",
  "reference": "J8SQSOQOP",
  "request": [
    {
      "id": "amount",
      "value": "70",
      "label": "Amount"
    },
    {
      "id": "narration",
      "value": "Payment",
      "label": "Narration"
    },
    {
      "id": "ipnUrl",
      "value": "https://tanda-tills-ipn.free.beeceptor.com",
      "label": "Notification URL"
    }
  ]
}

Sample Response

{
  "trackingId": "a353acfa-5340-49ac-8f7c-2f807a87fc2f",
  "reference": "J8SQSOQOP",
  "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!