All documentation

AML Integration

Integrate AML screening: check customers and counterparties against sanctions, PEP, and watchlists during onboarding and payments.

AML Integration

Use AML integration when you need sanctions and AML screening for customers, entities, counterparties, or transaction events.

  1. Screen a customer or entity during onboarding or review.
  2. Send AML events for activity that should be evaluated.
  3. Hold or route risky events while AML evaluates them.
  4. Poll by external event id when your system needs write-back.

Screen Customers and Entities

Call POST /api/v1/aml/screen when you need a synchronous screening result for onboarding, re-screening, or manual review.

POST /api/v1/aml/screen

{
  "inputName": "Jane Example",
  "externalId": "cust_123456",
  "entityType": "INDIVIDUAL",
  "inputDob": "1980-02-03",
  "inputNationality": "GB",
  "inputAliases": ["Jane Sample"],
  "sensitivityProfile": "BALANCED"
}

POST /api/v1/aml/screen returns one of two decisions:

  • AUTO_CLEAR - no match needs review. Continue.
  • REVIEW - at least one match needs review. Hold the sensitive step and let compliance compare the evidence.

After review, an analyst records CONFIRMED (the match is the same person or entity) or FALSE_POSITIVE. You see that outcome when you read the screening back with GET /api/v1/aml/screenings/:id.

Branch on decision and on each match's requiresReview, not on score. The review threshold depends on the sensitivity profile (CONSERVATIVE 50, BALANCED 65 by default, LIBERAL 80) and your tenant can set its own. An exact full name on a sanctions or terror listing goes to review in every profile unless the date of birth or nationality points to someone else.

Send the date of birth, nationality and ID number whenever you have them. They are what clear or confirm a name-only match. A name alone is discounted: an exact name-only match on a PEP listing scores 50 over the API, while a manual dashboard search shows 100. The AML reference explains the scores, thresholds and classifications, with worked examples.

Send AML Events

Use POST /api/v1/aml/events for activity that should be checked by AML event rules, such as transaction or counterparty updates.

POST /api/v1/aml/events

{
  "eventName": "payment.completed",
  "eventCategory": "TRANSACTION",
  "externalEventId": "aml_evt_ext_123",
  "customer": {
    "externalId": "user_123456",
    "email": "user@example.com"
  },
  "sourceReportedAt": 1672520400,
  "metadata": {
    "amount": 99.99,
    "currency": "USD",
    "payment_method": "card"
  },
  "custom_fields": {
    "counterparty_country": "US"
  }
}

externalEventId should be stable and unique per tenant. Retries with the same id and payload replay the stored result; a different payload with the same id returns 409. After timeouts, poll GET /api/v1/aml/events/:externalEventId — this is not an Idempotency-Key header. Screening has no equivalent key; reconcile with GET /api/v1/aml/screenings/:id when you already have a screening id.

Rules and Outcomes

AML event status can be CLEAR or ALERTED.

Matching a rule is non-blocking. Pause fulfillment only if your own policy maps ALERTED to a hold. The API does not return a hold status.

Poll Write-Back Results

Poll by externalEventId when your system needs the current AML result.

GET /api/v1/aml/events/:externalEventId

{
  "externalEventId": "aml_evt_ext_123",
  "status": "ALERTED",
  "alerts": [
    {
      "id": "aml_alert_123",
      "severity": "HIGH",
      "summary": "Counterparty matched a sanctions rule"
    }
  ]
}

Recommended Product Behavior

  • Run customer screening before high-risk product access.
  • Send AML events for money movement and counterparty changes.
  • Persist screening ids, external event ids, and case references.
  • When you show matches to reviewers, show listedEntity.fullName next to matchedName. A match can come from a short alias, and the full name lets the reviewer compare the father's and grandfather's names.
  • Store the sourceDetails sections from the screening response if you need them; reading the screening back does not return them.
  • Treat REVIEW, CONFIRMED, and ALERTED as operational handoff points.

Related References