Run in Apidog
Hit Retrieve Checkout after 60 seconds after payment completion! Please ensure your application is already hit after 60 seconds after payment completion. Request Code Samples
curl --location '/v3/checkouts/' \
--header 'Authorization: Basic Base64(doku_ak_test_qblFNYngBkEdjEZ16jxxoWSM)' \
--header 'Client-Id: BRN-001-0000001' \
--header 'Request-Timestamp: {{$date.isoTimestamp}}' \
--header 'API-Version: arabica.2025-12-01' Responses application/json
Generate Code
{
"id" : "8fdC56eo-cC99-46E1-B6AC-4asD8755B25C" ,
"order" : {
"amount" : 100.05 ,
"invoice_number" : "INV-20210231-0001" ,
"currency" : "MYR" ,
"status" : "PAID"
} ,
"payment" : {
"checkout_url" : "https://sandbox.doku.com/checkout-link-v2/2ebffd22d23e436895ce5c38f7ddcf8620244712094712362" ,
"channel" : "EWALLET_TNG" ,
"status" : "SUCCESS" ,
"state" : "COMPLETED" ,
"callback_url" : "https://merchant.host/payment/callback"
} ,
"customer" : {
"id" : "DOKU-CUST-001" ,
"name" : "John Doe" ,
"email" : "customer_email@test.com" ,
"phone" : "+60812345678" ,
"country" : "MY" ,
"address" : "Street 1"
} ,
"metadata" : {
"sample_key" : "your value"
}
} Modified at 2026-10-28 09:46:19