Consumer Wallet Payment to Till

Initiates a payment from a consumer's wallet to an MPESA till number.

Consumer To Till Payment API

Consumer Payment to Merchant Till

This API enables consumers to make payments directly to a merchant's till number using mobile money (e.g., MPESA).

Request Body Parameters

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

Request Details in request Array for Till Payment

idDescriptionMandatory
amountAmount to be paid in KshYes
narrationDescription or note for paymentYes
tillMerchant till numberYes
ipnUrlURL to receive instant payment notificationsYes

Example Request - Till Payment

{
  "commandId": "ConsumerToTillPayment",
  "serviceProviderId": "MPESA",
  "reference": "e9b1c7d8-f7e9-4fda-99ed-31e8370aa9b4",
  "request": [
    {
      "id": "amount",
      "value": "500",
      "label": "Amount"
    },
    {
      "id": "narration",
      "value": "Payment to Mpesa till",
      "label": "Narration"
    },
    {
      "id": "till",
      "value": "123456",
      "label": "Till Number"
    },
    {
      "id": "ipnUrl",
      "value": "https://tanda-tills-ipn.free.beeceptor.com",
      "label": "Notification URL"
    }
  ]
}

Sample Response - Till Payment

{
  "trackingId": "a17f35d2-9b21-4c0b-99fd-b067d4b7b22f",
  "reference": "e9b1c7d8-f7e9-4fda-99ed-31e8370aa9b4",
  "status": "P202000",
  "message": "Successful. Request accepted for processing. You'll be notified by Tanda shortly"
}
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!