Query Payment
POST/rest/v1.1/debit/status
This API is used to inquiry payment status and information from merchant's platform to DANA
API Type
SNAP API
Expected Timeout
8 second
SNAP Service Code
55
Accept
application/json
Content Type
applciation/json
This API is used for the following solution:
Seamlessly integrate DANA payments into merchant's platform, allowing customers to link their DANA accounts for faster, smoother transactions across all merchant's services.
This API is used for the following solution:
Integrate DANA as a payment method in merchant's platform without account binding. Users simply select DANA, get redirected to the DANA App, and complete payments using their DANA account.
Content-Type
string
1 - 127 charactersRequiredContent type, value always
application/json
X-TIMESTAMP
string
25 charactersRequiredTransaction date time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
X-SIGNATURE
string
RequiredSignature need to be generated with
asymmetricSignature
methodORIGIN
string
Origin domain
X-PARTNER-ID
string
1 - 36 charactersRequiredUnique identifier for partner was generated by DANA, or known as clientId
X-EXTERNAL-ID
string
1 - 36 charactersRequiredUnique messaging reference identifier generated by merchant and should be unique within the same day
CHANNEL-ID
string
1 - 5 charactersRequiredDevice identification on which the API services is currently being accessed by the end user (customer)
originalPartnerReferenceNo
string
1 - 64 charactersConditionalOriginal transaction identifier on partner system
Conditional Info
Y:= originalReferenceNo is blank
originalReferenceNo
string
1 - 64 charactersConditionalOriginal transaction identifier on DANA system
Conditional Info
Y:= originalPartnerReferenceNo is blank
originalExternalId
string
1 - 36 charactersOriginal external identifier on header message
serviceCode
string
2 charactersRequiredTransaction type indicator is based on the service code of the original transaction request
transactionDate
string
25 charactersTransaction date, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
amount
money
Amount. Contains two sub-fields:
1. Value: Transaction amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Transaction amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
merchantId
string
1 - 64 charactersRequiredMerchant identifier that is unique per each merchant
subMerchantId
string
1 - 32 charactersInformation of sub merchant identifier
externalStoreId
string
1 - 64 charactersStore identifier to indicate to which store this payment belongs to
additionalInfo
json object
Additional information
POST .../rest/v1.1/debit/status HTTP/1.2
Content-type: application/json
X-TIMESTAMP: 2020-12-23T08:31:11+07:00
X-SIGNATURE: 85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5
ORIGIN: www.hostname.com
X-PARTNER-ID: 82150823919040624621823174737537
X-EXTERNAL-ID: 41807553358950093184162180797837
CHANNEL-ID: 95221
{
"originalPartnerReferenceNo":"2020102900000000000001",
"originalReferenceNo":"2020102977770000000009",
"originalExternalId":"30443786930722726463280097920912",
"serviceCode": "XX",
"transactionDate":"2020-12-21T14:56:11+07:00",
"amount": {
"value":"12345678.00",
"currency":"IDR"
},
"merchantId": "23489182303312",
"subMerchantId": "23489182303312",
"externalStoreId":"183908924912387",
"additionalInfo":{}
}
Content-Type
string
1 - 127 charactersRequiredContent type, value always
application/json
X-TIMESTAMP
string
25 charactersRequiredTransaction date time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
responseCode
string
7 charactersRequiredRefer to response code list
responseMessage
string
1 - 150 charactersRequiredRefer to response code list
originalPartnerReferenceNo
string
1 - 64 charactersConditionalOriginal transaction identifier on partner system
Conditional Info
Y:= Transaction found
originalReferenceNo
string
1 - 64 charactersConditionalOriginal transaction identifier on DANA system
Conditional Info
Y:= Transaction found
originalExternalId
string
1 - 32 charactersOriginal external identifier on header message
serviceCode
string
2 charactersRequiredTransaction type indicator is based on the service code of the original transaction request
latestTransactionStatus
string
2 charactersRequiredCategory code for the status of the transaction. The values include:
•
•
•
•
•
•
00
= Success, the order has been successfully in final state and paid •
01
= Initiated, the order has been created, but has not been paid •
02
= Paying, the order is in process, not in final state, payment is success •
05
= Cancelled, the order has been closed •
07
= Not found, the order is not foundtransactionStatusDesc
string
1 - 50 charactersDescription of transaction status
originalResponseCode
string
1 - 7 charactersOriginal response code, refer to response code list
originalResponseMessage
string
1 - 150 charactersOriginal response message, refer to response code list
sessionId
string
1 - 25 charactersSession identifier
requestID
string
1 - 25 charactersTransaction request identifier
transAmount
money
ConditionalTrans amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
Conditional Info
Y:= Transaction found
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
amount
money
ConditionalAmount. Contains two sub-fields:
1. Value: Transaction amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Transaction amount, including the cents
2. Currency: Currency code based on ISO
Conditional Info
Y:= Transaction found
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
feeAmount
money
Fee amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
paidTime
string
25 charactersConditionalTransaction paid time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
Conditional Info
Y:= Transaction is paid
title
string
1 - 256 charactersConditionalBrief description
Conditional Info
Y:= Transaction found
additionalInfo
json object
Additional information
additionalInfo.buyer
json object
Additional information of buyer
userId
string
1 - 32 charactersDANA's user identifier
externalUserId
string
1 - 32 charactersConditionalExternal user identifier
Conditional Info
Y:= externalUserType is filled
externalUserType
string
1 - 32 charactersConditionalType of external user
Conditional Info
Y:= externalUserId is filled
nickname
string
1 - 64 charactersNickname, user's nick name in DANA's
additionalInfo.seller
json object
Additional information of seller
userId
string
1 - 32 charactersDANA's user identifier
externalUserId
string
1 - 32 charactersConditionalExternal user identifier
Conditional Info
Y:= externalUserType is filled
externalUserType
string
1 - 32 charactersConditionalType of external user
Conditional Info
Y:= externalUserId is filled
nickname
string
1 - 64 charactersNickname, user's nick name in DANA's
additionalInfo.amountDetail
json object
ConditionalAdditional information of amount detail
Conditional Info
Y:= Transaction found
orderAmount
money
RequiredOrder amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
payAmount
money
Pay amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
voidAmount
money
Void amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
confirmAmount
money
Confirm amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
refundAmount
money
Refund amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
chargebackAmount
money
Chargeback amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
chargeAmount
money
Charge amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
additionalInfo.timeDetail
json object
ConditionalAdditional information of time detail
Conditional Info
Y:= Transaction found
createdTime
string
25 charactersRequiredTime of created order, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
expiryTime
string
25 charactersRequiredTime of expiry order, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
paidTimes
array of string
Time of paid order, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
confirmedTimes
array of string
Time of confirmed order, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
cancelledTime
string
25 charactersTime of cancelled order, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
additionalInfo.goods
array of json object
Additional information of goods
merchantGoodsId
string
1 - 64 charactersRequiredGoods identifier provided by merchant
description
string
1 - 1024 charactersRequiredGoods description
category
string
1 - 64 charactersRequiredGoods category
price
money
RequiredGoods price. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
unit
string
1 - 64 charactersGoods unit
quantity
string
1 - 16 charactersRequiredCount of items
merchantShippingId
string
1 - 64 charactersShipment identifier provided by merchant
snapshotUrl
string
1 - 512 charactersThe URL of good's snapshot web page
extendInfo
string
1 - 4096 charactersExtend information
additionalInfo.shippingInfo
array of json object
Additional information of shipping
merchantShippingId
string
1 - 64 charactersRequiredMerchant shipping identifier
trackingNo
string
1 - 64 charactersNumber of tracking
carrier
string
1 - 64 charactersInformation of carrier
chargeAmount
money
Charge amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
countryName
string
1 - 64 charactersRequiredName of country
stateName
string
1 - 64 charactersRequiredName of state
cityName
string
1 - 64 charactersRequiredName of city
areaName
string
1 - 64 charactersName of area
address1
string
1 - 256 charactersRequiredInformation of address 1
address2
string
1 - 256 charactersInformation of address 2
firstName
string
1 - 64 charactersRequiredFirst name
lastName
string
1 - 64 charactersRequiredLast name
mobileNo
string
1 - 32 charactersMobile number
phoneNo
string
1 - 32 charactersPhone number
zipCode
string
1 - 32 charactersRequiredZip Code
email
string
1 - 128 charactersEmail
faxNo
string
1 - 32 charactersFax number
additionalInfo.orderMemo
string
1 - 64 charactersAdditional information of memo
additionalInfo.paymentViews
array of json object
ConditionalAdditional information of payment views
Conditional Info
Y:= Transaction found
cashierRequestId
string
1 - 64 charactersRequiredCashier request identifier
paidTime
string
25 charactersRequiredInformation of paid time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
payOptionInfos
array of json object
RequiredInformation of pay option. Refer to payOptionInfos for the detailed
payMethod
string
1 - 64 charactersRequiredPayment method name, refer to PayMethodEnum
BALANCE
string
Payment method with balance
COUPON
string
Payment method with coupon
NET_BANKING
string
Payment method with internet banking
CREDIT_CARD
string
Payment method with credit card
DEBIT_CARD
string
Payment method with debit card
VIRTUAL_ACCOUNT
string
Payment method with virtual account
OTC
string
Payment method with OTC
DIRECT_DEBIT_CREDIT_CARD
string
Payment method with direct debit of credit card
DIRECT_DEBIT_DEBIT_CARD
string
Payment method with direct debit of debit card
ONLINE_CREDIT
string
Payment method with online credit
LOAN_CREDIT
string
Payment method with DANA Cicil
NETWORK_PAY
string
Payment method with e-wallet
VIRTUAL_ACCOUNT
string
Payment method with virtual account
payOption
string
1 - 64 charactersPayment option which shows the provider of this payment, refer to PayOptionEnum
NETWORK_PAY_PG_SPAY
string
Payment method with ShopeePay e-wallet
NETWORK_PAY_PG_OVO
string
Payment method with OVO e-wallet
NETWORK_PAY_PG_GOPAY
string
Payment method with Gopay e-wallet
NETWORK_PAY_PG_LINKAJA
string
Payment method with LinkAja e-wallet
NETWORK_PAY_PG_CARD
string
Payment method with Card
VIRTUAL_ACCOUNT_BCA
string
Payment method with BCA virtual account
VIRTUAL_ACCOUNT_BNI
string
Payment method with BNI virtual account
VIRTUAL_ACCOUNT_MANDIRI
string
Payment method with Mandiri virtual account
VIRTUAL_ACCOUNT_BRI
string
Payment method with BRI virtual account
VIRTUAL_ACCOUNT_BTPN
string
Payment method with BTPN virtual account
VIRTUAL_ACCOUNT_CIMB
string
Payment method with CIMB virtual account
VIRTUAL_ACCOUNT_PERMATA
string
Payment method with Permata virtual account
payAmount
money
RequiredPay amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
transAmount
money
Trans amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
chargeAmount
money
Charge amount. Contains two sub-fields:
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
1. Value: Amount, including the cents
2. Currency: Currency code based on ISO
value
string
1 - 19 charactersRequiredValue of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
currency
string
1 - 3 charactersRequiredCurrency
payOptionBillExtendInfo
string
1 - 4096 charactersExtend information of pay option bill
extendInfo
string
1 - 4096 charactersExtend information
payRequestExtendInfo
string
1 - 4096 charactersExtend information of pay request
extendInfo
string
1 - 4096 charactersExtend information
additionalInfo.extendInfo
string
1 - 4096 charactersAdditional information of extend
additionalInfo.statusDetail
json object
Additional information of status detail
acquirementStatus
string
1 - 64 charactersRequiredThe status of acquirement, refer to StatusDetailEnum
INIT
string
Order is created but not paid yet
SUCCESS
string
Order is succeeded
CLOSED
string
Order is closed
PAYING
string
Order is paid but not finish
MERCHANT_ACCEPT
string
Order is accepted by merchant after order is paid for PAY-CONFIRM
CANCELLED
string
Order is cancelled
frozen
boolean
1 - 64 charactersRequiredWhether the frozen is true or not
cancelled
boolean
1 - 64 charactersRequiredWhether the cancelled is true or no
additionalInfo.closeReason
string
1 - 128 charactersAdditional information of close reason
additionalInfo.virtualAccountInfo
json object
ConditionalAdditional information of virtual account.
Conditional Info
Y:= VA Payment
virtualAccountCode
string
1 - 64 charactersConditionalVirtual account code
Conditional Info
Y:= Successfully Processed if payMethod is
VIRTUAL_ACCOUNT
virtualAccountExpiryTime
string
25 charactersConditionalExpiry time of virtual account, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
Conditional Info
Y:= Successfully Processed if payMethod is
VIRTUAL_ACCOUNT
signature
string
1 - 128 charactersConditionalSignature of virtual account, the detail refer to notes below
Conditional Info
Y:= Successfully Processed if payMethod is
VIRTUAL_ACCOUNT
Signature Verification
DANA recommends partners verify the signature whenever they receive our virtual code response. This prevents virtual account number tampering and ensures the validity of the virtual account. Refer to the following steps:
- Prepare the data of virtual account info as string to sign, the following is the example:
- Minify the JSON data
- Decode the signature with base64.
- Decrypt the signature using public key which is given by DANA.
- Verify the correctness of the signature based on SHA-256 with RSA-2048 encryption signing against the string to sign.
{
"virtualAccountCode":"37218738131",
"virtualAccountExpiryTime":"2020-12-23T09:10:11+07:00"
}
{"virtualAccountCode":"37218738131","virtualAccountExpiryTime":"2020-12-23T09:10:11+07:00"}
Content-Type: application/json
X-TIMESTAMP: 2020-12-23T09:10:11+07:00
{
"responseCode": "2005500",
"responseMessage": "Successful",
"originalPartnerReferenceNo": "2020102900000000000001",
"originalReferenceNo": "2020102977770000000009",
"originalExternalId": "30443786930722726463280097920912",
"serviceCode": "XX",
"latestTransactionStatus": "00",
"transactionStatusDesc": "success",
"originalResponseCode": "2005500",
"originalResponseMessage": "Successful",
"sessionId": "883737GHY8839",
"requestID": "3763773",
"transAmount": {
"currency": "IDR",
"value": "239.00"
},
"amount": {
"currency": "IDR",
"value": "239.00"
},
"feeAmount": {
"currency": "IDR",
"value": "239.00"
},
"paidTime": "2020-12-21T14:56:11+07:00",
"title": "CITestGoods",
"additionalInfo": {
"buyer": {
"userId": "20160322334445555",
"externalUserId": "",
"externalUserType": "",
"nickname": "mike"
},
"seller": {
"userId": "20160322334445555",
"externalUserId": "",
"externalUserType": "",
"nickname": "mike"
},
"amountDetail": {
"orderAmount": {
"currency": "IDR",
"value": "239.00"
},
"payAmount": {
"currency": "IDR",
"value": "239.00"
},
"voidAmount": {
"currency": "IDR",
"value": "239.00"
},
"confirmAmount": {
"currency": "IDR",
"value": "239.00"
},
"refundAmount": {
"currency": "IDR",
"value": "239.00"
},
"chargebackAmount": {
"currency": "IDR",
"value": "239.00"
},
"chargeAmount": {
"currency": "IDR",
"value": "239.00"
}
},
"timeDetail": {
"createdTime": "2001-07-04T12:08:56+07:00",
"expiryTime": "2001-07-04T12:08:56+07:00",
"paidTimes": [
"2001-07-04T12:08:56+07:00"
],
"confirmedTimes": [
"2001-07-04T12:08:56+07:00"
],
"cancelledTime": "2001-07-04T12:08:56+07:00"
},
"goods": [
{
"merchantGoodsId": "24525635625623",
"description": "Women Summer Dress New White Lace Sleeveless\nCute Casual Summer Dresses Vestidos roupas femininas WQW1045",
"category": "travelling/subway",
"price": {
"currency": "IDR",
"value": "239.00"
},
"unit": "Kg",
"quantity": "3.2",
"merchantShippingId": "564314314574327545",
"snapshotUrl": "[http://snap.url.com]",
"extendInfo": "{ \"objectId\": \"87884393857\",\"objectCode\": \"62\",\"objectOperator\": \"Telkomsel\"}"
}
],
"shippingInfo": [
{
"merchantShippingId": "564314314574327545",
"trackingNo": "646431431322332133",
"carrier": "Federal Express",
"chargeAmount": {
"currency": "IDR",
"value": "239.00"
},
"countryName": "JP",
"stateName": "GA",
"cityName": "Atlanta",
"areaName": "Rd",
"address1": "137 W San Bernardino",
"address2": "4114 Sepulveda",
"firstName": "Jim",
"lastName": "Li",
"mobileNo": "13765443223",
"phoneNo": "2423-2322342",
"zipCode": "310001",
"email": "abc@gmail.com",
"faxNo": "2123-11113"
}
],
"orderMemo": "memo",
"paymentViews": [
{
"cashierRequestId": "64c4fdc544a7edff9c1e51aebc80f2eb",
"paidTime": "2022-01-04T19:13:54+07:00",
"payOptionInfos": [
{
"payMethod": "BALANCE",
"payAmount": {
"value": "51312.00",
"currency": "IDR"
},
"transAmount": {
"value": "51312.00",
"currency": "IDR"
},
"chargeAmount": {
"value": "0.00",
"currency": "IDR"
},
"payOptionBillExtendInfo": "{\"key\":\"value\"}",
"extendInfo": "{\"key\":\"value\"}"
}
],
"payRequestExtendInfo": "{\"key\":\"value\"}",
"extendInfo": "{\"key\":\"value\"}"
}
],
"extendInfo": "{\"key\":\"value\"}",
"statusDetail": {
"acquirementStatus": "SUCCESS",
"frozen": false,
"cancelled": false
},
"closeReason": "reason"
}
}
Response | Cause | Solution |
---|---|---|
2005500Successful | Success to be processed | Mark Query Payment process as Success and check the latestTransactionStatus, with these conditions: • 00 = Order has been successfully in final state and paid. Mark Payment as Success • 01 = Waiting for payment. Mark Payment as Pending • 02 = The order is in process, not in final state, payment is success. Mark Payment as Success • 05 = Order has been cancelled. Mark Payment as Failed • 07 = Order is not found. Mark Payment as Failed |
4005500Bad Request | General request failed error | Mark Query Payment process as Failed and mark Payment as Pending. Retry request with proper parameter |
4005501Invalid Field Format | Invalid format for certain field | Mark Query Payment process as Failed and mark Payment as Pending. Retry request with proper parameter |
4005502Invalid Mandatory Field | Missing or invalid format on mandatory field | Mark Query Payment process as Failed and mark Payment as Pending. Retry request with proper parameter |
4015500Unauthorized. [reason] | General unauthorized error | Mark Query Payment process as Failed and mark Payment as Pending. Retry request with proper parameter |
4015501Invalid Token (B2B) | Authorization token are invalid, perhaps due to token expiry for B2B | Mark Query Payment process as Failed and mark Payment as Pending. Retry request with proper parameter |
4045501Transaction Not Found | Transaction not found | Mark Query Payment process as Failed and mark Payment as Failed. Try to create a new order |
4295500Too Many Requests | Maximum transaction limit exceeded | Mark Query Payment process as Pending mark Payment as Pending. Retry request periodically |
5005500General Error | General error non retry-able | Mark Query Payment process as Failed and mark Payment as Pending. Retry request periodically |
5005501Internal Server Error | Unknown internal server failure, please retry the process again | Mark Query Payment process as Pending mark Payment as Pending. Retry request periodically |
Total timeout | Total timeout, the client side does not get any responses from the server side (Can be due to network issue, server slowing down, and so on) | Do a retry maximum 3 attempts, if still fails mark Query Payment process as Pending and mark Payment as Pending |
Unexpected response (Empty field/field does not exist/undefined response code) | The server does not produce expected responses (Can be due to hardware failure, bugs, and so on) |
|