v1
latestOpenAPI 3.0.32026-07-23167675.4 KBMerchant Notification
Binding Result Notification to Merchant
posthttps://{api-domain}/v1.0/debit/notify
Headers
X-PARTNER-IDstring required
The merchant's client ID registered with DOKU
X-EXTERNAL-IDstring required
A unique ID generated by DOKU for each notification. The merchant can use this value for idempotency checks.
X-TIMESTAMPstring required
Notification send timestamp in ISO 8601 format (yyyy-MM-ddTHH:mm:ss+07:00)
X-SIGNATUREstring required
HMAC-SHA512 digital signature for verifying the authenticity of the notification. The merchant MUST verify this signature before processing the notification.
Verification steps:
- Construct stringToSign: HTTP-METHOD:RELATIVE-URL:ACCESS-TOKEN:HEX(SHA256(requestBody)):TIMESTAMP
- Compute HMAC-SHA512 using the merchant's clientSecret as the key.
- Compare against the value of this header.
Authorization-Customerstring
Customer's B2B2C access token (DOKU B2B2C token) associated with this binding session. Present when the customer holds an active DOKU B2B2C token.
Request body
Response
Notification successfully received and processed by the merchant.