GET
/khqr/createCreate a unique dynamic KHQR and store its MD5.
?amount=10.50&bakongid=your_account@wing&merchantname=My Shop&username=user123
Generate dynamic Cambodia KHQR payments with the official SDK, display a PNG QR, and verify completed transactions through the official Bakong Open API.
The Bakong access token remains on your VPS. This browser only calls your own API.
Enter a test amount and create a dynamic KHQR.
{}
The routes match the structure of the reference API, with stricter receiver and amount verification.
/khqr/createCreate a unique dynamic KHQR and store its MD5.
?amount=10.50&bakongid=your_account@wing&merchantname=My Shop&username=user123
/qr/:tran_idRender the saved KHQR as a PNG image.
/check/:tran_idCheck Bakong by the stored MD5 and verify receiver, amount, and currency.
/check_by_md5Check a server-created MD5 with the expected receiving Bakong account.
?md5=32_character_hash&bakongid=your_account@wing