Accounts
Receive all accounts for the client
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
Accounts
Receive all accounts for the client
deprecated
Return the list of the balances for the client accounts
GET
/
account
curl --request GET \
--url https://client-api.dev.finhost.io/account \
--header 'Authorization: Bearer <token>'
[
{
"client": "39eab26c-8788-4375-810c-9807aaf98191",
"account": "40eab26c-8788-4375-810c-9807aaf98190",
"agent": "50eab26c-8788-4375-810c-9807aaf98191",
"auditor": "70eab26c-8788-4375-810c-9807aaf98190",
"contract": "basicContract",
"available": 150,
"holding": 10,
"pending": 5,
"balance": 155,
"title": "USD account",
"currency": "USD",
"status": "individual",
"created": "2022-07-06T13:42:24.094Z",
"updated": "2022-07-06T13:42:24.094Z",
"bankDetails": "{\"iban\":\"GB60TEST26161681306171\",\"bic\":\"TESTGB21\"}",
"variantId": "1",
"alias": "10002000"
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Company id
Response
200 - application/json
200 response
The response is of type object[]
.
curl --request GET \
--url https://client-api.dev.finhost.io/account \
--header 'Authorization: Bearer <token>'
[
{
"client": "39eab26c-8788-4375-810c-9807aaf98191",
"account": "40eab26c-8788-4375-810c-9807aaf98190",
"agent": "50eab26c-8788-4375-810c-9807aaf98191",
"auditor": "70eab26c-8788-4375-810c-9807aaf98190",
"contract": "basicContract",
"available": 150,
"holding": 10,
"pending": 5,
"balance": 155,
"title": "USD account",
"currency": "USD",
"status": "individual",
"created": "2022-07-06T13:42:24.094Z",
"updated": "2022-07-06T13:42:24.094Z",
"bankDetails": "{\"iban\":\"GB60TEST26161681306171\",\"bic\":\"TESTGB21\"}",
"variantId": "1",
"alias": "10002000"
}
]