Endpoints to authenticate and generate an authentication token for secure access to the API.
KYC Compliance (1.0.0)
KYC (Know Your Customer) enables you to make better-informed risk management decisions by utilizing our comprehensive business information. This service is designed for both Know Your Business operations and AML (Anti-Money Laundering) screening features.
The application ensures that you can conduct due diligence on customers and suppliers alike, identify key parties, verify individual identity details globally, and screen against international sanctions, regulatory enforcements, PEP (Politically Exposed Persons) lists, and potential adverse media.
https://connect.sandbox.creditsafe.com/v1/
https://connect.creditsafe.com/v1/
Request
Fetches the available criteria for a specified report type.
This endpoint is a prerequisite for creating a report and provides the valid fields that can populate the criteria
property in the POST /reports
request.
Use this to retrieve a list of valid fields for the report type before proceeding with report creation.
- Sandbox server
https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/reports/criteria/{type}
- Production server
https://connect.creditsafe.com/v1/compliance/kyc-protect/reports/criteria/{type}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/reports/criteria/{type}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "fromDate": { "isRequired": true, "type": "string", "format": "yyyy-mm-dd", "description": "Cannot be a future date", "acceptableValues": null }, "toDate": { "isRequired": true, "type": "string", "format": "yyyy-mm-dd", "description": "Should fall after fromDate, results will be fetched excluding the provided to date", "acceptableValues": null }, "hitDecisions": { "isRequired": false, "type": "array[string]", "format": null, "description": "Decisions made on hits. Multiple values are acceptable", "acceptableValues": [ … ] }, "hasHits": { "isRequired": false, "type": "boolean", "format": null, "description": "Indicates if there are any hits.", "acceptableValues": [ … ] } }
Request
Uses the user-provided information to create a compliance report.
The criteria
property in the request body must be populated using the fields returned by the GET /criteria/{type}
endpoint.
Ensure you first retrieve the criteria for the desired report type using the GET /criteria/{type}
endpoint before making this request.
Request body containing the report type, file name, and criteria details for creating a compliance report.
The criteria
field must adhere to the schema provided by the GET /criteria/{type}
endpoint.
- Sandbox server
https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/reports
- Production server
https://connect.creditsafe.com/v1/compliance/kyc-protect/reports
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/reports \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"type": "string",
"fileName": "string",
"criteria": {
"additionalProperties": {}
}
}'
Success
Current processing status of the report. Indicates the lifecycle stage, such as:
- submitted
: The report request has been submitted.
- queued
: The report is waiting to be processed.
- inProgress
: The report is currently being generated.
- completed
: The report has been successfully created.
- failed
: The report generation encountered an error.
Type of the report, determining the data and format of the results. Supported values:
- amlAlert
: Report for Anti-Money Laundering alerts.
- audit
: Report for audit-related compliance checks.
The unique identifier of the user who initiated the creation of the report.
The timestamp of the last modification made to the report, if applicable.
The criteria used to generate the report, reflecting the filters and parameters applied during its creation.
The structure of the criteria
object depends on the report type
(amlAlert
or audit
). Some properties may be nested in arrays or objects.
The expiration timestamp for the report, after which it may no longer be accessible.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fileName": "string", "status": "submitted", "type": "amlAlert", "createdAt": "2019-08-24T14:15:22Z", "createdById": 0, "createdByUser": "string", "modifiedAt": "2019-08-24T14:15:22Z", "criteria": { "fromDate": "2019-08-24", "toDate": "2019-08-24", "property1": {}, "property2": {} }, "expiresAt": "2019-08-24T14:15:22Z", "correlationId": "string" }
Request
Fetches the details of a single compliance report identified by its unique reportId
.
This endpoint allows users to retrieve the full metadata and status of a specific report, including its creation details, criteria, and expiration timeline.
Use this endpoint to inspect or verify the information of an existing report, or to confirm its current status (e.g., inProgress
, completed
, failed
).
Ensure that the reportId
provided corresponds to an existing report in the system.
- Sandbox server
https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/reports/{reportId}
- Production server
https://connect.creditsafe.com/v1/compliance/kyc-protect/reports/{reportId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/reports/{reportId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
Current processing status of the report. Indicates the lifecycle stage, such as:
- submitted
: The report request has been submitted.
- queued
: The report is waiting to be processed.
- inProgress
: The report is currently being generated.
- completed
: The report has been successfully created.
- failed
: The report generation encountered an error.
Type of the report, determining the data and format of the results. Supported values:
- amlAlert
: Report for Anti-Money Laundering alerts.
- audit
: Report for audit-related compliance checks.
The unique identifier of the user who initiated the creation of the report.
The timestamp of the last modification made to the report, if applicable.
The criteria used to generate the report, reflecting the filters and parameters applied during its creation.
The structure of the criteria
object depends on the report type
(amlAlert
or audit
). Some properties may be nested in arrays or objects.
The expiration timestamp for the report, after which it may no longer be accessible.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fileName": "string", "status": "submitted", "type": "amlAlert", "createdAt": "2019-08-24T14:15:22Z", "createdById": 0, "createdByUser": "string", "modifiedAt": "2019-08-24T14:15:22Z", "criteria": { "fromDate": "2019-08-24", "toDate": "2019-08-24", "property1": {}, "property2": {} }, "expiresAt": "2019-08-24T14:15:22Z", "correlationId": "string" }