Clients
Update client contract inDevelopnent
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
Clients
Update client contract inDevelopnent
Set the contract in the client profile
PATCH
/
client
/
contract
curl --request PATCH \
--url https://client-api.dev.finhost.io/client/contract \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"contract": "BasicContract"
}'
{
"client": "73f86631-3aa8-4df3-a769-ed820761da8c",
"adm": "adm:active",
"kyc": "kyc:unconfirmed",
"verifier": "sumsub",
"applicant": "628f44511a86170001268e99",
"agent": "39eab26c-8788-4375-810c-9807aaf98191",
"context": "profile",
"created": "2022-07-06T13:42:24.094Z",
"updated": "2022-07-06T13:42:24.094Z",
"contract": "BasicContract",
"termsVersion": "2022-07-06T13:42:24.094Z",
"termsAcceptedTs": "2022-07-06T13:42:24.094Z",
"address": {
"country": "USA",
"postCode": "23453",
"town": "Boston",
"street": "Bandery 17",
"streetLine2": "sub street",
"state": "DE"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
200 response
The response is of type object
.
curl --request PATCH \
--url https://client-api.dev.finhost.io/client/contract \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"contract": "BasicContract"
}'
{
"client": "73f86631-3aa8-4df3-a769-ed820761da8c",
"adm": "adm:active",
"kyc": "kyc:unconfirmed",
"verifier": "sumsub",
"applicant": "628f44511a86170001268e99",
"agent": "39eab26c-8788-4375-810c-9807aaf98191",
"context": "profile",
"created": "2022-07-06T13:42:24.094Z",
"updated": "2022-07-06T13:42:24.094Z",
"contract": "BasicContract",
"termsVersion": "2022-07-06T13:42:24.094Z",
"termsAcceptedTs": "2022-07-06T13:42:24.094Z",
"address": {
"country": "USA",
"postCode": "23453",
"town": "Boston",
"street": "Bandery 17",
"streetLine2": "sub street",
"state": "DE"
}
}