Get Order
Get order
GET
/orders/:order_id
Get an order details
Headers
Name
Value
X-API-Key
API Key
X-API-Sign
Generated Signature
Path Params
Name
Type
Required
Description
order_id
number
The order id to get
Response
{
"success": true,
"message": "Request processed successfully",
"data": {
"id": 422,
"user_id": 16,
"transaction_id": "OPOXV7-5N2VX-E4A58A",
"status": "canceled",
"open_time": "1711558585.0000",
"close_time": "1711584893.6048",
"expire_time": "0.0000",
"reason": "User requests",
"pair": "NIZAEUR",
"type": "buy",
"order_type": "limit",
"description": {
"pair": "NIZAEUR",
"type": "buy",
"close": "",
"order": "buy 1600.00000000 NIZAEUR @ limit",
"price": "0.00812000",
"leverage": "none",
"orderType": "limit",
"secondaryPrice": null
},
"volume": {
"amount": "1600.00000000",
"currency": "NIZA"
},
"volume_executed": {
"amount": "0.00000000",
"currency": "NIZA"
},
"fee": null,
"price": {
"amount": "0.00812000",
"currency": "EUR"
},
"secondary_price": null,
"limit_price": null,
"cost": null,
"asset_pair": {
"id": 679,
"name": "NIZAEUR",
"display_name": "NIZA/EUR",
"base_name": "NIZA",
"quote_name": "EUR"
},
"trigger_conditions": "--",
"trades": []
},
"code": 200
}
{
"success": false,
"message": "No query results for model 4224",
"error": {
"message": "No query results for model 4224",
"code": 404
}
}
Last updated