Skip to content
Last updated

Business AML Search Workflow

Overview

This page describes the production-focused AML screening workflow for business entities:

  1. Authenticate - Generate authentication token
  2. Create Business AML Search - Submit company screening request
  3. Retrieve AML Hits - Get list of potential matches
  4. Retrieve Full AML Intelligence - Get detailed compliance data

This deterministic sequence helps teams integrate quickly and reduces implementation ambiguity.


Workflow Diagram

Authenticate

Create Business AML Search

Retrieve AML Search Hits

Retrieve Full AML Hit Details

Authenticate

Create Business AML Search

Retrieve AML Search Hits

Retrieve Full AML Hit Details

Diagram summary: This flowchart shows a single linear path with four steps: authenticate, create a business AML search, retrieve AML search hits, and retrieve full AML hit details.

Workflow Summary: Authenticate with the platform, perform a business AML screening search, retrieve screening hits, and retrieve detailed compliance intelligence for a selected match.


Workflow Summary Table

StepOperationIdEndpointPurpose
1authenticatePOST /authenticateGenerate authentication token
2kycSearchBusinessPOST /compliance/kyc-protect/searches/businessesCreate AML screening search
3getKycSearchBusinessHitsBySearchIdGET /compliance/kyc-protect/searches/businesses/{searchId}/hitsRetrieve AML hits
4getKycSearchBusinessHitsBySearchIdAndHitIdGET /compliance/kyc-protect/searches/businesses/{searchId}/hits/{hitId}Retrieve full AML intelligence

Step 1: Authenticate

Before accessing any KYC Protect endpoints, an authentication token must be generated.

The returned bearer token should be included in the Authorization header for all subsequent requests.

Endpoint

POST /authenticate

Example Request

{
  "username": "your-username",
  "password": "your-password"
}

Example Response

{
  "token": "eyJhbGciOi..."
}

Success Criteria

Condition
HTTP Status Code = 200
Authentication token returned

Workflow Outputs

OutputDescription
tokenBearer token used for subsequent API requests

Create a business AML search for the company. The response has the search id, which the next steps take.

Endpoint

POST /compliance/kyc-protect/searches/businesses

Example Request

{
  "name": "Creditsafe",
  "threshold": 90,
  "datasets": ["SAN", "AM", "ENF"]
}

Request Parameters

PropertyTypeRequiredDescription
namestringYesBusiness name to screen
thresholdintegerYesMatch threshold: 75, 80, 85, 90, 95 or 100
datasetsarrayYesDatasets to screen against. See Dataset Definitions
countryCodesarrayNoCountries to screen in
sanctionBodiesarrayNoSanction body ids from Return Sanction Body Details. When not sent, your AML preference settings apply

Example Response

{
  "id": "7c00dfa7-3258-4390-98cc-2ac3b51ca425",
  "name": "Creditsafe",
  "threshold": 90,
  "type": "business",
  "datasets": ["SAN", "AM", "ENF"],
  "status": "new",
  "riskRating": "notApplicable",
  "totalHitCount": 1,
  "truePositiveHitsCount": 0,
  "falsePositiveHitsCount": 0,
  "undecidedHitsCount": 1,
  "correlationId": "24917d4f-4da1-4e56-8309-ea914c0cf43c"
}

Response shortened. The response also lists the sanctionBodies used, and who created the search and when.


Success Criteria

Condition
HTTP Status Code = 201
Search id returned

Workflow Outputs

OutputDescription
searchIdUnique AML search identifier (the response id)
totalHitCountNumber of hits

Common Errors

StatusCause
400A required field is missing, for example name - Name cannot be empty
401Token expired

Step 3: Retrieve AML Search Hits

Return the hits for the search, one page at a time (page starts at 1, and pageSize is up to 100). Each hit has an id, which Step 4 takes.

Endpoint

GET /compliance/kyc-protect/searches/businesses/{searchId}/hits

Path Parameters

ParameterDescription
searchIdAML search identifier returned from Step 2

Example Response

{
  "items": [
    {
      "supersededHit": null,
      "id": "f2f12619-a3fa-458c-9da0-fab8029080c2",
      "hitScore": 98,
      "name": "Sage Credit Union Inc",
      "match": "Safe Credit",
      "countries": [],
      "datasets": ["ENF"],
      "decision": "undecided",
      "note": null,
      "modifiedById": 100000001,
      "modifiedBy": "Jane Smith",
      "modifiedAt": "2026-11-05T14:19:34.189Z",
      "createdAt": "2026-11-05T14:19:34.189Z"
    }
  ],
  "totalSize": 1,
  "correlationId": "b19a12b9-91b8-4968-b4af-7698d2a0e435"
}

hitScore is how closely the hit matches, and match is the name that matched. A hit doesn't have a risk rating.


Success Criteria

Condition
HTTP Status Code = 200
Hits collection returned (can be empty)

