Query NQR Payment Status
GET /payments/nqr/status-query/{referenceId}
Description
Retrieve the status of an NQR payment using the reference ID.
Path Parameters
| Name | Type | Description |
|---|---|---|
referenceId | string | The unique identifier of the payment (path parameter) |
Request Headers
| Name | Type | Description |
|---|---|---|
tenantId | string | The tenant ID (header) |
countryCode | string | The country code (header) |
Example
GET /payments/nqr/status-query/{referenceId}
Accept: application/json
countryCode: string
tenantId: string
Response Code: 200 - OK
Description
Successful retrieval of NQR payment status.
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | Indicates if the operation was successful |
statusCode | integer | Status code |
message | string | Response message |
data | object | Data related to the NQR payment status |
errors | array | List of error messages, if any |
Example
{
"status": true,
"statusCode": 0,
"message": "NQR payment status retrieved successfully",
"data": {},
"errors": [
{
"message": "Some error occurred",
"descriptiveMessage": "Detailed error message"
}
]
}
Headers
| Content-Type | application/json |
|---|---|
| countryCode | string |
| tenantId | string |
LANGUAGE
CURL REQUEST
curl --request GET \
--url /payments/nqr/status-query/{referenceId} \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!