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

Information

Here are the details information about the Inquiry Transaction Status API endpoint:

MethodPathFormatAuthentication
POST/api/v2.0/qris/status/{account_id}jsonOAuth 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 Parameters

The Inquiry Transaction Status API endpoint requires the following parameters:

KeyData TypeMandatoryDescriptionExample
reference_numberStringYesA unique 12-digit identifier generated by the system to track this specific transaction.735463554
scopeStringYesThe operational scope (e.g., “issuer”), indicating the entity processing the request.issuer

Request Example

{
  "reference_number": "735463554",
  "scope": "issuer",
}

Response

Response Parameters

The Inquiry Transaction Status API endpoint will return the following parameters in the response:

KeyData TypeMandatoryDescription
response_codeStringYesResponse code (see Response Code appendix)
response_messageStringYesResponse message (see Response Code appendix)
dataObjectNoThe specific payload containing final transaction details.
> transaction_idStringYesA unique, long-form system identifier for the transaction record (used for deep-level database queries).
> transaction_statusObjectYesThe final state of the payment.
>> codeStringYesThe status code (“00” typically signifies Success).
>> descStringYesText description confirming the payment was successful.
> qr_dataStringYesThe raw EMVCo string. This is the actual data encoded inside the QR code image.
> typeStringYesThe QRIS model used. “mpm-dynamic” stands for Merchant Presented Mode (Dynamic), where the merchant shows a QR unique to that bill.
> scopeStringYesThe operational scope (e.g., “issuer”), indicating the entity processing the request.
> reference_numberStringYesA unique 12-digit identifier generated by the system to track this specific transaction.
> post_timestampStringYesThe Unix timestamp (in milliseconds) when the transaction was first created/posted.
> processed_timestampStringYesThe Unix timestamp (in milliseconds) when the transaction reached its final status.
> balance_afterObjectNoThe remaining balance in the merchant’s account after this transaction was completed.
>> valueStringYesNet amount for the transaction
>> currencyStringYesCurrency of the transaction
> net_amountObjectNoThe Final Amount received by the merchant after deducting the fees.
>> valueStringYesNet amount for the transaction
>> currencyStringYesCurrency of the transaction
> feeObjectNoThe transaction fee or service charge deducted from the transaction.
>> valueStringYesFee amount for the transaction
>> currencyStringYesCurrency of the transaction
> gross_amountObjectNoThe Total Amount paid by the customer (Net + Fee).
>> valueStringYesGross amount for the transaction
>> currencyStringYesCurrency of the transaction

Response Example

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

{
  "response_code": "SP000",
  "response_message": "Successful",
  "data": {
    "transaction_id": "112220251111135424691",
    "transaction_status": {
      "code": "00",
      "desc": "Success"
    },
    "qr_data": "00020101021226620015ID.SINGAPAY.WWW0118936012070412260002021035224094080303UME51440014ID.CO.QRIS.WWW02153559174130477690303UME5204601153033605405110005802ID5903eos6005DEPOK6105746786221051017730486640703C0163044D76",
    "type": "mpm-dynamic",
    "scope": "issuer",
    "reference_number": "123456789123",
    "post_timestamp": "1762844064000",
    "processed_timestamp": "1762844065000",
    "balance_after": {
      "value": "120000.00",
      "currency": "IDR"
    },
    "net_amount": {
      "value": "21000.00",
      "currency": "IDR"
    },
    "fee": {
      "value": "500.00",
      "currency": "IDR"
    },
    "gross_amount": {
      "value": "21500.00",
      "currency": "IDR"
    }
  }
}

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

{
  "response_code": "SP009",
  "response_message": "Timeout",
  "data": {
    "reference_number": "735463554",
    "type": "mpm",
    "scope": "issuer"
  }
}