Skip to main content

AML screening

Check a person against the anti-money laundering (AML) lists configured for your tenant.

AML validation​

POST/mobbscan-agent/amlValidation Access token

Checks whether the personal data you send matches any entry in the AML lists configured for your tenant.

Provide at least one of name, documentNumber or idTributaria. If search data is missing, Gateway returns HTTP 400 with a JSON error response.

Send both name and documentNumber whenever you can: the validation combines them to narrow down the matches, so using only one may give less accurate results.

Keep getHitList set to false unless you need to process the individual matches. The validation field is enough to know whether the person appears in the lists, and the full list makes the response larger.

Request bodyapplication/json

  • namestringOptional

    Full name of the person to validate.

  • documentNumberstringOptional

    Document number of the person to validate.

  • idTributariastringOptional

    Tax identifier of the person to validate.

  • getHitListbooleanOptional

    If true, the response includes the full list of matches found.

    Default: false

Response200 · application/json

  • codestring

    Result of the operation.

    • OKThe operation completed successfully.
    • ERRORA failure occurred.
  • descriptionstring

    Message describing the result or the error.

  • validationstring

    Validation result. Only present when code is OK.

    • VALIDNo match found in the AML lists.
    • NOT_VALIDA match was found.
  • hitsarray

    Matches found. Only included when getHitList is true and validation is NOT_VALID.

Status codes

  • 200The validation has been processed. Check code to tell a successful validation from a business-level error.
  • 400Gateway returns HTTP 400 with its JSON error. Provide at least one of name, documentNumber or idTributaria.
  • 401Wrong credentials, or the access token is invalid or has expired.
curl -X POST 'https://{GATEWAY-HOST}/mobbscan-agent/amlValidation' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"name": "John Doe",
"documentNumber": "12345678A",
"getHitList": false
}'
Responses
200OKapplication/json

The validation has been processed. Check code to tell a successful validation from a business-level error.

{
"code": "OK",
"description": "AML validation completed",
"validation": "VALID"
}