The Basic Integration screens and monitors one business or person. The advanced integration builds the full due diligence case around a company:
- Teams and access - Work in a team, and check what the current user can do
- Company profile - Create the profile from the company report
- Key parties - Add the directors, shareholders, UBOs and others
- Bulk screening - Screen the company and its key parties in one request each, as async jobs
- Review - Review hits, follow links to related businesses and people, and record decisions
- Case management - Notes, attachments, addresses, status, risk rating and assignment
- Monitoring - AML monitoring for the searches, and KYC monitoring for the company
- Settings - AML preference settings used when a request doesn't send a value
- Bulk loading - Batch uploads of profiles
- Reporting and audit - Reports, downloads and the audit trail
Steps 1-5 build on each other. Steps 6-10 can be used whenever they're needed.
ℹ️ Before you start: read the Basic Integration for authentication, paging, error handling and batch results. Batch endpoints return
200withsuccessfulandfailed, and an item that can't be processed is listed infailedwith the reason.
Diagram summary: Authenticate, choose a team and check permissions, create the company profile from the company report, add key parties, bulk screen the profile and the key parties, follow the async jobs, review hits and record decisions, then add the searches to AML monitoring and the profile to KYC monitoring, and review what monitoring finds.
Every request works in your default team unless you send the X-Team-Id header. Records created in a team are only returned when you send that team's id. See Teams.
To check what the current user can do in a team, call Return Users Me Roles Permissions with the team's X-Team-Id:
GET /compliance/kyc-protect/authorization/users/me/roles/permissionsIt returns the user's role in that team (roleId, roleName, teamId, teamName) and the permissions the role allows. See RBAC.
Create Profile From Company Report creates a profile from the Creditsafe company report:
POST /compliance/kyc-protect/profiles/businesses/import{
"profileName": "Test Profile",
"companyId": "GB-0-0123456789"
}It returns 202 with the company report and, in kycResponse, the new profile's id. The profile has the company's id, which KYC monitoring needs (Step 7). Right after the import the profile is locked for a short time: requests that change it are refused with Profile Is Locked (or 409 Profiles Are Locked when deleting).
A profile can also be created with Create Profile (see the Basic Integration), but it then has no company id and can't be added to KYC monitoring.
Key parties are the people and businesses connected to a company: directors, shareholders, UBOs and others. They can be added to a company profile; an individual profile can't have key parties (409, Key parties are not supported for Individual Profile).
POST /compliance/kyc-protect/profiles/{profileId}/keyparties{
"items": [
{
"entityType": "individual",
"keyPartyType": "other",
"firstName": "Jane",
"lastName": "Smith",
"description": "Company secretary"
}
]
}keyPartyTypeisdirector,shareholder,uboorother.- An individual key party needs
name, orfirstNameandlastName. descriptionis only accepted for key party typeother. For any other type it returns400, for exampleitems[0].description - Property is not valid for key party type Director.- The response lists the created key parties in
successful, each with itsid.
To change key parties, use Update The Key Party By Profile Id And Key Party Id, or Update A Batch Of Key Parties. To remove them, use Delete A Key Party By Key Party Id, or Delete A Batch Of Key Parties.
Screen the company and its key parties in one request each. Both endpoints return 202 with an async job.
Execute Bulk AML Screening runs one or more searches for the profile:
POST /compliance/kyc-protect/profiles/{profileId}/searches/bulk{
"items": [
{
"type": "business",
"name": "Creditsafe",
"threshold": 90,
"datasets": ["SAN", "AM"]
}
]
}Each item's type must match the profile: a business search on a business profile. Otherwise the request returns 400 with items[0].type - Search type must match profile type.
Request Multiple Searches Linked To A Key Party Asynchronously runs searches for key parties:
POST /compliance/kyc-protect/profiles/{profileId}/keyparties/searches/bulkEach item has the keyPartyId and the search criteria, as in an individual or business search.
The 202 response is the job: its id, status and criteriaCount.
GET /compliance/kyc-protect/asyncAmlJobs/{jobId}
GET /compliance/kyc-protect/asyncAmlJobs/{jobId}/criteriaThe job's status goes from created to processing to completed. Its criteria list one entry for each search, with its status and its target (targetType profile or keyParty). When a profile's job is completed, its searches are linked to the profile, and Return List Of AML Searches On The Given Profile lists them. Return All Key Party Searches lists the searches linked to the profile's key parties.
To link an existing individual search to a key party, use Link Searches To Key Parties:
POST /compliance/kyc-protect/profiles/{profileId}/keyparties/searches/link{
"items": [
{
"keyPartyId": "222c4405-87e1-41ff-a02a-af4ff39f30f8",
"searchId": "3e67f4b6-4cd1-49ef-aa53-3d049f642101"
}
]
}A key party that's already linked to the search is listed in failed with Key Party is already linked with search.
Review the hits and record decisions as in the Basic Integration, or for a whole profile:
- Return All Hits Of Searches Linked To A Profile returns the hits of every search linked to the profile.
- Update Batch Of Business AML Search Hits and Update A Batch Of Individual AML Search Hits record decisions on several hits in one request.
A hit's full record has businessLinks and individualLinks. Each link has a supplierHitId. Use it to return the linked record, which has the same structure as a hit, or to download it as a PDF:
GET /compliance/kyc-protect/searchLinks/businesses/{supplierHitId}
GET /compliance/kyc-protect/searchLinks/individuals/{supplierHitId}
POST /compliance/kyc-protect/searchLinks/businesses/{supplierHitId}/download
POST /compliance/kyc-protect/searchLinks/individuals/{supplierHitId}/download| What | Endpoint |
|---|---|
| One hit, as a PDF | GET /compliance/kyc-protect/searches/{businesses|individuals}/{searchId}/hits/{hitId}/download |
| A search, as a PDF | POST /compliance/kyc-protect/searches/{businesses|individuals}/{searchId}/download |
| A linked record, as a PDF | POST /compliance/kyc-protect/searchLinks/{businesses|individuals}/{supplierHitId}/download |
Each returns a downloadUrl, a time-limited link to the file.
| Task | Endpoint |
|---|---|
| Update the profile's name, status, risk rating, KYC review date or comments | PUT /compliance/kyc-protect/profiles/{profileId} |
| Update the company or individual details | PUT /compliance/kyc-protect/profiles/{profileId}/details |
| Assign a profile to a user | PUT /compliance/kyc-protect/profiles/assign |
| Assign several profiles to a user | PUT /compliance/kyc-protect/profiles/assign/bulk |
| Add, update and delete addresses | /compliance/kyc-protect/profiles/{profileId}/details/addresses |
| Add, update and delete notes | /compliance/kyc-protect/profiles/{profileId}/notes |
| Add, update and delete attachments | /compliance/kyc-protect/profiles/{profileId}/attachments |
- Notes: to archive a note, update it with
isArchived: true. - Attachments: upload the file as
multipart/form-datawithFile,DocumentTypeandDescription. Return Profile Document Types lists the document types for each profile type. To get the file, Download Profile Attachment By Profile And Attachment Id returns a time-limiteddownloadUrl. - Deleting profiles: Delete A List Of Profiles deletes the profiles you send. If any of them is locked, the request is refused with
409 Profiles Are Locked.
- AML monitoring: add the linked searches with Add Search To AML Monitoring (
POST /schedules), as in the Basic Integration. Searches linked to a key party can be monitored too. - KYC monitoring: add the company profile with Add Profiles To Monitoring. The profile needs a Safe Number or company id, which a profile created from the company report has.
- What monitoring finds: Return AML Monitoring Hits returns the hits found across all your schedules. Return All Hits Linked To The Profile returns them for one profile and its key parties. Return List Of Alerts By Profile returns the KYC alerts.
- Work queue: Return Profile Alert Metrics returns each profile with its KYC and AML alert counts.
The AML preference settings hold your defaults for each searchType (individual or business) and searchActionType. A search or schedule that doesn't send sanctionBodies uses the sanction bodies in these settings.
GET /compliance/kyc-protect/settings/preferences/aml?searchType=individual&searchActionType=screening
PUT /compliance/kyc-protect/settings/preferences/aml{
"searchType": "individual",
"searchActionType": "screening",
"threshold": 90,
"datasets": ["SAN-CURRENT", "SAN-FORMER", "ENF"],
"sanctionBodies": [1, 2, 3],
"pepTiers": ["pepTier1", "pepTier2", "pepTier3"],
"dobMatching": "sameYear"
}Batch uploads add profiles from a CSV file:
- Return Template For Batch Upload returns the CSV template.
- Upload the file with
POST /compliance/kyc-protect/batchUploads, asmultipart/form-data. A file name that has already been uploaded is refused with409 Batch Upload Name Conflict, and a file without the template's headers with400 Invalid Batch Upload Headers. - Follow the upload with Return Batch Upload File Details: its
status,rowCountandsuccessCount. - When the upload is
rejected, Download Batch Upload Error File returns adownloadUrlfor the error file.
The retry (PUT /batchUploads/{uploadId}/retry) is for an upload stopped for insufficient credits; other uploads are refused with 409 Cannot Retry Batch Uploads.
Reports run in the background:
- Return Report Criteria returns the criteria for a report type.
- Create the report with Create AML / Audit Report (
POST /compliance/kyc-protect/reports), for example{"type": "amlScreen", "fileName": "aml-screen", "criteria": {"searchId": "…"}}. It returns202with the report andstatus: submitted. - Return A Report By Id shows the
status. When it'scompleted, Download A Report By Id returns adownloadUrl.
Monitored searches: Download A CSV Report Of Monitored Searches returns a downloadUrl for a CSV file of the searches in AML monitoring.
Audit: Return Audit Trail returns the changes made in KYC Protect, such as profiles, searches and monitoring, and Return Audits returns the changes to roles and permissions.
All requests following authentication must include:
Authorization: Bearer <token>