Get customer groups
GET/Customer/Groups/:customerCode
Get customer groups
Request​
Path Parameters
The customer code.
Responses​
- 200
- 404
The groups for the specified customer.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
The current page number in the paginated result set.
The number of items returned on this page.
Indicates whether additional pages of results are available after the current page.
Indicates whether pages of results exist before the current page.
The total number of items across all pages.
The total number of pages available.
items object[]nullable
The collection of items returned for the current page.
The unique code identifying the customer.
The code identifying the customer's type classification.
The code identifying the customer's legal entity type.
The customer's primary last name.
The customer's secondary or maiden last name.
The customer's middle name.
The customer's first name.
The customer's father's name.
The customer's mother's name.
The customer's date of birth.
The customer's gender (numeric code).
The customer's primary mobile phone number.
The customer's secondary mobile phone number.
The customer's primary email address.
The customer's secondary email address.
The customer's tax identification number.
The code of the tax office where the customer is registered.
The number of dependent family members.
The code identifying the education level.
The name of the customer's city of origin.
The ISO country code of the origin country.
The ISO country code of the customer's nationality.
The Tiresias (credit bureau) classification type for the customer.
The date when the customer record was activated.
The date when the customer record was deactivated.
The code of the branch that owns this customer record.
The code of the branch responsible for monitoring this customer.
The code representing the customer's current status.
The date of the customer's most recent Know Your Customer (KYC) review.
The customer's official registration number.
Information about any disabilities recorded for the customer.
The numeric identifier of the customer's tax residence location.
The code representing the customer's onboarding status.
The display title of the customer's onboarding status.
The display title of the customer's business type.
The code identifying the customer's business type.
The code identifying the customer's business type.
The display title of the customer's business type.
The code of the city where the customer was born.
The name of the city where the customer was born.
The customer's original code before any code migration or update.
taxResidenceResponse object
The customer's tax residence details.
The display title of the tax residence.
The username or identifier of the user who created this record.
The date and time when this record was created.
The username or identifier of the user who last updated this record.
The date and time when this record was last updated.
customerRelations object[]nullable
The list of relationships associated with this customer.
The numeric identifier of the customer relationship.
A textual description of the relationship type.
customerYearIncomes object[]nullable
The list of yearly income records for this customer.
The fiscal year for which the income is reported.
The total annual income amount.
The code identifying the type of income.
The display title of the income type.
createInfo object
Audit metadata capturing who created this record and when.
The username or identifier of the user who performed the action.
The date and time when the action was performed.
updateInfo object
Audit metadata capturing who last updated this record and when.
The username or identifier of the user who performed the action.
The date and time when the action was performed.
The AML-specific code assigned to the customer.
The display title of the customer type.
The display title of the tax office.
The display title of the education level.
The display name of the customer's country of origin.
The display name of the customer's nationality country.
The display title of the branch that owns this customer record.
The display title of the branch responsible for monitoring this customer.
The display title of the customer status.
The computed risk level assigned to the customer.
Indicates whether this customer is excluded from AML processing.
Indicates whether the customer is flagged as suspicious.
The list of group codes the customer belongs to.
Possible values: [0, 1, 2, 3, 4, 5, 6]
The customer's status enumeration value.
createInfo object
Audit metadata capturing who created this record and when.
The username or identifier of the user who performed the action.
The date and time when the action was performed.
updateInfo object
Audit metadata capturing who last updated this record and when.
The username or identifier of the user who performed the action.
The date and time when the action was performed.
{
"page": 0,
"count": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"totalCount": 0,
"totalPages": 0,
"items": [
{
"customerCode": "string",
"customerTypeCode": "string",
"customerLegalTypeCode": "string",
"lastname": "string",
"lastname2": "string",
"middleName": "string",
"firstname": "string",
"fatherName": "string",
"motherName": "string",
"birthDate": "2024-07-29T15:51:28.071Z",
"gender": 0,
"mobilePhone1": "string",
"mobilePhone2": "string",
"emailAddress1": "string",
"emailAddress2": "string",
"taxCode": "string",
"taxOfficeCode": "string",
"dependentMembers": 0,
"educationLevelCode": "string",
"originCityName": "string",
"originCountryCode": "string",
"nationalityCountryCode": "string",
"teiresiasType": "string",
"activeDate": "2024-07-29T15:51:28.071Z",
"deactivationDate": "2024-07-29T15:51:28.071Z",
"customerBranchCode": "string",
"customerWatchingBranchCode": "string",
"customerStatusCode": "string",
"customerKycDate": "2024-07-29T15:51:28.071Z",
"customerRegistrationNumber": "string",
"customerDisabilities": "string",
"customerTaxResidentPlace": 0,
"onBoardingStatusCode": "string",
"onBoardingStatusTitle": "string",
"bussinessTypeTitle": "string",
"bussinessTypeCode": "string",
"customerBussinessTypeCode": "string",
"customerBussinessTypeTitle": "string",
"birthPlaceCityCode": "string",
"birthPlaceCityName": "string",
"custCodeOriginal": "string",
"taxResidenceResponse": {
"recidenceTitle": "string",
"createdBy": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedBy": "string",
"updatedAt": "2024-07-29T15:51:28.071Z"
},
"customerRelations": [
{
"relationID": 0,
"relationDescription": "string"
}
],
"customerYearIncomes": [
{
"fiscalYear": 0,
"yearIncome": 0,
"incomeTypeCode": "string",
"incomeTypeTitle": "string",
"createInfo": {
"actionBy": "string",
"actionAt": "2024-07-29T15:51:28.071Z"
},
"updateInfo": {
"actionBy": "string",
"actionAt": "2024-07-29T15:51:28.071Z"
}
}
],
"customerAmlCode": "string",
"customerTypeTitle": "string",
"taxOfficeTitle": "string",
"educationLevelTitle": "string",
"originCountryName": "string",
"nationalityCountryName": "string",
"customerBranchTitle": "string",
"customerWatchingBranchTitle": "string",
"customerStatusTitle": "string",
"riskLevel": 0,
"excludeFromAML": true,
"isSuspicious": true,
"groupCodes": [
"string"
],
"customerStatus": 0,
"createInfo": {
"actionBy": "string",
"actionAt": "2024-07-29T15:51:28.071Z"
},
"updateInfo": {
"actionBy": "string",
"actionAt": "2024-07-29T15:51:28.071Z"
}
}
]
}
A customer with the specified code could not be found.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}