Bakong KHQR · Cambodia
PayKH Developer Docs
Accept Bakong KHQR payments with a single API call. Create a payment, show the QR, get notified the instant it’s paid — in test mode today, live once your account is activated.
PayKH is a payment gateway for Cambodia built on the National Bank of Cambodia’s Bakong network. You integrate once with a clean REST API and get hosted checkout, payment links, webhooks, refunds, settlement, and a merchant dashboard.
Create your first payment
Every payment is one POST. The response includes a KHQR string you render for the customer.
curl
curl https://api.paykh.cambobia.com/v1/payments \
-H "Authorization: Bearer bk_test_your_key" \
-H "Content-Type: application/json" \
-d '{ "amount": "1.50", "currency": "USD", "reference_id": "order_1001" }'Where to go next
Quickstart →
Go from zero to a paid test payment in five minutes.
Authentication →
API keys, test vs live mode, and how to keep secrets safe.
Payments →
The payment lifecycle, KHQR, and status polling.
Webhooks →
Get notified the moment a payment is completed.
API reference →
Every endpoint, live from the OpenAPI spec.
SDKs →
Official libraries for Node.js, PHP, and Python.
Base URL
All API requests go to a single base URL. Test and live are selected by your API key, not the URL.
Base URL
https://api.paykh.cambobia.com