v1

latestOpenAPI 3.1.02026-07-26500375.1 KB

Query QRIS

The following endpoint can be used to query a QRIS payment.

post/qr/qr-mpm-query

Headers

Content-Typestring required

Indicates the media type of the resource. value: application/json

X-TIMESTAMPstring required

Timestamp in ISO8601 format, Example: 2024-05-14T18:54:57+07:00

Authorizationstring

Represents Access Token (B2B) of a request; string starts with keyword “Bearer ” followed by Access Token (B2B)

X-SIGNATUREstring required

Signature generated by encrypting HTTP method, relative path, access token, minified request body, and timestamp

X-PARTNER-IDstring required

Unique ID for a partner given by Durianpay upon completing registration. Its value is same as the X-CLIENT-KEY

X-EXTERNAL-IDstring required

Unique messaging reference identifier generated by merchant and should be unique within the same day

CHANNEL-IDstring required

Device identification on which the API services is currently being accessed by the merchant. Possible value: 95221

Request body

originalReferenceNostring required

Durianpay internal payment reference ID. Please pass the same ID returned in generate API.

serviceCodestring required

QRIS service code. Must be 47.

Response

This response indicates that QRIS query was successful.

responseCodestring required

Response code indicating the result of the operation.

responseMessagestring required

Message explaining the responseCode.

originalReferenceNostring required

Durianpay internal payment reference ID.

serviceCodestring required

eWallet service code.

latestTransactionStatusstring required

Latest transaction status code (e.g., “02”).

transactionStatusDescstring required

Description of transaction status.

paidTimestring

Date time of payment completion. The value is only available when the payment is completed.