QR MPM Query

Path/ordersnap/api/v1.0/qr/qr-mpm-query
HTTP MethodPOST
Versionv1.0
Service Code51

Request Header

Field NameField TypeMandatoryField Description
Content-TypeStringMMedia type of the resource, i.e. application/json
AuthorizationStringMRepresents 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-TIMESTAMPStringMClient’s current local time in ISO-8601 format
X-SIGNATUREStringMCreated using symmetric signature HMAC_SHA512 algorithm. Read here
X-PARTNER-IDStringMAPI Key / Client ID merchant (Web Merchant > Pengaturan > System Setting > tab Security Key)
X-EXTERNAL-IDStringMMerchant’s unique ID per transaction request
CHANNEL-IDStringMPJP’s channel id.
Content-Typeapplication/json
AuthorizationBearer gp9HjjEj813Y9JGoqwOeOPWbnt4CupvIJbU1Mmu4a11MNDZ7Sg5u9a
X-TIMESTAMP2023-07-06T14:12:50+07:00
X-SIGNATUREqoda1fa417c72d6b91c257e01e54fac824
X-PARTNER-ID7fb118fb-2738-4886-9817-8a2c4de43001
X-EXTERNAL-ID41807553358950093184162180797837
CHANNEL-ID95221

Request Body

Field NameField TypeMandatoryField Description
originalReferenceNoStringMTransaction identifier on service provider system.
serviceCodeStringMService 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 CodeHTTP StatusDescription
2005100200Successful
4005101400Invalid Field Format {field name}
4005102400Invalid Mandatory Field {field name}
4015100401Unauthorized. [Reason]
4015101401Invalid Token (B2B)
4045101404Transaction Not Found
4095100409Conflict
5005100500General Error