Crypto
Get 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
Get order
Eventually consistent operation. May not include the recently created orders.
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Order ID
Examples:
"018e53c4-cd35-7863-be61-924932bfd862"
Query Parameters
Company ID
Response
200
application/json
OK
The response is of type object
.
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"
}