Check-Driven Integration

Integrate the Hosted Solution using a check-driven approach.

Overview

This guide walks you through integrating the Hosted Solution with ComplyCube using the check-driven approach, giving you direct control over individual verification steps.

circle-info

For a quick copy-paste example, use our integration assistantarrow-up-right.

circle-exclamation

Integration guide

Flow Integration Guide (Hosted Solution)

ComplyCube's hosted solution requires a flow session to be initiated by your backend. Here’s how it works:

1

Create a client

Every flow session starts with a client (i.e. customer). Use the API to create the client.

Example request

Example response

The response will contain an id (the Client ID). It is required for the next step.

circle-info

See Clients API Reference to learn more.

2

Generate a hosted page session

A session creates a unique ComplyCube URL that you can use to redirect your customers to complete their identity verification. Once complete, your clients will be redirected to your chosen URL.

Example request

Example response

circle-info

See Flow Sessions API Reference to learn more.

3

Redirect the client to the URL

Redirect your client to the redirectUrl generated in the previous step. Once the customer completes the flow on the hosted solution:

  1. ComplyCube will automatically run the checks you selected when creating the session (as specified in checkTypes).

  2. The customer will be redirected to the successUrl you provided.

You can access the results and a detailed breakdown of each check via the API or Web Portal. If you’ve configured webhooks, ComplyCube will send a notification upon completion of each check.

Branding

You can customize accent colors and upload your logos to the hosted page via the brand settings pagearrow-up-right, if available on your plan.