QM Developer Docs
Billing Reference

Requery Bill

Checks the latest status of a bill, at any time.

Requery a bill.

GET /v1/bill/requery?billId={billId} HTTP/1.1
Content-Type: application/json
Key: {API Key}
Sign: {Signature}

Request

Query Parameters

ParameterTypeDescription
billIdstringThe unique ID of the bill.

Response

Body

application/json
{
  "code": 0,
  "message": "string",
  "data": {
    "billId": "string",
    "merchantReference": "string",
    "requestReference": "string",
    "paymentReference": "string",
    "billAmount": "string",
    "currency": "string",
    "status": 0,
    "statusName": "string",
    "isFinal": bool,
    "dateTime": 1706600000000
  }
}
PropertyTypeDescription
codenumberThe response code. Refer to ENUM Definition.
messagestringThe response message.
dataobjectThe response data.
data.billIdstringThe unique ID of the bill. This ID will be required for requery and other operations.
data.merchantReferencestringYour own reference number of the bill.
data.requestReferencestringThe request reference number of the request.
data.paymentReferencestringThe payment reference number of the payment.
data.billAmountnumberThe amount of the bill.
data.currencystringThe currency of the bill.
data.statusnumberThe status of the bill. Refer to ENUM Definition.
data.statusNamestringThe status name of the bill.
data.isFinalboolWhether the status of the bill is final.
data.dateTimenumberThe timestamp (in unix milliseconds) of the bill status update.

© 2023-2024 Quantum Metal Sdn Bhd