Crypto
Create order
Clients
Companies
- GETList Companies
- GETGet Company
- POSTAccept contract for company
- GETGet KYB access token for company
- GETReceive information about the company inDevelopment
- GETReceive information about the company
- POSTCreate company
- PATCHUpdate company
- PATCHSet company email
- POSTVerify company email
- POSTResend verification code
- PATCHAccept contract
Accounts
- GETReceive all accounts for the client
- PATCHActivate the account of the customer
- GETReceive all accounts for the client
- POSTInitiate a new account for the customer
- GETReceive all accounts for the client
- PATCHActivate the account of the customer
- GETGet bank details for extAccount
- GETReceive bank detailes for the account
- POSTCreate statements for account
- GETReceive information about iban
- PATCHActivate the account of the client
Recipients
Contracts
KYC
Transfers
Crypto
Contracts
Recipients
Crypto
Create order
Asynchronous operation. The order may not be available in the orders list immediately after the response.
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Company ID
Body
application/json
Response
200
application/json
OK
The response is of type object
.
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"
}
}