Skip to main content

Transaction Status Inquiry v1.0.0 (Deprecated)

Specification

The Following tabel is spesification for this API :

API NameTransaction Status Inquiry
FunctionThis API is used to inquiry payment status and information generated qr from merchant’s platform to Paydia
Service Code53
MethodPOST
URL/snap/v1.0/qr/qr-mpm-status
Acceptapplication/json
Content Typeapplication/json
Related ServiceQRIS MPM (Acquirer)

Request

The following part will be describe about parameter of request in this API:

Request Parameter

The following table is a list of request parameter in this API:

The following table is Header of Request Parameters :

NoNameTypeLengthRequiredConditionRemarks
1Content-TypeStringVariable, 127 maxMandatory-Content type, value always application/json
2AuthorizationStringVariableMandatory-Contains B2B Bearer JWT Token, you've got it from Access Token B2B
3X-TIMESTAMPStringFixed, 25 maxMandatory-Transaction date time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
4X-PARTNER-IDStringVariable, 36 maxMandatory-ID for partner was generated by Paydia. Unique ID for a partner
5X-EXTERNAL-IDStringVariable, 36 maxMandatory-Unique messaging reference ID generated by merchant. Numeric String. Reference number that should be unique in the same day
6CHANNEL-IDStringVariable, 5 maxMandatory-Device identification on which the API services is currently being accessed by the end user (customer)
7X-SIGNATUREStringVariableMandatory-Signature need to be generated with Symmetric Signature method

Body

The following table is a body of request parameter:

NoNameTypeLengthRequiredConditionRemarks
1originalPartnerReferenceNoStringVariable, 64 maxConditionaly: (originalReferenceNo = null)Original transaction identifier on partner system
2serviceCodeStringVariable, 2 maxMandatory-Transaction type indicator (service code of the original transaction)
3merchantIdStringVariable, 64 maxMandatory-Merchant identifier that is unique per each merchant

Request Sample

The following script is a request sample of this API:

POST .../snap/v1.0/qr/qr-mpm-status
X-TIMESTAMP: 2022-09-29T10:30:00+07:00
X-PARTNER-ID: 7c357677e7e02547ef33fafca165a574
X-SIGNATURE: e3J/E/x7/n/V3T9t4CmCPyw5feN8Y1ZEosooMxhib/nipUoQQGr9Sne6+kRdkZe66w9n8mod6yCYOwf4nxnTfbdPDcx4zMGfd5ygmzHAXJKlDoNdF5wEMprMtg8gpQjQq383CASDnA0HYfXLFNTvQWQXQbII3DlDEcFwE6JAPRts+Jvp6bZK2S6iaD6ayod/VkEdQYbKNKhugJ5SfLgdmADCvNJ5MWWenwoObfdKV9QdAPLObqNTXy5XcPWPjM0XQTgCvz0qwwswU1NoO31gXVBH1EE9fhZ5L8UlWg1d1uMSCm5VyZ2cH8/eCdRFg+xd3iJNiBqtkaedZwDfAEF0jQ==
X-EXTERNAL-ID: 1664421799
CHANNEL-ID: 12345
Authorization: Bearer 91612be197a76c7e86addd86df3e877feff93d7b758fc60123a54ba7762d015b
Content-Type: application/json
{
"originalPartnerReferenceNo": "2020102900000000000028",
"serviceCode": "47",
"merchantId": "220901002000000"
}

Response

The following part will be describe about parameter of response in this API:

Response Parameter

The following table is a list of response parameter in this API:

Body

The following table is a body of response parameter:

NoNameTypeLengthRequiredConditionRemarks
1responseCodeStringFixed, 7 maxMandatory-Refer to response code list
2responseMessageStringVariable, 150 maxMandatory-Refer to response code list
3originalPartnerReferenceNoStringVariable, 64 maxOptional-Original transaction identifier on partner system
4originalReferenceNoStringVariable, 64 maxConditionalIf it is success, then this value will be filledOriginal transaction identifier on Paydia system
5originalExternalIdStringVariable, 32 maxOptional-Original external ID on header message
6serviceCodeStringVariable, 2 maxMandatory-Transaction type indicator (service code of the original transaction request)
7transactionDateStringFixed, 25 maxOptional-Transaction date: ISO8601, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
8latestTransactionStatusStringFixed, 2 maxMandatory-Category code for the status of the transaction. The values include:
  • 00 - Success, the order has been paid
  • 01 - Initiated, the order has been created, but has not been paid
  • 02 - Paying, the order in the process of payment
  • 05 - Cancelled, the order has been closed
9transactionStatusDescStringVariable, 50 maxOptional-Description status transaction
10paidTimeStringFixed, 25 maxConditionalIf the transaction is paidTime of paid, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
11amountMoneyVariableMandatory-Contains two sub-fields:
  1. Value: Transaction amount, including the cents
  2. Currency: Currency code based on ISO
12additionalInfoJSON ObjectVariableOptional-Additional Information

Response Sample

The following script is a response sample of this API:

{
"responseCode": "2005300",
"responseMessage": "Successful",
"originalPartnerReferenceNo": "2020102900000000000028",
"originalReferenceNo": "220929000002",
"originalExternalId": "1664421619",
"serviceCode": 53,
"transactionDate": "2022-09-29T10:19:43+07:00",
"latestTransactionStatus": "00",
"transactionStatusDesc": "Success",
"paidTime": "2022-09-29T10:19:51+07:00",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"callback": "https://callback.site/",
"responseCallback": "\"\"",
"transactionDate": "2022-09-29T10:19:51+07:00",
"customerData": "John Doe",
"customerPan": "936008180000000308",
"merchantPan": "936008180220901002",
"acquirerId": "93600818",
"issuerName": "Paydia",
"rrn": "220929000003",
"mdr": {
"value": "70.00",
"currency": "IDR"
},
"layanan": {
"value": "0.00",
"currency": "IDR"
},
"nominalPaid": {
"value": "10000.00",
"currency": "IDR"
},
"totalPaid": {
"value": "10000.00",
"currency": "IDR"
},
"totalReceive": {
"value": "9930.00",
"currency": "IDR"
}
}
}

Response Code and Message

The following table is the list response code and message of Transaction Status Inquiry API:

NoResponse CodeResponse MessageRemarks
12005300SuccessfulSuccess to be processed
24005301Invalid Field FormatInvalid format for certain field
34005302Invalid Mandatory FieldMissing or invalid format on mandatory field
44015300Unauthorized [reason]General unauthorized error
54015301Invalid Token (B2B)Authorization token are invalid, perhaps due to token expiry for B2B
64045301Transaction Not FoundTransaction / Order is not found
75005302Backend system failure500 internal server error