AML Screening / 5 min read
AML Screening API Integration Without Slowing Onboarding
Screen at signup, store the screening ID, and hold the customer only when the result is REVIEW. A working pattern for adding an AML screening API to onboarding.
By Naiza
24 Jun 2026 · Updated 12 Nov 2026
The integrations that feel slow are the ones that treat screening as a separate back-office job. The customer finishes KYC, the account sits in limbo, and someone in compliance pastes a name into a portal. The integrations that stay out of the way treat screening as a decision service: you already have a legal name, you call the API, you persist the id, and the product knows what to do with AUTO_CLEAR and REVIEW, and with CONFIRMED when compliance records it.
Connect Naiza to the identity collected during onboarding. Once the legal name and a stable externalId are available, call screening from your server and store the result on the customer record.
What to send, and when
Collect the legal name and your own externalId before you call POST /api/v1/aml/screen. Add date of birth, nationality, aliases, and document identifiers when you have them. Optional fields improve matching. They do not replace the KYC file, and they do not need to block the first screen if KYC is still fetching a secondary document.
Send the date of birth and nationality whenever you have them, because a name alone is discounted. An exact name-only match on a PEP list scores 50 over the API, which stays below review under the default profile. The same match with the exact date of birth scores 86 and goes to review. The exception is a full name on a sanctions or terror list: that goes to review on the name alone, unless the date of birth or nationality you sent points to someone else.
I mint externalId in our customer service, not in the AML vendor. If the screen times out, I still have a key I can join later. If KYC retries, I reuse the same id so I do not create a second customer that never inherits the first case.
POST /api/v1/aml/screen
x-api-key: naiza_api_sk_live_...
{
"inputName": "Jane Example",
"externalId": "cust_123456",
"entityType": "INDIVIDUAL",
"inputDob": "1980-02-03",
"inputNationality": "GB"
}Persist the returned screening id on the customer or onboarding record. Support and compliance will ask for it. If you only log it in an application table that expires in two weeks, you will rebuild the case from memory.
How the outcomes should feel in the product
AUTO_CLEAR is the low-friction path. If the rest of onboarding is done, activate. Do not invent a second waiting room for a clean screen. That is how you train customers to think screening is a delay even when it is not.
REVIEW routes a potential match to investigation. Hold activation or payout according to your workflow, open a case with the input fields and screening id, and compare the supporting identity evidence. Branch on decision and each match's requiresReview. Do not rebuild the outcome from score: the review threshold moves with the sensitivity profile and your tenant setting.
CONFIRMED does not come back from the screening call. An analyst records it after reviewing a REVIEW case, and you see it when you read the screening back with GET /api/v1/aml/screenings/:id. The other analyst outcome, FALSE_POSITIVE, releases the hold. On CONFIRMED, keep the customer held and follow your compliance policy. The product state should be boring and explainable: pending compliance review, not a generic “something went wrong.”
This is the same split as KYC versus AML screening. KYC proved the name. Screening judged the name. Onboarding should wait on the screening outcome the same way it waits on a payment authorization: one stored id, one state, one owner.
Timeouts, retries, and the review queue
Do not blindly retry POST /api/v1/aml/screen after an upstream timeout. You may have created a screening you never stored. Reconcile first. If you already received a screening id, fetch it with GET /api/v1/aml/screenings/:id. If you never got an id, keep the customer pending and reconcile before you submit a second payload, so each customer carries one screening and one REVIEW case.
Use synchronous screening at signup, first payout, and new-counterparty checks. Naiza automatically re-screens existing customers on watchlist updates and supports full transaction monitoring alongside these checks. The AML integration guide has the request fields and event polling, and the AML screening API page covers list coverage and match results.
Give operations a queue they can finish. AUTO_CLEAR should not create a ticket. REVIEW should create one ticket, not one per retry. CONFIRMED should be loud inside compliance and quiet in marketing Slack.
If you are not ready to hold customers, run the same call in shadow: store the outcome, do not change activation. That is a rollout posture, not a different API. Flip to enforcing when the queue depth matches the number of reviewers you actually have, not the number you hope to hire.
The customer should feel one pending state or none. They should never feel a KYC wait, then a screening wait, then a “we are still checking lists” wait that nobody can point to an id for. If support cannot find the screening id from the account page, the integration is not done, even if the happy path is fast.