This example helps you generate a hosted payment page using DOKU’s Checkout API, so your customer can pay via Virtual Account (VA) or other methods.No complexity. Just follow these 3 steps. Are you ready? let's start.What You Need Before Starting
✅ Your Client ID
✅ Your Secret Key
✅ A tool like Postman or cURL
No OAuth token needed — this API uses HMAC-SHA256 Signature in the headers to protect each request.
Accepting a Payment with Checkout Page (Virtual Account) You want to send an invoice of Rp10.000 to a customer, and let them pay via VA or QRIS on a secure DOKU page.