This example helps you generate a hosted payment page using DOKU Checkout API, so your customer can pay via payment channels provided on Checkout Page, learn more here.No complexity. Just follow these 3 steps. Are you ready? let's start.What You Need Before Starting
✅ Your Client ID
✅ Your Secret Key
✅ Your Authorization
✅ A tool like Postman or cURL
No OAuth token needed — this API uses HMAC-SHA256 Signature in the headers to protect each request.
Send the customer to the checkout_url. They’ll see a secure page where they can pay via payment channels provided.✅ Done!You just created your first DOKU Checkout payment!