Accounts
Create statements for account
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
Create statements for account
Return the list of the completed transactions for the client accounts in
POST
/
v1
/
accounts
/
{accountId}
/
statements
curl --request POST \
--url https://client-api.dev.finhost.io/v1/accounts/{accountId}/statements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"fromDate": "2023-11-20T08:34:39.343Z",
"toDate": "2023-11-21T08:34:39.343Z",
"timezone": "2"
}'
[
{
"accountFrom": "49eab26c-8788-4375-810c-9807aaf98234",
"amount": 10,
"operation": "internal",
"companyId": "10eab26c-8788-4375-810c-9807aaf98210",
"recipient": {
"recipient": "39eab26c-8788-4375-810c-9807aaf98191",
"accountTo": "49eab26c-8788-4375-810c-9807aaf98234"
}
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Account id
Body
application/json
Response
200 - application/json
200 response
The response is of type object[]
.
curl --request POST \
--url https://client-api.dev.finhost.io/v1/accounts/{accountId}/statements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"fromDate": "2023-11-20T08:34:39.343Z",
"toDate": "2023-11-21T08:34:39.343Z",
"timezone": "2"
}'
[
{
"accountFrom": "49eab26c-8788-4375-810c-9807aaf98234",
"amount": 10,
"operation": "internal",
"companyId": "10eab26c-8788-4375-810c-9807aaf98210",
"recipient": {
"recipient": "39eab26c-8788-4375-810c-9807aaf98191",
"accountTo": "49eab26c-8788-4375-810c-9807aaf98234"
}
}
]