Get one order
GET/v3/orders/:orderIdDescription
Get a previously created order by its orderId
.
This endpoint is useful if you want to get the
details (including the status
) of a specific order.
Order Statuses
complete
: The order was successfully processed.expired
: The order expired.failed
: The order failed to be processed.inProgress
: The order is still being processed.refunded
: The order was refunded.
Header Parameters
Name | Description | Required |
---|---|---|
App-Name | App-Name for the authorization | yes |
App-Version | App-Version for the authorization | no |
Forwarded | If you are proxying requests to the API, you must include the "Forwarded" header with the original request IP address. This is used for geolocation availability purposes. | no |
Path Parameters
Name | Description | Required |
---|---|---|
orderId | Order Id from a previous order creation | yes |
Response
Here is an example of a successful response with a complete
status:
RESPONSE
{
"amount": {
"assetId": "ETH",
"value": "0.1428498"
},
"createdAt": "2022-07-26T04:10:49.087Z",
"fromAddress": "0xb9610EA77d7EAfEa169896e123F0704B3F0F6F55",
"fromTransactionId": "0xc1cb0cbe6db68347d7faa2280f1251872a155f6558451365b8309b6a92935004",
"id": "AROzE5pqalJ1nVY",
"message": "",
"pairId": "ETH_CRV",
"payInAddress": "fake-receive-address-71cfe1c7b2113fb5",
"providerOrderId": "0xc1cb0cbe6db68347d7faa2280f1251872a155f6558451365b8309b6a92935004",
"rateId": "",
"toAddress": "0xb9610EA77d7EAfEa169896e123F0704B3F0F6F55",
"toTransactionId": "0xc1cb0cbe6db68347d7faa2280f1251872a155f6558451365b8309b6a92935004",
"updatedAt": "2022-07-26T04:15:05.706Z",
"status": "complete"
}
Last updated on