Non-SNAP
Last updated
Last updated
DOKU API
Legacy DocumentationTo 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.
Here is the list of status that DOKU will provide for the transaction.status
:
Name | Description | Final Status | Merchant Action | Applicable for Channels |
---|---|---|---|---|
Type | Value |
---|---|
Here is the sample of notification request header:
Client-Id: MCH-0001-10791114622547
Request-Id: e71fe02a-bfef-4af9-a6f6-2cf1f03b00e7
Request-Timestamp: 2020-11-18T08:45:42Z
Signature: HMACSHA256=vl9DBTX5KhEiXmnpOD0TSm8PYQknuHPdyHSTSc3W6Ps=
Signature Generation for GET Method
For GET Method, you don't need to generate a Digest. Learn more on this section.
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.
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.
{
"order": {
"invoice_number": "INV-67220100000",
"amount": 120000
},
"transaction": {
"status": "SUCCESS",
"date": "2021-12-29T02:37:35Z",
"original_request_id": "INV-67220100000"
},
"service": {
"id": "ONLINE_TO_OFFLINE"
},
"acquirer": {
"id": "ALFA"
},
"channel": {
"id": "ONLINE_TO_OFFLINE_ALFA"
},
"online_to_offline_info": {
"created_date": "20211229093735",
"expired_date": "20211229100732",
"reusable_status": "false"
},
"online_to_offline_payment": {
"identifier": [
{
"name": "AGENT_ID",
"value": "ALFAMART"
},
{
"name": "AGENT_STORE_ID",
"value": "store"
},
{
"name": "AGENT_TRX_ID",
"value": "505045001763766906"
}
]
}
}
{
"order": {
"invoice_number": "INV-1640746942",
"amount": 150000
},
"transaction": {
"status": "SUCCESS",
"date": "2021-12-28T20:03:37Z",
"original_request_id": "91c65738-4148-4862-8147-009728097e17"
},
"service": {
"id": "ONLINE_TO_OFFLINE"
},
"acquirer": {
"id": "INDOMARET"
},
"channel": {
"id": "ONLINE_TO_OFFLINE_INDOMARET"
},
"online_to_offline_info": {
"created_date": "20211229030337",
"expired_date": "20211229040224",
"reusable_status": false
},
"online_to_offline_payment": {
"identifier": [
{
"name": "AGENT_ID",
"value": "s0337180"
},
{
"name": "MESSAGE_ID",
"value": "messageId0337180"
},
{
"name": "TRACKING_REF",
"value": "tracking0337180"
}
]
}
}
Alfa O2O Notification Explanation
Indomaret O2O Notification Explanation
DANA
ShopeePay
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.
{
"order": {
"invoice_number": "INV-1724393502",
"amount": 1.00
},
"transaction": {
"status": "SUCCESS",
"type": "SALE",
"date": "2024-08-23T06:11:52Z",
"original_request_id": "3348ca8d-f82b-41ce-aeb1-5d7efe8cf309",
"service_code": "54"
},
"acquirer": {
"id": "DANA",
"name": "DANA Snap Direct Debit"
},
"channel": {
"id": "EMONEY_DANA"
},
"additional_info": {
"supportDeepLinkCheckoutUrl": "false",
"origin": {
"product": "CHECKOUT",
"source": "direct",
"system": "mid-jokul-checkout-system",
"apiFormat": "JOKUL"
},
"line_items": [
{
"name": "Very Long Name Which Is Very Loooooong",
"price": "1",
"quantity": 1.0
}
],
"orderTitle": "INV-1724393502",
"account": {
"accountNo": "http://doku.com/",
"accountName": "http://doku.com/"
},
"channelId": "http://doku.com/"
},
"emoney_payment": {
"status": "PENDING",
"date": "20240823131152",
"approval_code": "v6GZT6pvyHh1basLKudYvkQbpVSs6dvvtbFijLdinbyBSgGdEpCsWmMdgsuYVoT7",
"response_code": "2005400",
"response_message": "Success"
},
"emoney_configuration": {
"sub_merchant_id": "test"
}
}
{
"order": {
"invoice_number": "INV-testCheckStatusShopeepay",
"amount": 80003
},
"transaction": {
"status": "SUCCESS",
"date": "2024-08-23T04:34:58Z",
"original_request_id": "e9dacd5d-3a63-4776-ac4a-fec9eb4b71a6"
},
"acquirer": {
"id": "SHOPEE_PAY",
"name": "Shopee Pay"
},
"channel": {
"id": "EMONEY_SHOPEE_PAY"
},
"additional_info": {
"origin": {
"source": "direct",
"system": "mid-jokul-checkout-system",
"product": "CHECKOUT",
"apiFormat": "JOKUL"
},
"line_items": [
{
"sku": "FF01",
"url": "http://item-url.domain/",
"name": "Fresh flowers",
"type": "ABC",
"price": "40003",
"category": "others",
"quantity": 1.0,
"image_url": "http://image-url.domain/"
},
{
"sku": "T01",
"url": "http://item-url.domain/",
"name": "T-shirt",
"type": "ABC",
"price": "40000",
"category": "others",
"quantity": 1.0,
"image_url": "http://image-url.domain/"
}
],
"allow_tenor": [
0.0,
3.0,
6.0,
12.0
],
"doku_wallet_notify_url": "https://dw-notification.merchantdomain"
},
"shopeepay_payment": {
"status": "SUCCESS",
"date": "20240823113458",
"identifier": [
{
"name": "PAYMENT_REFERENCE_ID",
"value": "INV-testCheckStatusDANA"
},
{
"name": "TRANSACTION_SN",
"value": "7803086338142291260544613762532053068807260727842944261355953953"
},
{
"name": "USER_ID_HASH",
"value": "0272317754971626181110118654850459524546253866569833098069226095"
}
]
},
"shopeepay_configuration": {
"merchant_ext_id": "BRN-0234-1681288290275",
"payment_return_url": "https://dashboard.doku.com/docs",
"store_ext_id": "BRN-0234-1681288290275"
}
}
{
"order": {
"invoice_number": "INV-20210124-0001",
"amount": 150000
},
"transaction": {
"status": "SUCCESS",
"date": "2021-08-24T06:55:37Z",
"original_request_id": "6503362"
},
"service": {
"id": "EMONEY"
},
"acquirer": {
"id": "OVO"
},
"channel": {
"id": "EMONEY_OVO"
},
"ovo_payment": {
"status": "SUCCESS",
"date": "20210824135537",
"batch_number": 195,
"trace_number": 6503362,
"reference_number": 10,
"approval_code": "4318514",
"response_code": "00",
"cash_used": 150000,
"cash_balance": 9850000,
"ovo_points_used": 0,
"ovo_points_balance": 10000000,
"ovo_points_earned": 0
},
"ovo_configuration": {
"merchant_id": "123456",
"tid": "4562019",
"mid": "Doku20191241234",
"store_code": "Doku2019"
},
"ovo_info": {
"ovo_account_name": "testing Doku",
"ovo_id": "081211111111"
}
}
Coming Soon
Coming Soon
Coming Soon
OVO E-Money Check Status Explanation
Coming Soon
Coming Soon
{
"order": {
"amount": 500000,
"invoice_number":"INV-20210217-0003"
},
"channel":{
"id":"DIRECT_DEBIT_BRI"
},
"service":{
"id":"DIRECT_DEBIT"
},
"acquirer":{
"id":"BRI"
},
"transaction":{
"date":"2021-02-17T09:50:17.235078",
"status":"SUCCESS",
"original_request_id":"20210217095009645"
},
"card_payment":{
"payment_id":"432828221538",
"response_code":"0000",
"response_message":"SUCCESS",
"masked_card_number":"************8232"
}
}
Direct Debit Notification Explanation
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.
{
"order": {
"invoice_number": "INV-1645668870",
"amount": 90000
},
"transaction": {
"status": "SUCCESS",
"date": "2022-02-24T02:15:05Z",
"type": "RECURRING",
"original_request_id": "091773eb-a482-408d-949d-73281d91f610"
},
"service": {
"id": "CREDIT_CARD"
},
"acquirer": {
"id": "BANK_MANDIRI"
},
"channel": {
"id": "CREDIT_CARD"
},
"card_payment": {
"card_masked": "461700*******6656",
"approval_code": "194462",
"response_code": "00",
"response_message": "PAYMENT APPROVED",
"type": "RECURRING",
"acquiring_off_us_status": "FALSE",
"request_id": "091773eb-a482-408d-949d-73281d91f610",
"card_type": "Debit",
"three_dsecure_status": "TRUE",
"issuer": "PT. BANK MANDIRI (PERSERO), Tbk",
"transaction_status": "SUCCESS",
"brand": "VISA",
"date": "2022-02-24T02:15:05Z"
}
}
{
"order": {
"invoice_number": "INV-1645668870",
"amount": 90000
},
"transaction": {
"status": "SUCCESS",
"date": "2022-02-24T02:15:05Z",
"type": "RECURRING",
"original_request_id": "091773eb-a482-408d-949d-73281d91f610"
},
"service": {
"id": "CREDIT_CARD"
},
"acquirer": {
"id": "BANK_MANDIRI"
},
"channel": {
"id": "CREDIT_CARD"
},
"card_payment": {
"card_masked": "461700*******6656",
"approval_code": "194462",
"response_code": "00",
"response_message": "PAYMENT APPROVED",
"type": "RECURRING",
"acquiring_off_us_status": "FALSE",
"request_id": "091773eb-a482-408d-949d-73281d91f610",
"card_type": "Debit",
"three_dsecure_status": "TRUE",
"issuer": "PT. BANK MANDIRI (PERSERO), Tbk",
"transaction_status": "SUCCESS",
"brand": "VISA",
"date": "2022-02-24T02:15:05Z"
}
}
{
"order": {
"invoice_number": "INV-1645668870",
"amount": 90000
},
"transaction": {
"status": "PENDING",
"date": "2022-02-24T02:15:05Z",
"type": "AUTHORIZE",
"original_request_id": "091773eb-a482-408d-949d-73281d91f610"
},
"service": {
"id": "CREDIT_CARD"
},
"acquirer": {
"id": "BANK_MANDIRI"
},
"channel": {
"id": "CREDIT_CARD"
},
"card_payment": {
"card_masked": "461700*******6656",
"approval_code": "194462",
"response_code": "00",
"response_message": "PAYMENT APPROVED",
"type": "AUTHORIZE",
"acquiring_off_us_status": "FALSE",
"request_id": "091773eb-a482-408d-949d-73281d91f610",
"card_type": "Debit",
"three_dsecure_status": "TRUE",
"issuer": "PT. BANK MANDIRI (PERSERO), Tbk",
"transaction_status": "SUCCESS",
"brand": "VISA",
"date": "2022-02-24T02:15:05Z",
"authorize_id": "16837980314548456",
"authentication_id": "baf706e020fa7cf89be687dbac665f1657def6629331716555974ff926013acb",
}
}
{
"order": {
"invoice_number": "INV-1645668870",
"amount": 90000
},
"transaction": {
"status": "SUCCESS",
"date": "2022-02-24T02:15:05Z",
"type": "CAPTURE",
"original_request_id": "091773eb-a482-408d-949d-73281d91f610"
},
"service": {
"id": "CREDIT_CARD"
},
"acquirer": {
"id": "BANK_MANDIRI"
},
"channel": {
"id": "CREDIT_CARD"
},
"card_payment": {
"card_masked": "461700*******6656",
"approval_code": "194462",
"response_code": "00",
"response_message": "PAYMENT APPROVED",
"type": "CAPTURE",
"acquiring_off_us_status": "FALSE",
"request_id": "091773eb-a482-408d-949d-73281d91f610",
"card_type": "Debit",
"three_dsecure_status": "TRUE",
"issuer": "PT. BANK MANDIRI (PERSERO), Tbk",
"transaction_status": "SUCCESS",
"brand": "VISA",
"date": "2022-02-24T02:15:05Z"
"authorize_id": "16837980314548456",
}
}
Credit Card Notification Explanation
Credit Card Notification Explanation
Credit Card Notification Explanation
Credit Card Notification Explanation
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.
{
"order": {
"invoice_number": "invoice-000001014123sdd4",
"amount": 110000
},
"transaction": {
"status": "PENDING",
"date": "2024-07-12T06:47:40Z",
"original_request_id": "93337206-946b-4949-b0c9-15cd04556e09"
},
"service": {
"id": "PEER_TO_PEER"
},
"acquirer": {
"id": "AKULAKU",
"name": "Akulaku"
},
"channel": {
"id": "PEER_TO_PEER_AKULAKU"
},
"peer_to_peer_payment": {
"status": "PENDING",
"date": "2024-07-12T06:47:40Z",
"identifier": [
{
"name": "merchant_unique_reference",
"value": "TEST-ABC-000104"
},
{
"name": "akulaku_unique_reference",
"value": "MCH-0008-1218873017641TEST-ABC-000104"
},
{
"name": "order_id",
"value": "MCH-0008-1218873017641TEST-ABC-000104"
}
]
}
}
{
"order": {
"invoice_number": "invoice-000001014123sdd4",
"amount": 110000
},
"transaction": {
"status": "PENDING",
"date": "2024-07-12T06:47:40Z",
"original_request_id": "93337206-946b-4949-b0c9-15cd04556e09"
},
"service": {
"id": "PEER_TO_PEER"
},
"acquirer": {
"id": "KREDIVO",
"name": "Kredivo"
},
"channel": {
"id": "PEER_TO_PEER_KREDIVO"
},
"peer_to_peer_payment": {
"status": "PENDING",
"date": "2024-07-12T06:47:40Z",
"identifier": [
{
"name": "merchant_unique_reference",
"value": "TEST-ABC-000104"
},
{
"name": "kredivo_unique_reference",
"value": "MCH-0008-1218873017641TEST-ABC-000104"
},
{
"name": "order_id",
"value": "MCH-0008-1218873017641TEST-ABC-000104"
}
]
}
}
{
"order": {
"invoice_number": "invoice-000001014123sdd4",
"amount": 110000
},
"transaction": {
"status": "PENDING",
"date": "2024-07-12T06:47:40Z",
"original_request_id": "93337206-946b-4949-b0c9-15cd04556e09"
},
"service": {
"id": "PEER_TO_PEER"
},
"acquirer": {
"id": "INDODANA",
"name": "Indodana"
},
"channel": {
"id": "PEER_TO_PEER_INDODANA"
},
"peer_to_peer_payment": {
"status": "PENDING",
"date": "2024-07-12T06:47:40Z",
"identifier": [
{
"name": "merchant_unique_reference",
"value": "TEST-ABC-000104"
},
{
"name": "indodana_unique_reference",
"value": "MCH-0008-1218873017641TEST-ABC-000104"
},
{
"name": "order_id",
"value": "MCH-0008-1218873017641TEST-ABC-000104"
}
]
}
}
Response Explanation
Parameter | Description |
---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|
Parameter | Type | Mandatory | Description |
---|---|---|---|