AML screening
Check a person against the anti-money laundering (AML) lists configured for your tenant.
AML validation
/mobbscan-agent/amlValidation Access tokenChecks 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
namestringOptionalFull name of the person to validate.
documentNumberstringOptionalDocument number of the person to validate.
idTributariastringOptionalTax identifier of the person to validate.
getHitListbooleanOptionalIf
true, the response includes the full list of matches found.Default:false
Response200 · application/json
codestringResult of the operation.
OKThe operation completed successfully.ERRORA failure occurred.
descriptionstringMessage describing the result or the error.
validationstringValidation result. Only present when
codeisOK.VALIDNo match found in the AML lists.NOT_VALIDA match was found.
hitsarrayMatches found. Only included when
getHitLististrueandvalidationisNOT_VALID.
Status codes
- 200The validation has been processed. Check
codeto tell a successful validation from a business-level error. - 400Gateway returns HTTP 400 with its JSON error. Provide at least one of
name,documentNumberoridTributaria. - 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
}'
application/jsonThe validation has been processed. Check code to tell a successful validation from a business-level error.
{
"code": "OK",
"description": "AML validation completed",
"validation": "VALID"
}