Get order status

get
/api/v2/orders/{orderId}/result
lts

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.

Header parameters
Attribute
Requirement
Description
x-public-key
mandatory
a public key that identifies the merchant account (there can be several for one merchant)
x-buyer-ip
mandatory
is responsible for information about the buyer's IP address
x-date
mandatory
is responsible for the date and time of sending the request
x-token
mandatory
generated on the merchant side
x-source
mandatory
identifier of the type of service that is the initiator of the request
x-id
mandatory
service identifier from which the current request is made
Request parameters
Attribute
Type
Requirement
Description
Standard
orderId
string
mandatory
Unique order identifier
8 characters
Response parameters

After sending a request to retrieve an order status, you can receive the following responses.

The first variant below can be returned for successful statuses (200 success): authorized, captured, settled; and for intermediate statuses (200 pending): confirmed, created, redirected, verified, deferred.
Attribute
Type
Description
data
object
Contains information about the status of the order’s most recent charge
meta
object
Provides metadata about the response
The second variant can be returned for declined or failed statuses (200 declined/failed): declined, failed.
Attribute
Type
Description
data
object
Contains information about the status of the order’s most recent charge
meta
object
Provides metadata about the response
{
    "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"
    }
}
Errors and interpretation

The list of possible errors for this endpoint, along with their types and interpretation, is provided in the general reference: Endpoint response errors.