| Path | /ordersnap/api/v1.0/qr/qr-mpm-query |
| HTTP Method | POST |
| Version | v1.0 |
| Service Code | 51 |
Request Header
| Field Name | Field Type | Mandatory | Field Description |
|---|---|---|---|
| Content-Type | String | M | Media type of the resource, i.e. application/json |
| Authorization | String | M | Represents access_token of a request; string starts with keyword “Bearer ” followed by access_token. Can get this from Access Token B2B API response. Read here |
| X-TIMESTAMP | String | M | Client’s current local time in ISO-8601 format |
| X-SIGNATURE | String | M | Created using symmetric signature HMAC_SHA512 algorithm. Read here |
| X-PARTNER-ID | String | M | API Key / Client ID merchant (Web Merchant > Pengaturan > System Setting > tab Security Key) |
| X-EXTERNAL-ID | String | M | Merchant’s unique ID per transaction request |
| CHANNEL-ID | String | M | PJP’s channel id. |
| Content-Type | application/json |
| Authorization | Bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CupvIJbU1Mmu4a11MNDZ7Sg5u9a |
| X-TIMESTAMP | 2023-07-06T14:12:50+07:00 |
| X-SIGNATURE | qoda1fa417c72d6b91c257e01e54fac824 |
| X-PARTNER-ID | 7fb118fb-2738-4886-9817-8a2c4de43001 |
| X-EXTERNAL-ID | 41807553358950093184162180797837 |
| CHANNEL-ID | 95221 |
Request Body
| Field Name | Field Type | Mandatory | Field Description |
|---|---|---|---|
| originalReferenceNo | String | M | Transaction identifier on service provider system. |
| serviceCode | String | M | Service Code |
{
"originalReferenceNo": "T24080000027",
"serviceCode": "47"
}
Response Body
Field Name | Field Type | Mandatory | Field Description |
|---|---|---|---|
additionalInfo | Object | M | Additional Information |
amount | Object | M | Object Amount |
amount.value | String | M | Value total amount |
amount.currency | String | M | Currency |
latestTransactionStatus | String | M | Latest Transaction Status 00 (Success) 03 (Pending) 04 (Refunded) 08 (Expiry) |
originalExternalId | String | C | Original External-ID on header |
originalPartnerReferenceNo | String | M | Original transaction identifier on service consumer system |
originalReferenceNo | String | M | Original transaction identifier on service provider system |
paidTime | String | C(25) | Transaction date : ISO8601 YYYY-MMDDThh:mm:ss. Must befilled upon successful transaction |
responseCode | String(7) | M | Status code of transaction charge result |
responseMessage | String(150) | M | Description of transaction charge result |
serviceCode | String | M | Service Code |
terminalId | String | O | ID Terminal |
transactionStatusDesc | String | O | Description Transaction Status |
{
"additionalInfo": {
"cancellationReason": "",
"channelType": "",
"expiryTime": "2024-08-23T07:44:11+07:00",
"metadata": {},
"paymentType": "",
"transactionType": "MERCHANT_TRANSACTION"
},
"amount": {
"currency": "IDR",
"value": "1000.00"
},
"latestTransactionStatus": "03",
"originalExternalId": "",
"originalPartnerReferenceNo": "240847003240847095",
"originalReferenceNo": "T24080680391",
"paidTime": "",
"responseCode": "2005100",
"responseMessage": "Request has been processed successfully",
"serviceCode": "47",
"terminalId": "",
"transactionStatusDesc": "Pending"
}
List Response Code
| Response Code | HTTP Status | Description |
|---|---|---|
| 2005100 | 200 | Successful |
| 4005101 | 400 | Invalid Field Format {field name} |
| 4005102 | 400 | Invalid Mandatory Field {field name} |
| 4015100 | 401 | Unauthorized. [Reason] |
| 4015101 | 401 | Invalid Token (B2B) |
| 4045101 | 404 | Transaction Not Found |
| 4095100 | 409 | Conflict |
| 5005100 | 500 | General Error |
