GET
/
orders
/
{orderId}
curl --request GET \
  --url https://api.sandbox1-dev.finhost.io/crypto-exchange/orders/{orderId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "018e53c4-cd35-7863-be61-924932bfd862",
  "profileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "accountIdFrom": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "accountIdTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "pair": "USDT/EUR",
  "side": "buy",
  "volume": "42",
  "settings": {
    "type": "market",
    "desiredPrice": "42"
  },
  "charge": {
    "percentage": 0.5,
    "contractId": "regularContract"
  },
  "state": {
    "status": "initiated"
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orderId
string
required

Order ID

Examples:

"018e53c4-cd35-7863-be61-924932bfd862"

Query Parameters

companyId
string

Company ID

Response

200
application/json
OK

The response is of type object.