Developer platform
One payment object.
Every Cambodian checkout.
A merchant connects their existing bank payment link, then uses a Bayon Pay API key on their website. Bayon Pay creates hosted KHQR checkouts and keeps orders synchronized through signed payment events.
Custom API
Available
WooCommerce
Available
Shopify
Available
01 · Store connection
A bank payment link is enough for the merchant
The merchant never enters a bank Merchant ID or bank API key. The store connects a USD link, a KHR link, or both; Bayon Pay supplies the API key used by the store's server.
Paste one or both supported Cambodian bank payment links and label each currency.
Generate a bpk_live_… Bayon Pay API key for the store's server.
Create payments by API; funds settle through the connected bank link.
02 · Custom websites
Create a payment server-side
Never expose a Bayon Pay live API key in browser JavaScript. Create the payment from your server; the key selects its store and connected bank payment link automatically.
curl https://bayonpay.io/v1/payments \
-H "Authorization: Bearer $BAYON_PAY_API_KEY" \
-H "Idempotency-Key: order-1048-attempt-1" \
-H "Content-Type: application/json" \
-d '{
"amount": 25.00,
"currency": "USD",
"reference_id": "ORDER-1048",
"metadata": { "cart_id": "1048" },
"prefer_alipay_plus": true
}'{
"id": "pmt_4d78f5b2…",
"status": "pending",
"amount": "25.00",
"currency": "USD",
"settlement_amount": "100000",
"settlement_currency": "KHR",
"exchange_rate": 4000,
"smart_routed": true,
"reference_id": "ORDER-1048",
"checkout_url": "https://…/pay/pmt_4d78f5b2…",
"qr_string": "000201010212…6304AB12",
"mode": "live",
"settlement": "merchant_bank_account",
"expires_at": "2026-08-30T08:42:00.000Z"
}03 · WooCommerce
A native gateway, checked against your plan
Download it from Integrations once your account is on Basic or higher. The gateway needs only your Bayon Pay API key — bank credentials never enter WordPress.
04 · Shopify
Connect a store, then add one payment method
Bayon Pay never sits inside Shopify's checkout as a native gateway — it connects as an app that turns orders placed with a manual payment method into a KHQR / Alipay+ checkout, automatically.
05 · Webhooks & security
Add endpoints from the dashboard
Each endpoint receives a one-time signing secret. Only Bayon Pay's verified internal banking status may mark a payment paid and trigger a successful-payment event.
Verify signatures
Reject callbacks with an invalid HMAC or stale timestamp.
Process idempotently
The same event can arrive more than once; update an order once.
Match the amount
Confirm currency, amount, reference, and verified banking-rail status together.
Retry delivery
Use bounded retries and keep an auditable delivery record.
06 · Supported links
Merchant input versus Bayon Pay infrastructure
Merchants connect only a bank-issued payment link. Bayon Pay uses the provider's payment-link flow to create KHQR; verified payment confirmation remains a separate provider integration.
Bank names identify potential integrations only and do not imply partnership, endorsement, or production availability.