Client's current local time with format :
YYYY-MM-DDTHH:mm:ssZD
X-SIGNATURE
string
Mandatory
Represents signature of a request. Identify Signature Type used Value:
1. Symmetric Signature with Get Token (Default)
HMAC_SHA512 (clientSecret, stringToSign) with formula stringToSign = HTTPMethod +”:“+ EndpointUrl +":"+ AccessToken +":“+ Lowercase(HexEncode(SHA-256(minify(RequestBody))))+ ":“ + TimeStamp
Notes :
1. The full URL endpoint includes all parameters in the associated URL
2. For the minify(Request Body) parameter, if there is no Request Body then an empty string is used.
X-PARTNER-ID
string
Mandatory
Client ID for merchant that generated by DOKU
X-EXTERNAL-ID
string
Mandatory
Reference number that should be unique in the same day or to be known as Request ID
Authorization
string
Mandatory
Represents access_token of a request; Keyword starts with “Bearer ” followed by access_token (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)
Content type
string
Mandatory
The media type of the resource (e.g. application/json)
Request Body
Here is the sample of request body to get status of VA number:
Derivative of X-PARTNER-ID , similar to company code, 8 digit left padding space
customerNo
string (20)
Mandatory
Unique number (up to 20 digits)
virtualAccountNo
string (28)
Mandatory
partnerServiceId (8 digit left padding space) + customerNo (up to 20 digits). partnerServiceId + customerNo or virtualAccountNo
inquiryRequestId
string (128)
Conditional
Unique identifier from Inquiry. If not send, will return array of transaction based on virtualAccountNo
paymentRequestId
string (128)
Optional
Customer address
additionalInfo
string
Optional
Additional info
API Response
Response Body
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.
Client's current local time with format :
YYYY-MM-DDTHH:mm:ssZD
X-SIGNATURE
string
Mandatory
Represents signature of a request. Identify Signature Type used Value:
1. Symmetric Signature with Get Token (Default)
HMAC_SHA512 (clientSecret, stringToSign) with formula stringToSign = HTTPMethod +”:“+ EndpointUrl +":"+ AccessToken +":“+ Lowercase(HexEncode(SHA-256(minify(RequestBody))))+ ":“ + TimeStamp
Notes :
1. The full URL endpoint includes all parameters in the associated URL
2. For the minify(Request Body) parameter, if there is no Request Body then an empty string is used.
X-PARTNER-ID
string
Mandatory
Client ID for merchant that generated by DOKU
X-EXTERNAL-ID
string
Mandatory
Reference number that should be unique in the same day or to be known as Request ID
Authorization
string
Mandatory
Represents access_token of a request; Keyword starts with “Bearer ” followed by access_token (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)
Content type
string
Mandatory
The media type of the resource (e.g. application/json)
Request Body
Here is the sample of request body to get status of Direct Debit :
Original transaction identifier on service consumer system
originalReferenceNo
string
Optional
Original transaction identifier on service provider system
originalExternalId
string
Optional
Original External-ID on header message
serviceCode
string
Mandatory
API type indicator. Use : 55 for Check Status API
transactionDate
string
Optional
transaction date : ISO 8601
amount
object
Optional
Value and Currency
merchantId
string
Optional
Merchant identifier that is unique per each merchant
subMerchantId
string
Optional
Sub merchant ID
externalStoreId
string
Optional
External Store ID for merchant
additionalInfo
object
Optional
Additional information
API Response
Response Body
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.
{"responseCode":"2005500","responseMessage":"Request has been processed successfully","originalPartnerReferenceNo":"2020102900000000000001","originalReferenceNo":"2020102977770000000009","approvalCode":"201039000200","originalExternalId":"30443786930722726463280097920912","serviceCode":"55","latestTransactionStatus":"00","transactionStatusDesc":"success","originalResponseCode":"2005500","originalResponseMessage":"Request has been processed successfully","sessionId":"883737GHY8839","requestID":"3763773","refundHistory":[ {"refundNo":"96194816941239812","partnerReferenceNo":"239850918204981205970","refundAmount":{"value":"12345678.00","currency":"IDR" },"refundStatus":"00","refundDate":"2020-12-23T07:44:16+07:00","reason":"Customer Complain" }, {"refundNo":"96194123981251341","partnerReferenceNo":"2398509123131981205970","refundAmount":{"value":"112345678.00","currency":"IDR" },"refundStatus":"00","refundDate":"2020-12-23T07:54:16+07:00","reason":"Customer Complain" } ],"transAmount":{"value":"112345678.00","currency":"IDR" },"feeAmount":{"value":"112345678.00","currency":"IDR" },"paidTime":"2020-12-21T14:56:11+07:00","additionalInfo":{"deviceId":"12345679237","channel":"mobilephone" }}
Parameter
Type
Mandatory
Description
responseCode
String (7)
Mandatory
Response Code
responseMessage
String (150)
Mandatory
Response Description
originalReferenceNo
String (200)
Conditional
Original transaction identifier on service provider system.
originalPartnerReferenceNo
String
Optional
Original transaction identifier on service consumer system
approvalCode
String
Optional
Unique number
originalExternalId
String
Optional
Original External-ID on header message
serviceCode
String
Mandatory
Transaction type indicator (service code of the original transaction request)
latestTransactionStatus
String
Mandatory
Unique identifier for this Payment from PJP. Mandatory if Payment happened.
00 = Success
01 = Initiated
02 = Paying
03 = Pending
04 = Refunded
05 = Canceled
06 = Failed
07 = Not Found
transactionStatusDesc
String
Optional
Description status transaction
originalResponseCode
String
Optional
Response code
originalResponseMessage
String
Optional
Response description
sessionId
String
Optional
Transaction invoice ID
requestID
String
Optional
Transaction request ID
refundNo
String
Conditional
Transaction Identifier on Service Provider System
partnerRefundNo
String
Conditional
ReferenceNumber from PJP AIS for the refund.
refundAmount
object
Optional
Net amount of the refund
refundStatus
String
Conditional
00 = Success
03 = Pending
04 = Failed
refundDate
String
Conditional
(ISO 8601)
Transaction date : dd-MM-yyyy ( Mandatory )
HH:mm:Ss ( Optional )
reason
String
Optional
Refund reason.
transAmount
object
Optional
Transaction amount that will be paid using this payment method If it's IDR then value includes 2 decimal digits.
feeAmount
String
Optional
Fee amount that will be paid using this payment method If it's IDR then value includes 2 decimal digits.
Client's current local time with format :
YYYY-MM-DDTHH:mm:ssZD
X-SIGNATURE
string
Mandatory
Represents signature of a request. Identify Signature Type used Value:
1. Symmetric Signature with Get Token (Default)
HMAC_SHA512 (clientSecret, stringToSign) with formula stringToSign = HTTPMethod +”:“+ EndpointUrl +":"+ AccessToken +":“+ Lowercase(HexEncode(SHA-256(minify(RequestBody))))+ ":“ + TimeStamp
Notes :
1. The full URL endpoint includes all parameters in the associated URL
2. For the minify(Request Body) parameter, if there is no Request Body then an empty string is used.
X-PARTNER-ID
string
Mandatory
Client ID for merchant that generated by DOKU
X-EXTERNAL-ID
string
Mandatory
Reference number that should be unique in the same day or to be known as Request ID
Authorization
string
Mandatory
Represents access_token of a request; Keyword starts with “Bearer ” followed by access_token (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)
Content type
string
Mandatory
The media type of the resource (e.g. application/json)
Request Body
Here is the sample of request body to get status of E-Wallet :
Original transaction identifier on service consumer system
originalReferenceNo
string
Optional
Original transaction identifier on service provider system
originalExternalId
string
Optional
Original External-ID on header message
serviceCode
string
Mandatory
API type indicator. Use : 55 for Check Status API
transactionDate
string
Optional
transaction date : ISO 8601
amount
object
Optional
Value and Currency
merchantId
string
Optional
Merchant identifier that is unique per each merchant
subMerchantId
string
Optional
Sub merchant ID
externalStoreId
string
Optional
External Store ID for merchant
additionalInfo
object
Optional
Additional information
API Response
OVO Open API Sale
OVO Open API Recurring
ShopeePay
DANA
Response Body
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.
OVO Open API Sale
{"responseCode":"2005500","responseMessage":"Successful","originalPartnerReferenceNo":"2020102900000000000001","originalReferenceNo":"2020102977770000000009","originalExternalId":"30443786930722726463280097920912","serviceCode":"55","latestTransactionStatus":"03","transactionStatusDesc":"PENDING","originalResponseCode":"2005503","originalResponseMessage":"Request has been processed successfully","paidTime":"2020-12-21T14:56:11+07:00","transAmount":{"value":"112345678.00","currency":"IDR" },"additionalInfo":{"acquirer": {"id":"OVO SNAP Direct Debit" } }}
{"responseCode":"2005500","responseMessage":"Successful","originalPartnerReferenceNo":"2020102900000000000001","originalReferenceNo":"2020102977770000000009","originalExternalId":"30443786930722726463280097920912","serviceCode":"55","latestTransactionStatus":"00","transactionStatusDesc":"SUCCESS","originalResponseCode":"2005503","originalResponseMessage":"Request has been processed successfully","paidTime":"2020-12-21T14:56:11+07:00","transAmount":{"value":"112345678.00","currency":"IDR" },"additionalInfo":{"acquirer": {"id":"OVO SNAP Direct Debit" } }}
{"responseCode":"2005500","responseMessage":"Request has been processed successfully","originalPartnerReferenceNo":"2020102900000000000001","originalReferenceNo":"2020102977770000000009","originalExternalId":"30443786930722726463280097920912","serviceCode":"55","latestTransactionStatus":"04","transactionStatusDesc":"REFUNDED","originalResponseCode":"2005500","originalResponseMessage":"Request has been processed successfully","refundHistory":[ {"refundNo":"96194816941239812","partnerReferenceNo":"239850918204981205970","refundAmount":{"value":"12345678.00","currency":"IDR" },"refundStatus":"00","refundDate":"2020-12-23T07:44:16+07:00","reason":"Customer Complain" }, {"refundNo":"96194123981251341","partnerReferenceNo":"2398509123131981205970","refundAmount":{"value":"112345678.00","currency":"IDR" },"refundStatus":"00","refundDate":"2020-12-23T07:54:16+07:00","reason":"Customer Complain" } ],"transAmount":{"value":"112345678.00","currency":"IDR" },"paidTime":"2020-12-21T14:56:11+07:00","additionalInfo":{"acquirer": {"id":"OVO SNAP Direct Debit" } }}
Parameter
Type
Mandatory
Description
responseCode
String (7)
Mandatory
Response Code
responseMessage
String (150)
Mandatory
Response Description
originalReferenceNo
String (200)
Conditional
Original transaction identifier on service provider system.
originalPartnerReferenceNo
String
Optional
Original transaction identifier on service consumer system
originalExternalId
String
Optional
Original External-ID on header message
serviceCode
String
Mandatory
Transaction type indicator 55
latestTransactionStatus
String
Mandatory
Unique identifier for this Payment from PJP. Mandatory if Payment happened.
00 = Success
01 = Initiated
02 = Paying
03 = Pending
04 = Refunded
05 = Canceled
06 = Failed
07 = Not Found
transactionStatusDesc
String
Optional
Description status transaction
originalResponseCode
String
Optional
Response code
originalResponseMessage
String
Optional
Response description
transAmount
object
Optional
Transaction amount that will be paid using this payment method If it's IDR then value includes 2 decimal digits.
paidTime
String
Conditional
transaction date : ISO 8601
additionalInfo
object
Mandatory
Additional information
Parameter
Type
Mandatory
Description
responseCode
String (7)
Mandatory
Response Code
responseMessage
String (150)
Mandatory
Response Description
originalReferenceNo
String (200)
Conditional
Original transaction identifier on service provider system.
originalPartnerReferenceNo
String
Optional
Original transaction identifier on service consumer system
originalExternalId
String
Optional
Original External-ID on header message
serviceCode
String
Mandatory
Transaction type indicator 55
latestTransactionStatus
String
Mandatory
Unique identifier for this Payment from PJP. Mandatory if Payment happened.
00 = Success
01 = Initiated
02 = Paying
03 = Pending
04 = Refunded
05 = Canceled
06 = Failed
07 = Not Found
transactionStatusDesc
String
Optional
Description status transaction
originalResponseCode
String
Optional
Response code
originalResponseMessage
String
Optional
Response description
transAmount
object
Optional
Transaction amount that will be paid using this payment method If it's IDR then value includes 2 decimal digits.
paidTime
String
Conditional
transaction date : ISO 8601
additionalInfo
object
Mandatory
Additional information
Parameter
Type
Mandatory
Description
responseCode
String (7)
Mandatory
Response Code
responseMessage
String (150)
Mandatory
Response Description
originalReferenceNo
String (200)
Conditional
Original transaction identifier on service provider system.
originalPartnerReferenceNo
String
Optional
Original transaction identifier on service consumer system
approvalCode
String
Optional
Unique number
originalExternalId
String
Optional
Original External-ID on header message
serviceCode
String
Mandatory
Transaction type indicator (service code of the original transaction request)
latestTransactionStatus
String
Mandatory
Unique identifier for this Payment from PJP. Mandatory if Payment happened.
00 = Success
01 = Initiated
02 = Paying
03 = Pending
04 = Refunded
05 = Canceled
06 = Failed
07 = Not Found
transactionStatusDesc
String
Optional
Description status transaction
originalResponseCode
String
Optional
Response code
originalResponseMessage
String
Optional
Response description
refundNo
String
Conditional
Transaction Identifier on Service Provider System
partnerReferenceNo
String
Conditional
ReferenceNumber from PJP AIS for the refund.
refundAmount
object
Optional
Net amount of the refund
refundStatus
String
Conditional
00 = Success
refundDate
String
Conditional
(ISO 8601)
Transaction date : dd-MM-yyyy ( Mandatory )
HH:mm:Ss ( Optional )
reason
String
Optional
Refund reason.
transAmount
object
Optional
Transaction amount that will be paid using this payment method If it's IDR then value includes 2 decimal digits.
paidTime
String
Conditional
transaction date : ISO 8601
additionalInfo
object
Mandatory
Additional information
OVO Open API Recurring
{"responseCode":"2005500","responseMessage":"Successful","originalPartnerReferenceNo":"2020102900000000000001","originalReferenceNo":"2020102977770000000009","originalExternalId":"30443786930722726463280097920912","serviceCode":"55","latestTransactionStatus":"00","transactionStatusDesc":"SUCCESS","originalResponseCode":"2005500","originalResponseMessage":"Request has been processed successfully","paidTime":"2020-12-21T14:56:11+07:00","transAmount":{"value":"112345678.00","currency":"IDR" },"additionalInfo":{"acquirer": {"id":"OVO SNAP Direct Debit" } }}
{"responseCode":"2005500","responseMessage":"Request has been processed successfully","originalPartnerReferenceNo":"2020102900000000000001","originalReferenceNo":"2020102977770000000009","originalExternalId":"30443786930722726463280097920912","serviceCode":"55","latestTransactionStatus":"04","transactionStatusDesc":"REFUNDED","originalResponseCode":"2005500","originalResponseMessage":"Request has been processed successfully","refundHistory":[ {"refundNo":"96194816941239812","partnerReferenceNo":"239850918204981205970","refundAmount":{"value":"12345678.00","currency":"IDR" },"refundStatus":"00","refundDate":"2020-12-23T07:44:16+07:00","reason":"Customer Complain" }, {"refundNo":"96194123981251341","partnerReferenceNo":"2398509123131981205970","refundAmount":{"value":"112345678.00","currency":"IDR" },"refundStatus":"00","refundDate":"2020-12-23T07:54:16+07:00","reason":"Customer Complain" } ],"transAmount":{"value":"112345678.00","currency":"IDR" },"paidTime":"2020-12-21T14:56:11+07:00","additionalInfo":{"acquirer": {"id":"OVO SNAP Direct Debit" } }}
Parameter
Type
Mandatory
Description
responseCode
String (7)
Mandatory
Response Code
responseMessage
String (150)
Mandatory
Response Description
originalReferenceNo
String (200)
Conditional
Original transaction identifier on service provider system.
originalPartnerReferenceNo
String
Optional
Original transaction identifier on service consumer system
originalExternalId
String
Optional
Original External-ID on header message
serviceCode
String
Mandatory
Transaction type indicator 55
latestTransactionStatus
String
Mandatory
Unique identifier for this Payment from PJP. Mandatory if Payment happened.
00 = Success
01 = Initiated
02 = Paying
03 = Pending
04 = Refunded
05 = Canceled
06 = Failed
07 = Not Found
transactionStatusDesc
String
Optional
Description status transaction
originalResponseCode
String
Optional
Response code
originalResponseMessage
String
Optional
Response description
transAmount
object
Optional
Transaction amount that will be paid using this payment method If it's IDR then value includes 2 decimal digits.
paidTime
String
Conditional
transaction date : ISO 8601
additionalInfo
object
Mandatory
Additional information
Parameter
Type
Mandatory
Description
responseCode
String (7)
Mandatory
Response Code
responseMessage
String (150)
Mandatory
Response Description
originalReferenceNo
String (200)
Conditional
Original transaction identifier on service provider system.
originalPartnerReferenceNo
String
Optional
Original transaction identifier on service consumer system
approvalCode
String
Optional
Unique number
originalExternalId
String
Optional
Original External-ID on header message
serviceCode
String
Mandatory
Transaction type indicator (service code of the original transaction request)
latestTransactionStatus
String
Mandatory
Unique identifier for this Payment from PJP. Mandatory if Payment happened.
00 = Success
01 = Initiated
02 = Paying
03 = Pending
04 = Refunded
05 = Canceled
06 = Failed
07 = Not Found
transactionStatusDesc
String
Optional
Description status transaction
originalResponseCode
String
Optional
Response code
originalResponseMessage
String
Optional
Response description
refundNo
String
Conditional
Transaction Identifier on Service Provider System
partnerReferenceNo
String
Conditional
ReferenceNumber from PJP AIS for the refund.
refundAmount
object
Optional
Net amount of the refund
refundStatus
String
Conditional
00 = Success
refundDate
String
Conditional
(ISO 8601)
Transaction date : dd-MM-yyyy ( Mandatory )
HH:mm:Ss ( Optional )
reason
String
Optional
Refund reason.
transAmount
object
Optional
Transaction amount that will be paid using this payment method If it's IDR then value includes 2 decimal digits.