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
Parameter | Type | Description |
---|---|---|
billId | string | The 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
}
}
Property | Type | Description |
---|---|---|
code | number | The response code. Refer to ENUM Definition. |
message | string | The response message. |
data | object | The response data. |
data.billId | string | The unique ID of the bill. This ID will be required for requery and other operations. |
data.merchantReference | string | Your own reference number of the bill. |
data.requestReference | string | The request reference number of the request. |
data.paymentReference | string | The payment reference number of the payment. |
data.billAmount | number | The amount of the bill. |
data.currency | string | The currency of the bill. |
data.status | number | The status of the bill. Refer to ENUM Definition. |
data.statusName | string | The status name of the bill. |
data.isFinal | bool | Whether the status of the bill is final. |
data.dateTime | number | The timestamp (in unix milliseconds) of the bill status update. |