- API Documentation
- Create AML / Audit Report
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 serverhttps://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/reports
- Production serverhttps://connect.creditsafe.com/v1/compliance/kyc-protect/reports
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" }