Identity Verification Integration

Integration Guides

API-only guide

This guide provides step-by-step instructions on how to integrate the European Identity Verification solution via our API.

Before you begin, make sure you have completed the following:


Flow

Click to magnify.


1. Authenticate

Create an access token to authenticate in our API:

  • You provide your Fourthline API credentials.
  • You receive an access_token.
📖

API Reference: Create access token

Important

For security, access tokens are valid for 1 hour only.

If your token expires, create a new access token by making another Create access token request.


2. Create workflow

Create a European Identity Verification workflow:

  • You specify the workflowName and provide your unique identifier for the client.
  • You receive a workflowId and a Fourthline clientId.
📖

Tutorial: Create workflow

API Reference: Create workflow

Status Status: The Identity Verification case status changes to new.


3. Upload identity data

Upload the client's identity data:

  • You provide the verificationId (same value as the workflowId) and always the person, address, and emailAndPhone objects.
  • A successful response is empty.
📖

API Reference: Upload identity data

Tip

To update previously uploaded data, make another request using the same verificationId.

Status Status: The Identity Verification case status remains new.


4. Upload identity files

Upload the client's identity document and supporting identity files:

  • You provide the verificationId (same value as the workflowId).
  • A successful response is empty.

Important

For detailed instructions on how to use this request, see the user guide.

📖

API Reference: Upload identity files


5. Start case processing

Request Fourthline to start case processing:

  • You provide the verificationId.
  • A successful response is empty.
📖

API Reference: Start case processing

Status Status: The case status changes to one of the following and we send the relevant webhook notification:

StatusDescriptionAction
pendingThe data is valid.Wait for the next status.
invalid_dataInvalid or missing data.Create a new workflow.

Final statuses:

StatusDescriptionAction
inconsistent_dataWe found inconsistent data.Create a new workflow.
completedWe have processed the case.
For our recommendation to accept or reject the client, see the risk code.
Download the CDD Report.

6. Check case status

When you receive webhook notifications, we recommend also requesting the full case details:

  • You provide the verificationId (same value as the workflowId).
  • You receive all the data on the case.
📖

Tutorial: Get case status

API Reference: Get case status


7. Download CDD Report

When the case status is completed, download the CDD Report zipfile:

  • You provide the workflowId.
  • A successful response is empty and the report is downloaded.
📖

Tutorial: Get CDD zipfile

API Reference: Get CDD zipfile