POST
/
orders
curl --request POST \
  --url https://api.sandbox1-dev.finhost.io/crypto-exchange/orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pair": "USDT/EUR",
  "side": "buy",
  "volume": "42",
  "settings": {
    "type": "market",
    "desiredPrice": "42"
  }
}'
{
  "order": {
    "id": "018e53c4-cd35-7863-be61-924932bfd862"
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

companyId
string

Company ID

Body

application/json

Response

200
application/json
OK

The response is of type object.