Signature: ********************Client-Id: ********************username:passwordAuthorization: Basic *****************{
"id": "8fdC56eo-cC99-46E1-B6AC-4asD8755B25C",
"order": {
"amount": 100.05,
"invoice_number": "INV-20210231-0001",
"currency": "MYR",
"expired_at": "2026-01-16T04:20:42.115Z"
},
"payment": {
"channel": "EWALLET_SHOPEEPAY",
"type": "SALE",
"initiation_type": "customer_initiate",
"amount": 100.05,
"currency": "MYR",
"status": "SUCCESS",
"state": "COMPLETED"
},
"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"
}
}curl --location '/merchants-url/receive-notification' \
--header 'Request-Timestamp: {{$date.isoTimestamp}}' \
--header 'API-Version: doku-global.2025-12-01' \
--header 'Signature: <api-key>' \
--header 'Client-Id: <api-key>' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "8fdC56eo-cC99-46E1-B6AC-4asD8755B25C",
"order": {
"amount": 100.05,
"invoice_number": "INV-20210231-0001",
"currency": "MYR",
"expired_at": "2026-01-16T04:20:42.115Z"
},
"payment": {
"channel": "EWALLET_SHOPEEPAY",
"type": "SALE",
"initiation_type": "customer_initiate",
"amount": 100.05,
"currency": "MYR",
"status": "SUCCESS",
"state": "COMPLETED"
},
"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"
}
}'