Query order

Returns query given id

post
Body
orderIdstringRequired

Order ID

Responses
200Success
application/json
post
POST /v1/private/order/query HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "orderId": "text"
}
200Success
{
  "id": "text",
  "accountId": "text",
  "signature": [
    "S1",
    "S2"
  ],
  "marketId": "BTCUSD",
  "type": "MARKET",
  "side": "BUY",
  "direction": "LONG",
  "status": "CREATED",
  "isPendingExpiration": true,
  "isPendingCancellation": true,
  "isPendingRejection": true,
  "price": 1,
  "quantity": 1,
  "quantityLocked": 1,
  "quantityFilled": 1,
  "leverage": 1,
  "slippage": 1,
  "postOnly": false,
  "timeInForce": "GTC",
  "clientTimestamp": 1708456721657,
  "rejectionReason": {
    "code": "text",
    "message": "text"
  },
  "createdAt": 1,
  "updatedAt": 1,
  "expiresAt": 1
}

Last updated