Safaricom Airtime Topup

Buy Safaricom pre-paid airtime from your CBL account

Request
header Parameters
x-app-id
required
string

pass the project id

x-api-key
required
string

api-key

Request Body schema: application/json

Safaricom Airtime Top Up Request

amount
required
string
creditAccount
required
string
transactionType
required
string
timestamp
required
string
currency
required
string
transactionReference
required
string
Responses
200

search results matching criteria

400

bad input parameter

post/safaricom-airtime-top-up
Request samples
application/json
{
  • "amount": "300",
  • "creditAccount": "254700123151",
  • "transactionType": "SAFARICOM",
  • "timestamp": "2021-01-29T00:54:08+03:00",
  • "currency": "KES",
  • "transactionReference": "DKDFHST67DJD"
}
Response samples
application/json
{
  • "responseCode": "00",
  • "responseMessage": "Request processed successfully",
  • "transactionReference": "FT120GY1KKB2",
  • "referenceNumber": "20GY1KKB2CSWL",
  • "transaction_value_date": "2021-01-29",
  • "debitAccount": "9012311313212",
  • "creditAccount": "25478120100",
  • "transactionDate": "2021-01-29"
}