POST
Path: {{baseUrl}}/amlyze-ws-rest/customer
ContentType: application/json
Authorization: Bearer Token
API requests examples
Fields
Unique number of communication. It is used for risk assessment callback.Example:
Test_ComNr_002mHzZZName of the system requesting web service.Example:
Amlyze❗Mandatory field for clients utilizing a multi-organizational solution. Omit this parameter unless instructed about it.It serves to specify the unique identifier for the business unit. Business units are logical groupings of users and data. Each business unit can have its own set of users, permissions, and data access rules.Example:
BUSINESS_UNIT_NAMEElement is used to indicate whether a client needs to be created or the existing customer’s data to be updated. As this field is not mandatory and if not provided,
CREATE values is set as default.❗ By UPDATEing, all data will be replaced with newly received oneEnum class values: CREATE, UPDATEExample: UPDATEThe value
IMPORT is to be used for migration only – the customer and it’s questionnaire will be imported without risk assessment.Value: IMPORTPredefined risk level of imported customer.Enum class values:
NONE, LOW, MEDIUM, HIGH, EXTREMEExample: LOWCustomer’s predefined status represents the current standing or state of a customer’s relationship with a business or organizationEnum class values:
PENDING, ACTIVE, REJECTED, SUSPENDED, CLOSEDPENDING - Customer application is received but not yet prepared for upcoming workflowACTIVE - Customer is onboarded and ready for workflowREJECTED- the customer for some reasons was rejected before opening an account for himSUSPENDED - Customer’s activities for some reasons are restrictedCLOSED - Customer’s profile is disabledExample: ACTIVECode of risk management category of the object. Value must be from a classifier list personalized to your company.Example:
ORGNotifies about customer type.Value:
ORGANIZATIONUnique external customer identifier. This identifier corresponds to the client’s identifier in the financial institution.Example:
cust_1232Date when customer first applied.Example:
2020-01-03❗Mandatory only when
customerStatus = CLOSED. Not used when customerStatus is PENDING, ACTIVE, REJECTED or SUSPENDED.Example: 2005-05-24Title of the organization entity.Example:
LTD 'MinorMajor'Country of registration of the organization.Example:
LTLegal form of the organization.Example:
LTDDefines which lists to check during screening process. Strings of the list are noted in the dropdown below.Example:
PEP, ADVERSE_MEDIATrading name of the organization.Example:
MinorMajorDate of application approval - onboarding date.Example:
2020-01-05Establishment date for organization type entities.Example:
2001-02-23National code or national identification number of individual. If a country does not issue national code, any other unique identifier can be used:
- Passport number
- Social security number of person
- A number of taxpayer or registration certificate of the company, etc
- A number of taxpayer or registration certificate of the company
50001010022Description of entity activity.Value:
LogisticsDescription of business entities’ activities in a restricted region.Value:
LogisticsIdentification for whether a person is politically exposed.Example:
trueIdentification for whether a person is sanctioned.Example:
falseAn indication of the existence of information on adverse media about the entity.Example:
trueAn indication of the existence of information on internal list about the entity.Example:
trueGlobal intermediary identification number.Example:
GIN548745122LEI stands for Legal Entity Identifier, which is a unique code used to identify legal entities that participate in financial transactions.Example:
LEI54511548Indicator whether entity is white/black listed.Enum class values:
WHITE, BLACKExample: WHITEIndicator for actual address declaration.Example:
trueIndicator for actual address declaration.Example:
falseDescription of income source of the entity.Example:
Job salarySource of initial deposit.Example:
SalaryBank of the initial depositExample:
TBCAccount of initial depositExample:
LT0089500500000070Amount of initial deposit.Example:
8500.48This currency field notifies about initial deposit currency.Example:
EURIndicator for cash being the main income source.Example:
trueIndicator for the business entity being audited.Example:
trueThe number of times a business entity has been auditedExample:
3The number of years that are in question for being audited.Example:
1Description of organization structure.Example:
HierarchicalCheck for multi-layer organizational structure.Example:
trueWhether entity is financial institution.Example:
trueWhether entity is managed directly.Example:
falseWhether entity has no major shareholders involved.Example:
falseThe number of employees in the company.Example:
25Value of companies assets.Example:
100000Whether entity has fines.Example:
falseThe number of years that are in question for being fined.Example:
3Indicator for the business entity is listed in stock exchange companies.Example:
falseIndicator for the business entity being regulated by third-party authorities.Example:
falseWhether entity activity requires license.Example:
falseBusiness entities license description.Example:
Licence No.4012Indicator if the customer is being litigated.Example:
falseWhether client is using third party services.Example:
trueDescription of third party services.Example:
HostingDescription of the region for activities.Example:
Customer serviceList for related business entities. Fields of the list are described in the dropdown below.
List of possible responses
This part lists common responses after the submission of the request.List of possible errors
This section lists the possible errors that can occur when making a bad customer request to the API. A bad request is a request that somehow does not follow the API specifications.| Error Code | Error Description |
|---|---|
| ActivityType is mandatory | |
| ActivityType must be defined in Amlyze | |
| AddressType is mandatory. | |
| AddressType is not defined in Amlyze. | |
| Country is mandatory and can’t be empty | |
| Country is mandatory and must exist in Amlyze | |
| AdditionalValue.Code is mandatory | |
| AdditionalValue.Description is mandatory | |
| AdditionalValue.Value is mandatory | |
| AdditionalValue.Datatype is mandatory | |
| Duplicate code in additionalValues | |
| Bad datatype valueCode: | |
| Bad value for valueCode: | |
| Bad value for (format: ‘yyyy-MM-dd’) valueCode: | |
| Bad value for (format: ‘yyyy-MM-dd HH:mm:ss.SSSZ’) valueCode: | |
| Bad value for (values: true false’) valueCode: | |
| EntityType is mandatory. values: INDIVIDUAL, ORGANIZATION | |
| DocumentNumber is mandatory. | |
| DocumentIssueDate is mandatory. | |
| DocumentIssueCountry is mandatory and must exist in Amlyze | |
| DocumentIssueAuthority is mandatory | |
| CustomerExtId is mandatory. | |
| DELETE not yet implemented, contact Amlyze support | |
| Customer already exists | |
| C004 | Cannot update not existing customer, use Action = CREATE |
| Requester is mandatory. | |
| RiskManagementCategory is mandatory. | |
| C007 | RiskManagementCategory does not exist in Amlyze |
| Given RiskManagementCategory not supported for Customer | |
| SourceOfRiskLevel is mandatory. Values: IMPORT, EVALUATE | |
| Cannot demote existing customer to Lead riskManagementCategory | |
| EntityType is mandatory. | |
| When importing, CustomerStatus is mandatory. | |
| C008.I02 | When source of risk level IMPORT. ‘Lead’ risk management category is forbidden |
| When source of risk level IMPORT. RiskLevel is mandatory, values: NONE, LOW, MEDIUM, HIGH, EXTREME | |
| When source of risk level EVALUATE. RiskLevel can’t be provided | |
| C012 | ApplicationDate is mandatory |
| C013 | ClosingDate is mandatory for CLOSED CustomerStatus |
| C013a | ClosingDate can not exist for not CLOSED CustomerStatus |
| Field not allowed for INDIVIDUAL. Field: | |
| For INDIVIDUAL type customer | |
| Field not allowed for ORGANIZATION. Field: | |
| For ORGANIZATION type customer | |
| C016.I06 | Problem with field for INDIVIDUAL type customer. CitizenshipCountry not found in amlyze |
| InitialDepositCurrency not found in amlyze | |
| C016.I06 | BirthCountry not defined in Amlyze |
| CitizenshipCountry not defined in Amlyze | |
| C016.I08 | SecondCitizenshipCountry not defined in Amlyze |
| C016.I08 | PermanentResidenceCountry not defined in Amlyze |
| Problem with field for INDIVIDUAL type customer. | |
| FOA01 | FieldOfActivity.Student.Country is invalid |
| FOA02 | PensionCountry is invalid |
| registrationCountry is invalid | |
| REG | registrationCountry must exist in Amlyze |
| LegalForm must exist in Amlyze | |
| Problem with field for ORGANIZATION type customer. | |
| TurnoverType is mandatory | |
| TurnoverType must exist in amlyze | |
| At least one value must be specified (FROM, TO) | |
| Problem with DeclaredTurnover (index: ). | |
| PaymentPurposeType does not exist in Amlyze | |
| TurnoverDirection is invalid | |
| Problem with PaymentPurpose (index: ). | |
| ServiceType not found in Amlyze | |
| Problem with OrderedService (index: ). | |
| Problem with Customer Contact index = . | |
| Problem with Customer BusinessEntityDocument index = . | |
| Problem with relatedEntity (index: ). | |
| Problem with relatedEntities. | |
| Problem with Address (index: ). | |
| screening process is undefined: | |
| PaymentCountry can’t be empty | |
| PaymentCountry not found in Amlyze | |
| TurnoverDirection is invalid | |
| Problem with PaymentCountry (index: ). | |
| IntroductionSource not found in amlyze | |
| Problem with IntroductionSource (index: ). | |
| Problem with IncomeSource (index: ). | |
| AppealReasonType is mandatory and can’t be empty | |
| AppealReasonType is mandatory and must be defined in Amlyze | |
| Problem with ListAppealReason (index: ). | |
| Problem with activity (index: ). | |
| Problem with RegionOfActivity (index: ). | |
| CountryOfTaxPayment can’t be empty | |
| CountryOfTaxPayment not found in Amlyze | |
| CountryOfTaxPayment (index: ). | |
| Problem with CountryOfActivity (index: ). | |
| Title is mandatory | |
| RegistrationCountry is mandatory | |
| LegalForm is mandatory | |
| FirstName is mandatory | |
| LastName is mandatory | |
| AV07 | Bad value for TIMESTAMP (format: ‘yyyy-MM-dd HH:mm:ss.SSSZ’) valueCode: lastonlinesupport |
| C014 | Field not allowed for INDIVIDUAL. Field: CompanyAssetValue |
| C016.I06 | Problem with field for INDIVIDUAL type customer. CitizenshipCountry not found in amlyze |
| C008.I02 | When source of risk level IMPORT. ‘Lead’ risk management category is forbidden |
| C015 | Field not allowed for ORGANIZATION. Field: LastName |
| SCR01 | Screening process is undefined: NOT_EXISTS |
| Q004.ADR02 | Problem with Address (index: 0 ). Country is mandatory and must exist in Amlyze |
| C015 | Field not allowed for ORGANIZATION. Field: SecondCitizenshipCountry |
| C017.C016.RE01 | Problem with field for ORGANIZATION type customer. Problem with relatedEntity (index: 0 ). Relation type is mandatory |
| Q014.RC01 | Problem with PaymentCountry (index: 0 ). PaymentCountry not found in Amlyze |
| C014 | Field not allowed for INDIVIDUAL. Field: NumberOfEmployees |
| AV07 | Bad value for BOOLEAN (values: true false’) valueCode: isvip |
| C012 | ApplicationDate is mandatory |
| C002 | CustomerExtId is mandatory |
| Q002.DOC06 | Problem with Customer BusinessEntityDocument index = 0 . DocumentIssueCountry is mandatory and must exist in Amlyze |
| Q017.COTP01 | CountryOfTaxPayment (index: 0 ). CountryOfTaxPayment not found in Amlyze |
| C007 | RiskManagementCategory does not exist in Amlyze |
| C014 | Field not allowed for INDIVIDUAL. Field: LicenseDescription |
| C014 | Field not allowed for INDIVIDUAL. Field: NumberOfAudits |
| C015 | Field not allowed for ORGANIZATION. Field: FirstName |
| Q017.COTP01 | CountryOfTaxPayment (index: 0 ). CountryOfTaxPayment not found in Amlyze |
| C016.I08 | PermanentResidenceCountry not defined in Amlyze |
| FOA02 | PensionCountry is invalid |
| C014 | Field not allowed for INDIVIDUAL. Field: RegionOfActivityDescription |
| C016.I06 | BirthCountry not defined in Amlyze |
| C013a | ClosingDate can not exist for not CLOSED CustomerStatus |
| C013 | ClosingDate is mandatory for CLOSED CustomerStatus |
| C017.C016.RE08.DOC01 | Problem with field for ORGANIZATION type customer. Problem with relatedEntity (index: 0 ). Problem with BusinessEntityDocuments (index: 0 ). EntityType is mandatory. values : INDIVIDUAL, ORGANIZATION |
| C017.C016.RE06.Co2 | Problem with field for ORGANIZATION type customer. Problem with relatedEntity (index: 0 ). Problem with Contact (index: 0 ). ContactDetails is mandatory |
| C014 | Field not allowed for INDIVIDUAL. Field: Title |
| AV07 | Bad value for INTEGER valueCode: number_users |
| C017.O01 | For ORGANIZATION type customer Title is mandatory |
| C010 | EntityType is mandatory |
| C015 | Field not allowed for ORGANIZATION. Field: PermanentResidenceCountry |
| C014 | Field not allowed for INDIVIDUAL. Field: LegalForm |
| C014 | Field not allowed for INDIVIDUAL. Field: ThirdPartyServicesUsedDescription |
| C015 | Field not allowed for ORGANIZATION. Field: BirthCountry |
| C014 | Field not allowed for INDIVIDUAL. Field: GIIN |
| C017.C016.RE01 | Problem with field for ORGANIZATION type customer. Problem with relatedEntity (index: 0 ). Relation type is not defined in Amlyze |
| C004 | Cannot update not existing customer, use Action = CREATE |
| C017.C016.RE03 | Problem with field for ORGANIZATION type customer. Problem with relatedEntity (index: 0 ). Country not defined in Amlyze |
| C017.C016.RE02 | Problem with field for ORGANIZATION type customer. Problem with relatedEntity (index: 0 ). EntityType is mandatory |
| REG | RegistrationCountry must exist in Amlyze |
| C017.C016.RE06.Co1 | Problem with field for ORGANIZATION type customer. Problem with relatedEntity (index: 0 ). Problem with Contact (index: 0 ). ContactType is mandatory. values: MOBILEPHONE, FIXEDPHONE, EMAIL, WEBSITE |
| C014 | Field not allowed for INDIVIDUAL. Field: EstablishmentDate |
| C014 | Field not allowed for INDIVIDUAL. Field: PeriodsOfAuditsInYears |
| C017.C016.AV07 | Problem with field for ORGANIZATION type customer. Problem with relatedEntity (index: 1 ). bad value for BOOLEAN (values: true false’) valueCode: is_related_to_Lithuania |
| C014 | Field not allowed for INDIVIDUAL. Field: OrganizationalStructureDescription |
| C007 | RiskManagementCategory is mandatory |
| Problem with field for ORGANIZATION type customer. |