Customers
Assign entity the role of customer.
Unique requestor identification in UUID format
Identifier of the entity, natural person, joint person or legal entity, who will become a customer.
Up to 16 user-defined labels can be provided to allow grouping of customers as per required logic
OK
Bad Request
Conflict
POST /roles/customers HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 198
{
"entityId": "123e4567-e89b-12d3-a456-426614174000",
"entityType": "NATURAL_PERSON",
"refAccounts": [
{
"bankName": "text",
"iban": "text",
"bic": "text",
"type": "PRIMARY",
"ownerName": "text"
}
],
"labels": [
"text"
]
}
{
"customerId": "123e4567-e89b-12d3-a456-426614174000"
}
Get a list of customers.
String value used for pagination
Maximum number of items to return
20
Entity ID
Current customer status
Customer type
user-defined labels (elements allow grouping of customers as per required logic) filter; will filter customers that have all of the provided labels
OK
Bad Request
GET /roles/customers HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"data": [
{
"customerId": "123e4567-e89b-12d3-a456-426614174000",
"customerStatus": "CREATED",
"signedDocumentsRelatedToCustomer": [
{
"partnerDocumentId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"documentType": "TERMS_AND_CONDITIONS",
"version": 1,
"naturalPersonId": "123e4567-e89b-12d3-a456-426614174000",
"naturalPersonFullName": "text",
"createdOn": "2025-08-30T17:55:25.058Z",
"modifiedOn": "2025-08-30T17:55:25.058Z"
}
],
"createdOn": "2025-08-30T17:55:25.058Z",
"modifiedOn": "2025-08-30T17:55:25.058Z",
"cancellationDate": "2025-08-30T17:55:25.058Z",
"entityId": "123e4567-e89b-12d3-a456-426614174000",
"entityType": "NATURAL_PERSON",
"refAccounts": [
{
"bankName": "text",
"iban": "text",
"bic": "text",
"type": "PRIMARY",
"ownerName": "text"
}
],
"labels": [
"text"
]
}
],
"pagination": {
"cursor": "text",
"limit": 1
}
}
Get customer
Customer ID
OK
Not Found
GET /roles/customers/{customerId} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"customerId": "123e4567-e89b-12d3-a456-426614174000",
"customerStatus": "CREATED",
"signedDocumentsRelatedToCustomer": [
{
"partnerDocumentId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"documentType": "TERMS_AND_CONDITIONS",
"version": 1,
"naturalPersonId": "123e4567-e89b-12d3-a456-426614174000",
"naturalPersonFullName": "text",
"createdOn": "2025-08-30T17:55:25.058Z",
"modifiedOn": "2025-08-30T17:55:25.058Z"
}
],
"createdOn": "2025-08-30T17:55:25.058Z",
"modifiedOn": "2025-08-30T17:55:25.058Z",
"cancellationDate": "2025-08-30T17:55:25.058Z",
"entityId": "123e4567-e89b-12d3-a456-426614174000",
"entityType": "NATURAL_PERSON",
"refAccounts": [
{
"bankName": "text",
"iban": "text",
"bic": "text",
"type": "PRIMARY",
"ownerName": "text"
}
],
"labels": [
"text"
]
}
Update customer
Customer ID
Unique requestor identification in UUID format
Up to 16 user-defined labels can be provided to allow grouping of customers as per required logic
Accepted
No content
Bad Request
PATCH /roles/customers/{customerId} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 118
{
"labels": [
"text"
],
"refAccounts": [
{
"bankName": "text",
"iban": "text",
"bic": "text",
"type": "PRIMARY",
"ownerName": "text"
}
]
}
No content
Last updated