{
"order": {
"identify_url": "string",
"amount": "5000000",
"invoice_number": "INV16082024",
"currency": "IDR",
"session_id": "sess-a1b2c3d4",
"callback_url": "https://your_callback_url.com/path",
"callback_url_cancel": "https://your_callback_url_cancel.com/path",
"callback_url_result": "https://your_callback_url_result.com/path",
"language": "EN",
"auto_redirect": true,
"disable_retry_payment": true,
"hide_expiry_time": false,
"recover_abandoned_cart": true,
"expired_recovered_cart": 1440,
"enable_notification_customer": false,
"line_items": [
{
"name": "Wireless Mouse",
"price": "75000.00",
"quantity": "1",
"sku": "SKU-WM-001",
"category": "Electronics",
"url": "https://merchant.example.com/products/wireless-mouse",
"image_url": "https://merchant.example.com/images/wireless-mouse.png",
"type": "PHYSICAL",
"sub_total": 150000
}
],
"card": {
"token": "CARDTOKEN1234567890ABCDEFGH",
"save": true
},
"recurring": {
"billing": {
"number": "BILL-2026-0007",
"type": "BILLING",
"description": "Monthly subscription for Premium Plan"
},
"iteration": {
"type": "DATE",
"start_date": "20260710",
"end_date": "20270710",
"schedule": {
"days_of_week": [
"MONDAY"
],
"days_of_month": [
1
],
"months": [
1,
4,
7,
10
],
"custom": [
"string"
]
}
}
},
"payment": {
"payment_method_types": [
"VIRTUAL_ACCOUNT_BCA",
"QRIS",
"CREDIT_CARD"
],
"payment_due_date": 60,
"token_id": "sess-a1b2c3d420260710101530001",
"url": "https://checkout.doku.com/v2/sess-a1b2c3d420260710101530001",
"expired_date": "10-07-2026 11:15:30",
"expired_datetime": "2026-07-10T11:15:30Z",
"type": "SALE",
"tenor": "3",
"acquirer": "BCA_INSTALLMENT",
"plan_id": "101",
"promo_code": "PROMO10",
"promo": [
{
"code": "PROMOMERDEKA17",
"reserve_id": "RES-ABC123-456",
"type": "DISCOUNT",
"amount": 10000
}
],
"auto_capture": true,
"virtual_account": {
"bin_feature": "ADGPC"
}
},
"customer": {
"id": "CUST-99887",
"name": "Budi",
"last_name": "Santoso",
"email": "budi.santoso@example.com",
"phoneNo": "+6281234567890",
"address": "Jl. Sudirman No. 1, Jakarta",
"country": "ID",
"state": "DKI Jakarta",
"city": "Jakarta",
"postcode": "12190",
"area": "string",
"province": "DKI Jakarta"
},
"shipping_address": {
"first_name": "Budi",
"last_name": "Santoso",
"address": "Jl. Sudirman No. 1",
"city": "Jakarta",
"postal_code": "12190",
"phoneNo": "+6281234567890",
"country_code": "IDN"
},
"billing_address": {
"first_name": "Budi",
"last_name": "Santoso",
"address": "Jl. Sudirman No. 1",
"city": "Jakarta",
"postal_code": "12190",
"phone": "+6281234567890",
"country_code": "IDN"
},
"additional_info": {
"remarks": "gift wrap requested",
"disclaimer": {
"en": "I agree that the debit of my payment via the card mentioned above has been approved by the card owner.",
"id": "Saya menyatakan bahwa pendebetan melalui kartu tersebut telah disetujui oleh pemilik kartu."
},
"allow_tenor": [
3,
6,
12
],
"doku_wallet_notify_url": "https://dw-notification.merchantdomain",
"override_notification_url": "https://override.free.beeceptor.com/notify",
"collect_customer": {
"name": false,
"phone": false,
"email": false,
"address": false
},
"failure_notification": {
"enabled": true,
"recipient_emails": [
"example@gmail.com"
]
},
"easystore_notification_url": "https://{store-url}/payments/hosted/{gateway-name}/complete",
"override_configuration": {
"fpx_bank_code": "27",
"filter_card": [
2
]
}
}
},
"uuid": "9223370000000012345"
}