Retrieve a specific order by ID
GET/api/v1/orders/:orderId
Get details of a specific order by its ID.
Request
Path Parameters
Possible values: Value must match regular expression [0-9a-f]{8}-[0-9a-f]{4}-[13-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}
The unique identifier of the order.
Responses
- 200
Order details.
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier of the order.
Possible values: [inProgress
, completed
, failed
]
The current status of the order. Possible values include: inProgress: The order is currently being processed and has not yet been completed. completed: The payer has completed the order, and the funds have been credited to the merchant's wallet. failed: The client either did not complete the payment within the order's lifetime or did not fully pay the order if it was a payment order.
The timestamp when the order was created, in the ISO 8601 format, including the date, time, and timezone information.
The timestamp when the order status was last updated, in the ISO 8601 format, including the date, time, and timezone information.
primaryAmount nullable
The amount and currency the merchant will receive after deducting the service fee.
The monetary value, as a decimal number with up to 6 decimal places.
Possible values: [USDT
, TRX
]
The currency of the amount.
secondaryAmount objectnullable
The amount and currency of the order in euros.
The monetary value, as a decimal number with up to 2 decimal places.
Possible values: [EUR
]
The currency of the amount.
serviceFeeAmount nullable
The service fee applied to the order. The currency of the service fee always matches the currency of the primaryAmount.
The monetary value, as a decimal number with up to 6 decimal places.
Possible values: [EUR
]
The currency of the amount.
totalAmount nullable
The total amount and currency involved in the order, including fees. This is the amount the payer actually paid.
The monetary value, as a decimal number with up to 6 decimal places.
Possible values: [USDT
, TRX
]
The currency of the amount.
{
"id": "1ef65c5c-8fae-6bf2-91fd-73770edda314",
"status": "inProgress",
"createdAt": "2024-08-29T05:04:24+00:00",
"updatedAt": "2024-08-29T05:34:02+00:00",
"primaryAmount": {
"amount": "0.995000",
"currency": "USDT"
},
"secondaryAmount": {
"amount": "0.14",
"currency": "EUR"
},
"serviceFeeAmount": {
"amount": "0.005000",
"currency": "EUR"
},
"totalAmount": {
"amount": "1.000000",
"currency": "USDT"
}
}