Get Started with DOKU API
Welcome to the DOKU API reference documentation, your comprehensive guide to seamlessly integrate our Payment Gateway, Wallet, Billing, and other services into your applications.
🚀 Unlock the Power of Seamless Transactions with DOKU API: Your Gateway to Smarter Commerce 🚀
Welcome, savvy merchants, to the future of frictionless transactions! If you're ready to elevate your business game, then DOKU's API is your golden ticket. 🌐✨
🔗 Dive into the World of DOKU: https://www.doku.com/
In the dynamic landscape of modern commerce, mastering the art of seamless transactions is non-negotiable. That's where DOKU steps in, revolutionizing the way you handle payments and transactions. To ensure you harness the full potential of our offerings, we present to you the key to unlocking a world of possibilities: our API reference.
💡Explore the DOKU API Reference:
Ready to take the plunge? Our comprehensive API reference is your go-to guide for navigating the intricacies of DOKU's offerings. Gain insights into authentication, endpoints, and data formats, ensuring a smooth integration that aligns perfectly with your business requirements.
🚀Top Tips for Developers:
Ready to transform the way you transact? Let's make it happen with DOKU's API!
Try your first request 🚀🌐💼
To make your first request, choose any payment channels on this Demo Site https://sandbox.doku.com/demo/

Take a look at how you might call this method using our official demosite.
{
"order": {
"invoice_number": "INV-20210124-0001",
"amount": 150000
},
"virtual_account_info": {
"billing_type": "FIX_BILL",
"expired_time": 60,
"reusable_status": false,
"info1": "Merchant Demo Store",
"info2": "Thank you for shopping",
"info3": "on our store"
},
"customer": {
"name": "Jessica Tessalonika",
"email": "[email protected]"
}
}{
"order": {
"invoice_number": "INV-20210118-0001",
"amount": 90000,
"line_items": [
{
"name": "T-Shirt Red",
"price": 30000,
"quantity": 2
},
{
"name": "Polo Navy",
"price": 30000,
"quantity": 1
}
],
"callback_url": "https://merchant.com/success-url",
"failed_url": "https://merchant.com/failed-url",
"auto_redirect": false
},
"card": {
"token": "a55b8d8df709607d2a343778898f41d0",
"save": false
},
"customer": {
"id": "CUST-0001",
"name": "Jessica Tessalonika",
"email": "[email protected]"
"phone": "6285694566147",
"address": "Sianjur Mula-Mula",
"country": "ID"
},
"payment": {
"type": "INSTALLMENT",
"acquirer":"BRI",
"tenor": 3
},
"override_configuration": {
"themes": {
"language": "EN",
"background_color": "F5F8FB",
"font_color": "1A1A1A",
"button_background_color": "E1251B",
"button_font_color": "FFFFFF"
},
"promo": [
{
"bin": "142498",
"discount_amount": 20000
},
{
"bin": "314498",
"discount_amount": 20000
},
{
"bin": "091234",
"discount_amount": 10000
},
{
"bin": "091234",
"discount_amount": 10000
}
],
"allow_bin": ["461700","410505","557338"],
"allow_tenor": [0,3,6]
},
"additional_info": {
"override_notification_url": "https://google.com",
"disclaimer" : {
"id" : "Testing",
"en" : "testing englis"
}
}Last updated
Was this helpful?