Contracts
Get Contracts
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
Contracts
Get Contracts
Get Contracts. If company ID is provided, then contracts for specific company will be returned, otherwise contracts for client will be returned. If client or company has no contract, then list of available contracts will be returned
GET
/
v2
/
contracts
curl --request GET \
--url https://client-api.dev.finhost.io/v2/contracts \
--header 'Authorization: Bearer <token>'
{
"contracts": [
{
"id": "regularContract",
"title": "Regular Contract",
"description": "Best contract ever",
"available": true,
"clientType": "individual",
"currencies": [
{
"currency": "GBP",
"accountsCountLimit": 123,
"products": [
{
"id": "sepa-in",
"type": "transfer",
"transferPlans": [
{
"calculator": "sum",
"from": 0,
"flat": 5,
"percentage": 0
}
]
}
]
}
],
"variants": [
{
"id": 1,
"currency": "GBP",
"description": "<string>",
"title": "Regular Contract",
"accountsCountLimit": 123,
"products": [
{
"id": "sepa-in",
"type": "transfer",
"transferPlans": [
{
"calculator": "sum",
"from": 0,
"flat": 5,
"percentage": 0
}
]
}
]
}
],
"onboardingFee": {
"currency": "GBP",
"amount": 5
}
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Company ID
Response
200
application/json
OK
The response is of type object
.
curl --request GET \
--url https://client-api.dev.finhost.io/v2/contracts \
--header 'Authorization: Bearer <token>'
{
"contracts": [
{
"id": "regularContract",
"title": "Regular Contract",
"description": "Best contract ever",
"available": true,
"clientType": "individual",
"currencies": [
{
"currency": "GBP",
"accountsCountLimit": 123,
"products": [
{
"id": "sepa-in",
"type": "transfer",
"transferPlans": [
{
"calculator": "sum",
"from": 0,
"flat": 5,
"percentage": 0
}
]
}
]
}
],
"variants": [
{
"id": 1,
"currency": "GBP",
"description": "<string>",
"title": "Regular Contract",
"accountsCountLimit": 123,
"products": [
{
"id": "sepa-in",
"type": "transfer",
"transferPlans": [
{
"calculator": "sum",
"from": 0,
"flat": 5,
"percentage": 0
}
]
}
]
}
],
"onboardingFee": {
"currency": "GBP",
"amount": 5
}
}
]
}