Non-SNAP
To get the status of a transaction, you can send a request to DOKU Check Status API. It will response with the transaction status. This method requires the transaction order.invoice_number
(or Request-Id
) as the identifier.
Hit Check status after 60 seconds after payment completion!
To get the status for the transaction, please ensure your application is already hit after 60 seconds after payment completion.
API Request
Type | Value |
---|---|
HTTP Method | GET |
API endpoint (Sandbox) |
|
API endpoint (Production) |
|
Here is the sample of notification request header:
Request Header Explanation
Parameter | Description |
---|---|
| Client ID retrieved from DOKU Back Office |
| Unique random string (max 128 characters) generated from merchant side to protect duplicate request |
| Timestamp request on UTC time in ISO8601 UTC+0 format. It means to proceed transaction on UTC+7 (WIB), merchant need to subtract time with 7. Ex: to proceed transaction on September 22th 2020 at 08:51:00 WIB, the timestamp should be 2020-09-22T01:51:00Z |
| Security parameter that needs to be generated on merchant Backend and placed to the header request to ensure that the request is coming from valid merchant. Please refer to this section to generate the signature |
Signature Generation for GET Method
For GET Method, you don't need to generate a Digest. Learn more on this section.
API Response
The response will be similar to HTTP notification. Some parameters might not be presented in certain status cases, please check our Postman Collection to try it out yourself.
Online to Offline
Alfa
Indomaret
The response will be similar to HTTP notification. Some parameters might not be presented in certain status cases, please check our Postman Collection to try it yourself.
Alfa O2O Notification Explanation
Parameter | Type | Mandatory | Description |
---|---|---|---|
|
| Mandatory | The invoice number that sent when initate the payment |
|
| Mandatory | The amount of the transaction |
|
| Mandatory | The transaction status to be use to update the status on merchant side
Possible value: |
|
| Mandatory | The date when the transaction is completed by the customer in ISO 8601 format (UTC + 0) |
|
| Mandatory | The request ID that sent when initiate the payment |
|
| Mandatory | The service that is used for the transaction |
|
| Mandatory | The acquirer that processed the transaction |
|
| Mandatory | The channel of the transaction |
|
| Mandatory | Journey id for transaction |
|
| Mandatory | Created date for Transaction |
|
| Mandatory | Expired date for Transaction |
|
| Mandatory | Reusable status for Payment Code |
|
| Mandatory | Identifier for Transaction |
e-Wallet
DOKU e-Wallet
OVO Push Payment
OVO Recurring
Link Aja
The response will be similar to HTTP notification. Some parameters might not be presented in certain status cases, please check our Postman Collection to try it yourself.
Direct Debit
Direct Debit Notification Explanation
Parameter | Type | Mandatory | Description |
---|---|---|---|
|
| Mandatory | Same as the request that merchant sent on the payment initiation |
|
| Mandatory | Same as the request that merchant sent on the payment initiation |
|
| Mandatory | The transaction status to be use to update the status on merchant side
Possible value: |
|
| Mandatory | The date when the transaction is completed by the customer in ISO 8601 format (UTC + 0) |
|
| Mandatory | The request ID that sent when initiate the payment |
|
| Mandatory | The service that is used for the transaction |
|
| Mandatory | The acquirer that processed the transaction |
|
| Mandatory | The channel of the transaction |
|
| Optional | The masked card number that charged for this transaction |
|
| Optional | The token that will be use for this transaction |
|
| Optional | DOKU / Acquirer response code Possible value: see here |
|
| Optional | DOKU / Acquirer response code Possible value: see here |
Cards
Sale
Recurring
Authorize
Capture
The response will be similar to HTTP notification. Some parameters might not be presented in certain status cases, please check our Postman Collection to try it yourself.
Credit Card Notification Explanation
Parameter | Type | Mandatory | Description |
---|---|---|---|
|
| Mandatory | Same as the request that merchant sent on the payment initiation |
|
| Mandatory | Same as the request that merchant sent on the payment initiation |
|
| Mandatory | The transaction status to be use to update the status on merchant side
Possible value: |
|
| Mandatory | The date when the transaction is completed by the customer in ISO 8601 format (UTC + 0) |
|
| Conditional | Type for Credit Card Transaction.
Mandatory if |
|
| Mandatory | The request ID that sent when initiate the payment |
|
| Mandatory | The service that is used for the transaction |
|
| Conditional | The acquirer that processed the transaction.
Mandatory if |
|
| Mandatory | The channel of the transaction |
|
| Conditional | The masked card number that charged for this transaction.
Mandatory if |
|
| Conditional | Acquirer approval code for this transaction.
Mandatory if |
|
| Conditional | Acquirer response code.
Mandatory if |
|
| Conditional | Acquirer response code
Mandatory if |
|
| Conditional | Type for Credit Card Transaction.
Mandatory if |
|
| Mandatory | Payment acquiring_off_us_status
Possible value: |
|
| Mandatory | Request ID for transaction |
|
| Conditional | Card type.
Mandatory if |
|
| Optional | Three dsecure status
Possible value: |
|
| Conditional | Card issuer.
Mandatory if |
|
| Mandatory | Transaction status
Possible value: |
|
| Conditional | Card brand.
Mandatory if |
|
| Optional | Transaction card date |
|
| Optional | Transaction authorize ID |
|
| Optional | Transaction authentication ID |
Parameter | Type | Mandatory | Description |
---|---|---|---|
|
| Mandatory | Same as the request that merchant sent on the payment initiation |
|
| Mandatory | Same as the request that merchant sent on the payment initiation |
|
| Mandatory | The transaction status to be use to update the status on merchant side
Possible value: |
|
| Mandatory | The date when the transaction is completed by the customer in ISO 8601 format (UTC + 0) |
|
| Conditional | Type for Credit Card Transaction.
Mandatory if |
|
| Mandatory | The request ID that sent when initiate the payment |
|
| Mandatory | The service that is used for the transaction |
|
| Conditional | The acquirer that processed the transaction.
Mandatory if |
|
| Mandatory | The channel of the transaction |
|
| Conditional | The masked card number that charged for this transaction.
Mandatory if |
|
| Conditional | Acquirer approval code for this transaction.
Mandatory if |
|
| Conditional | Acquirer response code.
Mandatory if |
|
| Conditional | Acquirer response code
Mandatory if |
|
| Conditional | Type for Credit Card Transaction.
Mandatory if |
|
| Mandatory | Payment acquiring_off_us_status
Possible value: |
|
| Mandatory | Request ID for transaction |
|
| Conditional | Card type.
Mandatory if |
|
| Optional | Three dsecure status
Possible value: |
|
| Conditional | Card issuer.
Mandatory if |
|
| Mandatory | Transaction status
Possible value: |
|
| Conditional | Card brand.
Mandatory if |
|
| Optional | Transaction card date |
|
| Optional | Transaction authorize ID |
|
| Optional | Credit Card Notification Explanation |
Last updated