Dynamic Qrcode for Till Payments

Generates a dynamic M-PESA QR Code.Which enables Safaricom MPESA Customers who have My Safaricom APP and Mpesa APP

Request
Request Body schema: application/json

Pay using the native Qrcode

RefNo
required
string
Amount
required
number
TrxCode
required
string
CPI
required
string
Size
required
string
Responses
200

Successfully created standing order

400

bad input parameter

post/safaricom-qrcode
Request samples
application/json
{
  • "RefNo": "AERDUDSODEE",
  • "Amount": 1,
  • "TrxCode": "BG",
  • "CPI": "373132",
  • "Size": "300"
}
Response samples
application/json
{
  • "ResponseCode": "AG_20191219_000043fdf61864fe9ff5",
  • "RequestID": "16738-27456357-1",
  • "ResponseDescription": "QR Code Successfully Generated.",
  • "QRCode": "SYEEHEHJJSJSKKKSSSHDBDDBBHSHSBSBHSHSBBBXBXXB"
}