Transfer funds from your CBL account through Pesalink to other banks

Transfer funds from your CBL account through Pesalink to other banks

Request
header Parameters
x-app-id
required
string

pass the project id

x-api-key
required
string

api-key

Request Body schema: application/json

Pesa link to other bank Request

amount
required
string
bankCode
required
string
direction
required
string
narration
required
string
receiverPhoneNumber
required
string
beneficiaryName
required
string
creditAccount
required
string
transactionType
required
string
transactionReference
required
string
timestamp
required
string
currency
required
string
initiator
required
string
Responses
200

Successfully transfered the funds

400

bad input parameter

post/pesa-link-to-bank
Request samples
application/json
{
  • "amount": "3000",
  • "bankCode": "0025",
  • "direction": "A2A",
  • "narration": "pesalink to John Doe",
  • "receiverPhoneNumber": "254714315046",
  • "beneficiaryName": "John Doe",
  • "creditAccount": "0021024000039",
  • "transactionType": "PESALINK",
  • "transactionReference": "20GY1KKB2CSB",
  • "timestamp": "2021-01-29T00:54:08+03:00",
  • "currency": "KES",
  • "initiator": "John"
}
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"
}