How it works
- Your merchant account is approved and given a Client ID and Client Secret.
- Your server calls
POST /api/paymentwith the order details. SayaBeliPay returns a checkout URL. - You redirect your customer to that checkout URL, where they complete payment (selecting their bank for FPX, or scanning the QR code for DuitNow QR).
- Once payment finishes, the customer’s browser is redirected back to the Callback URL on your account, with the outcome in the query string.
- Because a browser redirect can be lost (closed tab, network drop, etc.), you should also independently confirm the final status by calling
GET /api/transaction/{ref}— see Getting Payment Status for why this matters and how to do it reliably.
What you can do with the API
A few capabilities aren’t available on every account yet — see Not Currently Available before you build against pre-authorization/void or payout endpoints.
Get started
Set up authentication and make your first request

