You can run this check immediately via our Demo Postman collection. It's publicly available and doesn't require an account.
Overview of flow
1. Create a client
The first step in creating any check is to create a client from your backend server. A client can be a person or a company. For a person, you must provide their first name and last name. Only the name is required for a company.
Note: Though it's not a strict requirement, we highly recommend you provide a client's date of birth.
using ComplyCube.Net;
using ComplyCube.Net.Resources.Clients;
var clientApi = new ClientApi(new ComplyCubeClient("<YOUR_API_KEY>"));
var newclient = new ClientRequest {
type = "person",
email = "john.doe@example.com",
personDetails = new PersonDetails {
firstName = "John",
lastName = "Doe",
dob = "1990-01-01"
}
}
var client = await clientApi.CreateAsync(newclient);
Example response
The response will contain an id (the Client ID). It is required for the next step.
Create a check by providing the Client ID and Check type. There are two types of AML Screening checks - Standard AML Screening and Extensive AML Screening. The example below uses Extensive AML Screening.
var checkRequest = new CheckRequest {
clientId = "5eb04fcd0f3e360008035eb1",
type = "standard_screening_check"
};
var check = await checkApi.CreateAsync(checkRequest);
Example response
The response will contain an id (the Check ID). It is required for the next step.