The endpoint lets you retrieve the current transaction status (for example, a final or intermediate status). When querying an order, the system selects the most recent charge and returns the latest information for it.
After sending a request to retrieve an order status, you can receive the following responses.
authorized, captured, settled; and for intermediate statuses (200 pending): confirmed, created, redirected, verified, deferred.declined, failed.{
"data": {
"chargeId": "c3f74bd1-8df2-4679-b66f-158f8e735890",
"chargeStatus": "verified"
},
"meta": {
"type": "entity"
}
}{
"data": {
"chargeId": "c3f74bd1-8df2-4679-b66f-158f8e735890",
"chargeStatus": "declined",
"error": {
"uuid": "c11b3280-771d-4ac6-9ded-0f4c6cffc4c6",
"code": "2102",
"message": "Invalid card data",
"traceId": "71a5d32ed9c2c3ca8ab5e8fc9fbe376c"
}
},
"meta": {
"type": "entity"
}
}The list of possible errors for this endpoint, along with their types and interpretation, is provided in the general reference: Endpoint response errors.