KHQR API
System Online

Fluid Payments.

The fastest way to integrate Bakong KHQR into your application. Secure, reliable, and built for scale.

API
https://simple-pay.bruhstore.online

Authentication

No tokens needed. Simply pass your bakong_id parameter in every request.

Create KHQR

Generate transaction string

GET /khqr/create
amount
Number
Transaction amount (USD).
bakongid
String
Receiver's Bakong ID.
merchant
String
Merchant display name.
JSON
{
  "status": true,
  "message": "success",
  "qr": "https://simple-pay.bruhstore.online/khqr/qr/YvJXiLoT",
  "qr_stand": "https://simple-pay.bruhstore.online/khqr/qr/stand/YvJXiLoT",
  "md5": "f2bb7310df261ab64e13fc397b0b86f0",
  "tran": "YvJXiLoT"
}

View Image

Direct PNG Render

GET /khqr/qr...

Standard QR

/khqr/qr/:tran

QR Stand

/khqr/qr/stand/:tran

Check Status

Verify payment

POST /khqr/check/:id
JSON
{
  "responseCode": 0,
  "responseMessage": "Success",
  "data": {
    "status": "SUCCESS",
    "amount": 10.00,
    "currency": "USD",
    "hash": "83jhd7..."
  }
}