Unpaid Notification
Unpaid Notification
This API is used to notify partners when the transaction status initially gets UNPAID status and then updated by DOKU's system to either Success or Failed. If partners don't want to implement Unpaid Notification API, they may opt to call the Transaction Info API to fetch the status of a transaction. To receive unpaid notifications, partners are required to prepare Callback URLs for sandbox and production environments. For UNPAID to PAID transactions. In the sandbox environment, the notification will be sent in under 5 minutes. For UNPAID to FAILED transactions In the sandbox environment, the notification will be sent at odd hours e.g. 1 P.M., 3 P.M., 5 P.M., and so on.
Merchant url path for receiving Unpaid notification by KIRIMDOKU provided by partner
Unique reference identification sent by the API partner.
fd53b1e3-9c35-4dfa-a95ca8dbc5695485
Hash key of authorization agent
A41418
Unique authorization code generated by partner validated by KIRIMDOKU
ieNOENDdN4MnectGytx5UvmOfASZ2oGWMCJ8gVqkw3tB98ofgY9cbxSeY4IYoYeoKs+0QP4h8BTBhemlfeXp1w==
The Content-Type field indicates that JSON type is acceptable to send to the recipient
application/json
Transaction identifier on service consumer system, generated by partner.
DK0018353
Transaction ID that have been updated
I088787987870912
Remit transaction status. Use this status to determine whether the beneficiary is receiving the funds or not. 50: Success, 35: Failed, 20: Unpaid, 40: Refunded.
50
Specific notification code
200
Notification message “Transaction is Success” or “Transaction is Failed”
Transaction is Success
Update time in yyyy-MM-ddTHH:mm:ss format
2024-01-12'T'07:30:12
Payment creation time in Epoch time format
1699520040340
Notification processed Successfully
POST /{merchantUrlUnpaidNotification} HTTP/1.1
Host: {merchant-domain}
requestId: text
agentKey: text
signature: text
Content-Type: application/json
Accept: */*
Content-Length: 232
{
"sendTrxId": "text",
"transactionId": "DK0018353",
"invoiceNumber": "I088787987870912",
"transactionStatus": "50",
"activityCode": "200",
"message": "Transaction is Success",
"processDate": "2024-01-12'T'07:30:12",
"createdTime": "1699520040340"
}
Notification processed Successfully
{
"status": true,
"transactionId": "DK0018353",
"responseCode": "00",
"responseMessage": "Successfully processed"
}
Last updated
Was this helpful?