Just so you know, further examples and descriptions apply only to CARD-CASH operation imports without transaction monitoring.
POST
Path: {{baseUrl}}/amlyze-ws-rest/operation
ContentType: application/json
Authorization: Bearer Token
API requests examples
Fields
Unique number of communication.Example:
ComNr_01_TESTName 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_NAMEExternal identifier of operation.Example:
Op_01_CARD_CASH_TESTNotifies about which kind of operation type was performed.Value:
CARD_CASHCard operation subtype code.Example:
CARD_CASH_WITHDRAWALCode of risk management category of the object. Value must be from a classifier list personalized to your company.Example:
OP_TRANSFERThe value
IMPORT is to be used for migration purposes only – the transaction will be imported without risk assessment.Value: IMPORTDefines which lists to check during screening process. Strings of the list are noted in the dropdown below.Example:
PEP, ADVERSE_MEDIAOperation result either it was successfully executed, or the operation was rejected.Enum class values:
EXECUTED, REJECTEDExample: EXECUTEDThe risk level of imported operation.Enum class values:
NONE, LOW, MEDIUM, HIGH, EXTREMEExample: LOWThe operation date and time show when the operation proceeded.Example:
2024-08-16T13:00:00ZCountry rom where the operation was initiated.Example:
LTCountry of operation’s destination.Example:
LTInternational currency code.Value:
EURThe monetary amount in the currency in which the payment was initiated.Example:
1499The exchange rate applied when converting from the original currency.Example:
0.93❗Mandatory if
currency is not your original currency.The monetary amount in the original currency.Example: 1394.07❗Mandatory if
currency is not EUR. Not Used when currency is EUR.Euro exchange rate for other than Eur currency.Example: 0.93❗Mandatory if
currency is not EUR. Not Used when currency is EUR.Amount of money in euro currency.Example: 1394.07Refers to the movement of money between entities or accounts.Enum class values:
INCOMING, OUTGOINGExample: INCOMINGThe purpose of payment is saved under description.Example:
Invoice '02'The IP address of the operation.Example:
xxx.zzz.yyyy.wwwCountry of an IP address of the operation.Example:
LTExternal identifier of the terminal.Example:
t_extid_145External code of terminal.Example:
57455External identifier of the seller-mediator.Example:
External_0112External identifier of the seller-mediator.Example:
5541Seller-mediator description.Example:
Ecommerce merchantsName of the seller-mediator.Example:
CostcoSeller-mediator country code.Example:
ESExternal identifier of the sales point.Example:
S_extid_0145External code of the sales point.Example:
54574List of entities that belong to one operation. 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 operation request to the API. A bad request is a request that somehow does not follow the API specifications.| Error Description |
|---|
| DestinationCountry is mandatory, check country classifier codes for allowed values. |
| Amount is mandatory and must be greater than 0. |
| Despite currency = EUR, AmountInEur differs from Amount. |
| AmountInEur is mandatory and must be greater than 0. |
| EuroExchangeRate is mandatory and must be greater than 0. |
| For non-INTERNAL operation, financialFlowDirection value cannot be ‘NULL’. |
| Description is mandatory. |
| Invalid MerchantCountryCode. |
| RiskManagementCategory is mandatory. |
| RiskManagementCategory does not exist in Amlyze. |
| RiskManagementCategory does not support Operation. |
| Account registered to your institution; Account found in Amlyze, but customer not found in Amlyze. |
| entityType mismatch in operationParty[” + i + ”]: Amlyze customer has different entity type to operation one. |
| For INCOMING operation, your customer party role must be CREDITOR. |
| For OUTGOING operation, your customer party role must be DEBTOR. |
| operationType ” + operationType.getCode() + ” is not defined in Amlyze. Check Operation type classifier for available values. |
| Problem with operation party (index: ” + i + ”). |
| Invalid FinancialFlowDirection: Your institution DEBTOR found for INCOMING operation. |
| Invalid FinancialFlowDirection: Your institution CREDITOR found for OUTGOING operation. |
| OperationParties must contain CREDITOR. |
| OperationParties must contain DEBTOR. |
| Invalid operation party count. Range: min 1, max 4. |
| Invalid count of operation parties for ” + operationType.getCode() + ” operationType. |
| For ‘PIS’ operation, only creditor can be provided. |
| No operation party account related to your institution BIC, or Customer. |
| Invalid count of your institution operation parties for ” + operationType.getCode() + ” operationType. |
| Tenant header ’” + securityOwnerService.getHeaderTenantCode() + ”’ is mandatory. |
| Business unit is mandatory. |
| Tenant ’” + tenantCode + ”’ business unit ’”+ businessUnitCode +”’ does not exist. |
| CommunicationNumber is mandatory. |
| Requester is mandatory. |
| SourceOfRiskLevel is mandatory, allowed values: IMPORT / EVALUATE. |
| OperationExtId is mandatory. |
| OperationType is mandatory. |
| Problem with OperationType (INVALID): INVALID is not defined in Amlyze. Check Operation type classifier for available values. |
| Currency is mandatory, check Currency classifier codes for allowed values. |
| SourceCountry is mandatory, check country classifier codes for allowed values. |
| Problem with OperationType (SEPA): Problem with OperationParties. No operation party account related to your institution BIC or Customer. |
| Problem with OperationType (SEPA): Invalid count of your institution operation parties for SEPA operationType. |