Account import
This section provides information how to submit account details to our database.
It includes examples of API requests with mandatory and optional fields, a comprehensive list of all available fields, common responses, and error descriptions.
HTTP Method: POST
Path: {{baseUrl}}
/amlyze-ws-rest/account
ContentType: application/json
Authorization: Bearer Token
API requests examples
Fields
Unique number of communication. It is used for risk assessment callback. This field can store up to 256 characters.
Example: Test_ComNr_002mHzZZ
Name 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_NAME
External business entity indicator. Refers to the same value used for the customerExtId
, which helps to identify external business entity. This identifier corresponds to the client’s identifier in the financial institution.
Example: IND_A1_TEST
External account identification number used to track activity regarding the specific account.
Example: ACC_001
Unique account identification number used in performing operations.
Example: LI9208800274335945522
Refers to the current condition or state of an account.
Enum class values: ACTIVE
, SUSPENDED
, CLOSED
ACTIVE
- Customer account is in use and ready for workflow
SUSPENDED
- Customer’s account is restricted
CLOSED
- Customer’s account is disabled
Example: ACTIVE
International currency code.
Value: EUR
Account opening date.
Example: 2023-09-05T08:07:34.605Z
❗Mandatory if isOtherFinInstAccount
= true
.
Bank identifier code for account number.
Example: BICXX22
Declaring whether the account belongs to other financial institution. If true - bic value needs to be provided.
Example: true
Title of the bank with which the operations are happening.
Example: TBC bank
The purpose of owning the account in question.
Example: PURPOSE_INVEST
Categorizes accounts by their intended purposes and features.
Value: ORG_B2B
❗Mandatory if accountStatus
= CLOSED
Account closing date.
Example: 2022-12-11T12:10:11+02:00
A reason for suspension can be provided only if accountStatus
= SUSPENDED
.
Example: Security breach investigation in progress.
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 account request to the API. A bad request is a request that somehow does not follow the API specifications.
Error Description |
---|
AccountExtId is mandatory |
AccountNumber is mandatory |
BusinessEntityExtId is mandatory |
BusinessEntity with given extId does not exist in Amlyze |
Cannot register account for lead customer |
Currency does not exist in Amlyze |
Account already linked with other customer |
When using external account, BIC is mandatory |
Given BIC does not belong to your institution |
OpeningDate is mandatory |
Invalid Account status, allowed values: ACTIVE, SUSPENDED, CLOSED |
Given AccountType does not exist in Amlyze |
CLOSED account requires closingDate |
Non-closed account cannot have a closing date |
CommunicationNumber is mandatory |
Requester is mandatory |
CommunicationNumber already used in Amlyze |
Tenant header is mandatory |
Business unit is mandatory |
Tenant business unit does not exist |