Singapay Home Page
Logo Icon
  1. QRIS (Money Out)
  2. Inquiry Merchant

Information

Here are the details of the API endpoint for inquiring merchant information based on the scanned QR Code data:

MethodPathFormatAuthentication
POST/api/v2.0/qris/issuer/mpm/inquiry-merchantjsonOAuth 2.0 with Access Token

Request

Headers Structure

FieldValueTypeMandatoryLengthDescriptionExample
X-PARTNER-IDapi_keyAlphanumericMandatoryAPI key obtained from the merchant dashboard.b3ed7d4b-a96c-6c08-b3c7-12c3124242d9
Acceptapplication/jsonAlphabeticMandatorySpecifies JSON as the expected response format.application/json
AuthorizationBearer {bearerToken}AlphanumericMandatoryBearer token obtained from the get access token endpoint.Bearer eyJ0eXAiOiJKV1{…}

Request Details

KeyData TypeMandatoryDescription
qr_dataStringYesThe QR code data scanned by the user.

Request Example

{
  "qr_data": "00020101021126580014ID.SINGAPAY.WWW01189360091601760009ID.SINGAPAY0208QRISPAY5204000053037645406100005802ID5913PT. SINGAPAY6009JAKARTA610800005802ID62290525D1B5E9F1B0C9A7F4BFEF8C3D8A1B03D6304B0C6"
}

Response

Response Details

KeyData TypeMandatoryDescription
response_codeStringYesResponse code (see Response Code appendix)
response_messageStringYesResponse description (see Response Code appendix)
dataObjectNoConditional parameter (present on success)
> payload_format_indicatorStringYesFormat version of payload indicator
> point_of_initiation_methodStringYesIndicates how the QR is generated. DYNAMIC means the QR code is unique to this transaction and includes the specific amount.
> merchant_information_26ObjectNo
>> global_unique_identifierStringYesThis Field contains a unique identifier for the merchant.
>> merchant_panStringYesThe Merchant’s Primary Account Number used for routing funds.
>> merchant_idStringYesThe unique identification number assigned to the merchant by the provider.
>> merchant_criteriaStringYesThe business scale classification. UMI stands for Usaha Mikro (Micro Business).
> merchant_information_51ObjectNo
>> global_unique_identifierStringYesThe ID of the payment scheme or provider (e.g., ID.CO.QRIS.WWW).
>> merchant_idStringYesThe unique identification number assigned to the merchant by the provider.
>> merchant_criteriaStringYesThe business scale classification. UMI stands for Usaha Mikro (Micro Business).
> mccStringYesMerchant Category Code. A 4-digit code identifying the type of business (e.g., 7231 for personal services).
> transaction_currencyStringYesThe currency used for the transaction (e.g., RUPIAH).
> transaction_amountStringYesThe String value of the transaction to be paid by the customer.
> country_codeStringYesThe ISO country code where the merchant is located (ID for Indonesia).
> merchant_nameStringYesThe legal or trading name of the shop/merchant.
> merchant_cityStringYesThe city where the merchant is registered.
> merchant_postal_codeStringYesThe postal/zip code of the merchant’s location.
> additional_dataObjectYes
>> reference_labelStringYesA unique string used to track the specific transaction in the back-end system.
>> terminal_labelStringYesIdentifies which specific terminal or cashier point generated the QR (e.g., “C01”).
>> purpose_of_transactionStringYesInternal notes or codes used to describe the reason for the payment.
> crcStringYesCyclic Redundancy Check. A checksum used to verify the integrity of the QR data to prevent tampering.

Response Example

Success: Here’s an example of a successful response.

{
  "response_code": "SP000",
  "response_message": "Successful",
  "data": {
    "payload_format_indicator": "01",
    "point_of_initiation_method": "DYNAMIC",
    "merchant_information_26": {
      "global_unique_identifier": "ID.SINGAPAY.WWW",
      "merchant_pan": "936012070508140001",
      "merchant_id": "218309810239",
      "merchant_criteria": "UMI"
    },
    "merchant_information_51": {
      "global_unique_identifier": "ID.CO.QRIS.WWW",
      "merchant_id": "743444174737198",
      "merchant_criteria": "UMI"
    },
    "mcc": "7231",
    "transaction_currency": "RUPIAH",
    "transaction_amount": 12000,
    "country_code": "ID",
    "merchant_name": "Singapay Testing",
    "merchant_city": "Tangerang",
    "merchant_postal_code": "54478",
    "additional_data": {
      "reference_label": "1774865927",
      "terminal_label": "C01",
      "purpose_of_transaction": "B4U5bV"
    },
    "crc": "4535"
  }
}

Error: Here’s an example of a validation error response.

{
  "response_code": "SP117",
  "response_message": "Beneficiary Account Not Found",
  "data": {
   "qr_data": "00020101021226620015ID.SINGAPAY.WWW0118936012070412260002021035224094080303UME51440014ID.CO.QRIS.WWW02153559174130477690303UME5204601153033605405110005802ID5903eos6005DEPOK6105746786221051017730486640703C0163044D76"
  }
}