Before using any of the endpoints, you must authenticate. This ensures you have the necessary permissions to access the data.
POST /authenticateUse these endpoints to perform a single AML search on either a business or an individual. The required properties in the payload differ for each scenario. Please refer to the main API documentation for a complete list of available parameters.
Note: The
datasetsproperty is defined in the API documentation and can also be found in the product documentation here.
POST /compliance/kyc-protect/searches/businessesThis example uses only the required parameters. Additional parameters are available for more targeted results.
{
"countryCodes": [
"GB"
],
"threshold": 85,
"name": "Creditsafe",
"datasets": [
"AM"
]
}{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Creditsafe Ltd",
"countryCodes": [
"GB"
],
"threshold": 0,
"type": "business",
"datasets": [
"AM"
],
"status": "new",
"riskRating": "veryLow",
"assignedToUserId": 0,
"assignedUser": "Test User",
"createdById": 0,
"createdBy": "Test User",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedById": 0,
"modifiedBy": "Test User",
"modifiedAt": "2019-08-24T14:15:22Z",
"note": "No Notes",
"scheduleId": "b7b4f318-018f-4d71-ac1a-f61e4bfaefbe",
"totalHitCount": 1,
"truePositiveHitsCount": 1,
"falsePositiveHitsCount": 0,
"undecidedHitsCount": 0,
"correlationId": "string"
}POST /compliance/kyc-protect/searches/individualsThis example uses only the required parameters. Additional parameters are available for more targeted results.
Note: You may use either the
nameproperty or a combination offirstNameandlastName.
- The
nameproperty is required iffirstNameandlastNameare not provided.- If
firstNameis used, thenlastNamebecomes required.
{
"threshold": 80,
"name": "Donald Trump",
"datasets": [
"AM"
]
}{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "donald trump",
"threshold": 80,
"type": "individual",
"datasets": [
"AM"
],
"status": "new",
"riskRating": "notApplicable",
"assignedToUserId": 0,
"assignedUser": "test user",
"createdById": 0,
"createdBy": "test user",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedById": 0,
"modifiedBy": "test user",
"modifiedAt": "2019-08-24T14:15:22Z",
"totalHitCount": 4,
"truePositiveHitsCount": 0,
"falsePositiveHitsCount": 0,
"undecidedHitsCount": 4
}Important: Not all properties will be returned in every response. Refer to the API documentation for a full list of possible response properties.
At this stage, use the searchId from the previous response to retrieve the search hits.
This endpoint returns an array of results. Each result includes a unique id, which is required to retrieve the full details for that hit.
GET /compliance/kyc-protect/searches/individuals/{searchId}/hitsGET /compliance/kyc-protect/searches/businesses/{searchId}/hitsAdditional parameters are available to filter results if needed. Please refer to the main API documentation for Businesses and Individuals.
To retrieve the full report for a specific search hit, you will need:
- The original
searchId - The
hitIdfrom the previous step
GET /compliance/kyc-protect/searches/businesses/{searchId}/hits/{hitId}GET /compliance/kyc-protect/searches/individuals/{searchId}/hits/{hitId}Refer to the API documentation for a comprehensive breakdown of the response data: