Transfer funds from your CBL account to Airtel

Transfer funds from your CBL account to Airtel

Request
header Parameters
x-app-id
required
string

pass the project id

x-api-key
required
string

api-key

Request Body schema: application/json

Airtel B2C Request

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

Successfully transfered the funds

400

bad input parameter

post/airtel-b2c
Request samples
application/json
{
  • "amount": "3000",
  • "creditAccount": "+254711123123",
  • "transactionType": "MPESAB2C",
  • "transactionReference": "20GY1KKB2CSL",
  • "timestamp": "2021-01-29T00:54:08+03:00",
  • "currency": "KES"
}
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"
}