This repository provides a basic html website that uses the ComplyCube SDK. It guides you through the ComplyCube identity verification process, which includes collecting client ID documents, proof of address documents, and biometric selfies.
Before using the ComplyCube SDK, you will need to generate an SDK token. This involves creating a client and generating a token. Follow the documentation in the links or the simple steps below.
-
A client represents the individual for whom you need to perform various KYC checks. A client is required to generate an SDK token. This must be done in your backend server:
curl -X POST https://api.complycube.com/v1/clients \ -H 'Authorization: <YOUR_API_KEY>' \ -H 'Content-Type: application/json' \ -d '{ "type": "person", "email": "[email protected]", "personDetails":{ "firstName": "John", "lastName" :"Doe" } }'
Example response:
{ "id": "5eb04fcd0f3e360008035eb1", "type": "person", "email": "[email protected]", "personDetails": { "firstName": "John", "lastName": "Doe", }, "createdAt": "2020-01-04T17:24:29.146Z", "updatedAt": "2020-01-04T17:24:29.146Z" }
-
SDK Tokens enable clients to securely send personal data from your web application's frontend to ComplyCube:
curl -X POST https://api.complycube.com/v1/tokens \ -H 'Authorization: <YOUR_API_KEY>' \ -H 'Content-Type: application/json' \ -d '{ "clientId": "CLIENT_ID", "referrer": "https://www.example.com/*" }'
Example response:
{ "token": "<CLIENT_TOKEN>" }
Once you have generated your SDK token, open complycube-web-sdk/index.html
in your code editor of choice. Go to line 42 and change <SDK_TOKEN>
to the token you have just generated.
You can use any method to serve up the index.html
file. We recommend using the Live Server VS Code extension to anyone using VS Code.
For detailed instructions on integrating our SDK, please refer to our integration guide.
For an overview of our core platform and its multiple features, please refer to our user guide or browse the API reference for fine-grained documentation of all our services.
ComplyCube, an award-winning SaaS & API platform, offers innovative Identity Verification (IDV), Anti-Money Laundering (AML), and Know Your Customer (KYC) compliance solutions. Its extensive customer base spans several industries, such as financial services, transport, healthcare, e-commerce, cryptocurrency, FinTech, and telecoms, making ComplyCube a leading figure in the IDV space.
This ISO-certified platform is notable for its quick omnichannel integration and a wide range of services. It provides Low/No-Code solutions, robust API, Mobile SDKs, Client Libraries, and smooth CRM integrations.