DocumentationRecipesAPI ReferenceChangelog
Documentation

Inquiry QR Payment Request

POST/snap/v{version}/qr/qr-mpm-query

Use this API to inquire payments when

  • Transaction is completed and inquire to get transaction details

Structure

A message consists of a header and body. The following sections are focused on the body structure. For the header structure, see:


Request Parameters

originalPartnerReferenceNo String Required

Unique invoice number to identify the order on the merchant side, which is assigned by the merchant.


merchantId String Required

Unique merchant ID that is registered with 2C2P


serviceCode String Required

Mapped to "47" for Direct Debit Payment


amount Object Required

Show Child Parameters

value String Required

The value of the amount as a positive integer in the smallest currency unit.
For example, if the currency is USD and the amount is $1.00, set the value of this parameter to 1.00
or if the currency is IDR and the amount is IDR 10000, set the value of this parameter to 10000

currency String Required

Transaction currency code in 3 alphabetical values as specified in ISO 4217.

If the value is empty, the system will use the merchant's base currency



Response Parameters

responseCode String Required

Response code.

Possible values are listed in the response codes table on this page.


responseMessage String Required

Response message that explains the response code.


additionalInfo Object

Show Child Parameters

explanation String

Note: This field is returned when additionalInfo is returned.

processBy String

Refer to Process by List

paymentId String

PaymentID for referencing this transaction for future payment such as "MIT" e.g ccpp_12345678

merchantId String

Unique merchant ID that is registered with 2C2P

originalPartnerReferenceNo String

Unique invoice number to identify the order on the merchant side, which is assigned by the merchant.

amount String

The value of the amount as a positive integer in the smallest currency unit.
For example, if the currency is USD and the amount is $1.00, set the value of this parameter to 1.00
or if the currency is IDR and the amount is IDR 10000, set the value of this parameter to 10000

currencyCode String

Transaction currency code in 3 alphabetical values as specified in ISO 4217.

If the value is empty, the system will use the merchant's base currency

tranRef String

Issued by System. This is to trace the transactions in the Routing System.

referenceNo String

Transaction Reference Number from acquirer.

approvalCode String

Approval code from acquirer

transactionDateTime String

Process transaction datetime

Note: Datetime format yyyyMMddHHmmss

agentCode String

Refer to Agent code List

channelCode String

Refer to Process By / Channel Code List

paymentScheme String

Refer to Payment Scheme / Process by List

displayProcessingAmount String

Boolean to display processing amount

latestTransactionStatus String

Transaction Status

  • SUCCESS = "00"
  • PENDING = "03"
  • REFUNDED = "04"
  • CANCELED = "05"
  • FAILED = "06"
  • NOT_FOUND = "07"
  • EXPIRY = "08"
  • REJECTED = "09"