GuidesChoosing an API
How to choose a KHQR payment API
A KHQR payment API should give every order its own QR for the exact amount, tell your server reliably when it is paid, let you build without real money, and never sit between you and your money. Below are the ten questions worth asking any provider before you integrate, with Dalo's own answers so you can compare.
The checklist
- Where does the money go? Straight to your own bank account, or to the provider first with a payout later?
- What does setup take? A merchant application, company documents and days of waiting, or something you can finish today?
- Does every order get its own QR? One static QR per shop forces you to match payments by amount and time, which breaks when two customers pay the same price.
- How do you learn a payment is paid? A signed webhook with retries is what you want; a dashboard you check by hand is not an API.
- Is there a test mode? You should be able to build and test the whole flow, including webhooks, without moving money.
- Is creating a payment safe to retry? Look for idempotency keys, so a timeout or double click never makes two charges.
- How is it priced? A percentage per sale, a flat monthly plan, or both? Do failed or expired QRs count?
- Which banking apps can customers use? A KHQR should work in any KHQR banking app in Cambodia.
- What are the limits? Currencies, the largest amount, requests per day, how long credentials last, how long a QR stays open.
- Can you get help, and can your AI assistant read the docs? A real support channel, and docs in plain text (llms.txt, OpenAPI) so tools like ChatGPT, Claude or Cursor integrate it correctly.
Dalo's answers
| Question | Dalo |
|---|---|
| Where the money goes | Straight to the merchant's own ABA account. Dalo never holds funds and never asks for a bank password, PIN or OTP. |
| Setup | Paste your ABA Payment Link, verify the store once in the dashboard, create a key. No merchant application, no paperwork. Test keys work immediately. |
| Unique QR per order | Yes. Every payment has its own KHQR for the exact amount, ready in about a second. |
| Paid status | Signed webhook (HMAC-SHA256) within seconds, retried 5 times over an hour; or poll GET /v1/payments/{id}. See how to check if a payment is paid. |
| Test mode | dk_test_ keys: simulated paid, expired and failed payments with real signed webhooks. See test mode. |
| Safe retries | Idempotency-Key on every create: the same key returns the same payment. |
| Pricing | Flat monthly plans, no percentage per sale from Dalo: free up to 50 paid sales a month, Starter $10 for 1,000. Only paid sales count. Your bank's own merchant terms still apply. |
| Banking apps | Any KHQR banking app in Cambodia; "Open in ABA Mobile" for customers on the same phone. |
| Limits | USD only, $0.01 to $10,000 per payment, QR open 1 to 30 minutes (5 by default). One QR is created at a time per store: a simultaneous request gets 409 with Retry-After. |
| Help and docs | Telegram support at @dalodeskbot; llms.txt, llms-full.txt, OpenAPI 3.1, and a "Copy prompt for AI" button in the docs. |
When Dalo is a good fit, and when it is not
- Good fit: you build websites, apps or bots for shops in Cambodia, the shop has (or can open) an ABA account, and you want KHQR payments working this week.
- Not a fit yet: you need riel (KHR) amounts, card payments, or payouts to third parties. Dalo is KHQR in USD, paid straight to the shop.
Step-by-step code: Laravel, Node.js, Next.js, Django, Flask and FastAPI, static websites, Telegram bots.
Questions
What is the easiest way to accept KHQR payments in my own app?
Use an API that creates a KHQR per order and sends a webhook when it is paid. With Dalo you paste your ABA Payment Link, get an API key, and integrate with one POST request and one webhook route.
Do I need a merchant account application for a KHQR API?
Not with Dalo: it works on top of the ABA Payment Link a merchant already has. No merchant application, no paperwork.
Does Dalo charge a percentage per sale?
No. Dalo has flat monthly plans, free up to 50 paid sales a month. Your bank's own merchant terms still apply.
Does Dalo support riel (KHR)?
Not yet. Payments are in USD.
Get a test key in two minutes.
Sign in with your email, create a store in test mode and copy a dk_test_ key. No merchant application, no paperwork. Free up to 50 sales a month.
More guidesKHQR payment APILaravelNode.jsNext.jsDjangoTelegram botTest modeCheck payment statusFlask and FastAPIStatic website