Workflow Outputs

OutputDescription
hitsThe items list (can be empty)
firstHitIdid of the first item in items (not present when items is empty)

Common Errors

StatusCause
404Search Not Found

Step 4: Retrieve Full AML Hit Details

Return the full record of one hit.

Endpoint

GET /compliance/kyc-protect/searches/businesses/{searchId}/hits/{hitId}

Path Parameters

ParameterDescription
searchIdAML search identifier
hitIdAML hit identifier

Example Response

{
  "id": "f2f12619-a3fa-458c-9da0-fab8029080c2",
  "hitScore": 98,
  "name": "Sage Credit Union Inc",
  "match": "Safe Credit",
  "aliases": [
    { "name": "Sage Credit Union Incorporated", "type": "Name Spelling Variation" }
  ],
  "countries": [],
  "datasets": ["ENF"],
  "decision": "undecided",
  "note": null,
  "amlResults": {
    "AM": [],
    "ENF": [
      {
        "value": { "category": "Law Enforcement", "subCategory": "" },
        "events": [
          {
            "id": "6774fc45-ef70-46aa-ac51-2cde678df31b",
            "type": "Regulatory Enforcement List Event Type",
            "date": null,
            "sources": [
              {
                "id": "b705426c-cf96-4b31-9d39-bedfd7893613",
                "dateAdded": "2013-03-28",
                "isCopyrighted": false,
                "documentLink": "https://www.acurisriskintelligence.com/cdn/content/0020320000/0020315811.pdf",
                "datasets": ["ENF"]
              }
            ]
          }
        ],
        "type": "enforcement"
      }
    ],
    "INS": [],
    "POI": [],
    "SAN": { "CURRENT": [], "FORMER": [] },
    "SOE": null
  },
  "identifiers": [],
  "addresses": [],
  "businessLinks": [],
  "individualLinks": [],
  "correlationId": "01338d7e-38b9-4677-ac4e-8ccd8e470507"
}

Response shortened. amlResults groups the findings by dataset, and each finding has its events and their sources. businessLinks and individualLinks list related businesses and people: use their supplierHitId with Return Business Links With Supplier Hit Id or Return Individual Links With Supplier Hit Id.


Success Criteria

Condition
HTTP Status Code = 200
Full AML intelligence returned

Workflow Outputs

OutputDescription
hitDetailsThe full hit record

Example End-to-End Workflow Sequence

AMLAPIAuthAPIClientAMLAPIAuthAPIClientPOST /authenticatetokenPOST /searches/businessessearchId + hitCountGET /searches/businesses/{searchId}/hitsAML hits[]GET /searches/businesses/{searchId}/hits/{hitId}Full AML intelligence profile
AMLAPIAuthAPIClientAMLAPIAuthAPIClientPOST /authenticatetokenPOST /searches/businessessearchId + hitCountGET /searches/businesses/{searchId}/hitsAML hits[]GET /searches/businesses/{searchId}/hits/{hitId}Full AML intelligence profile

Diagram summary: This sequence diagram shows the client authenticating first, then creating a business search, retrieving hits for that search, and finally retrieving full details for one selected hit.


Workflow Decision Diagram

Yes

No

Yes

No

Yes

No

Yes

No

Authenticate

Authentication successful?

Create business AML search

Authentication failed

Search successful?

Retrieve AML hits

Handle AML search failure

Any hits returned?

Select AML hit

No AML hits found

Retrieve full AML hit details

Details returned?

Workflow complete

Handle AML detail failure

Yes

No

Yes

No

Yes

No

Yes

No

Authenticate

Authentication successful?

Create business AML search

Authentication failed

Search successful?

Retrieve AML hits

Handle AML search failure

Any hits returned?

Select AML hit

No AML hits found

Retrieve full AML hit details

Details returned?

Workflow complete

Handle AML detail failure

Diagram summary: This decision flow shows success and failure paths for each stage: authentication, search creation, hit retrieval, and detailed hit retrieval, ending in workflow completion or a stage-specific failure outcome.


Authentication Requirements

All requests following authentication must include the bearer token in the request header.

Example Header

Authorization: Bearer <token>

AML Match Threshold Guidance

The threshold property controls match sensitivity.

ThresholdBehavior
Lower ThresholdBroader match results
Higher ThresholdMore precise match results

threshold is the lowest hit score returned, so a lower threshold returns more hits. The KYC Protect web app uses 90.


AML Dataset Configuration

The datasets property controls which screening datasets are evaluated during AML screening.

Example

{
  "datasets": ["AM"]
}

Dataset definitions are documented separately within the KYC Protect documentation.


Required Workflow Inputs

Required:
  - username (string)
  - password (string)
  - threshold (integer: 75, 80, 85, 90, 95, or 100)
  - businessName (string)
  - datasets (array)

Optional:
  - countryCodes (array)