Airtime Payment

1. Airtime Payment Request
POST /api/airtime/payment

This method initiates a purchase request for airtime units to the provided customer.

Access to this endpoint requires setup changes on your account. Contact the technical team for this configuration to be completed.

The table below provides information about the properties expected in the payload to be sent to this request:

PropertyDataType (maxSize)RequiredDescription
OrderObjectYesInformation about the operation to be performed
Order.customerFullNameString(180)NoFull Name for customer
Order.customerPhoneNumberString(180)NoPhone Number of the customer
Order.transactionReferenceString(20)YesReference transaction ID from source request to be used in reconciliations
Order.customerEmailAddressString(180)NoEmail address of the customer
Order.currencyString(3)YesChar 3 ISO currency code
Order.amountDecimal(8,2)YesAmount involved in the transaction
DestinationObjectYesInformation about the beneficiary
Destination.msisdnStringYesPhone number in international format (+243XXXX…)
Destination.providerStringYesThe Provider to be used to process the payment (MPESA,AIRTEL,ORANGE,AFRIMONEY)
Request Formats
Sample Request
{
  "order": {
    "customerFullName": "string",
    "customerPhoneNumber": "string",
    "customerEmailAddress": "string",
    "transactionReference": "string",
    "amount": 10,
    "currency": "USD”
  },
  "destination": {
    "msisdn": "string",
    "provider": "string"
  }
}
Response Information
Sample Response
{
"transactionId": "string",
"originatingTransactionId": "string”,
“statusCode”:”200”,
“statusDescription”:”SUCCESS”,
}