Skip to main content

KYC Verification

This guide explains how to implement the KYC (Know Your Customer) verification process for members in your application. KYC verification is required before members can receive commission payouts.

Overview

The MLM Platform supports two KYC providers:
The KYC provider is configured at the tenant level. Contact support to switch providers.

KYC Verification Flow

The following flowchart illustrates the complete KYC verification process:

Implementation Guide

Step 1: Start KYC Verification

Begin the KYC process by calling the start endpoint:
Response for Manual KYC:
Response for Sumsub KYC:

Step 2: Upload Documents (Manual KYC)

For manual KYC, upload each required document using a two-step process:

2a. Get a Signed Upload URL

Response:

2b. Upload the File

Upload the file directly to the signed URL:

2c. Record the Document

After successful upload, record the document metadata:
Repeat steps 2a-2c for each document in the requiredDocuments array.

Step 3: Check KYC Status

Poll the status endpoint to track verification progress:
Response:

KYC Status Values

Admin Review Process

Administrators review KYC submissions through the Admin Dashboard or API.

List Pending Reviews

View KYC Details

Download Document for Review

Approve KYC

Reject KYC

Request Resubmission

OCR-Extracted Data

For supported document types, the platform automatically extracts data using OCR: Extracted data is available in the admin review interface and can be edited before approval.

Best Practices

Validate Before Upload

Check file size and format on the client before uploading to avoid rejected uploads.

Show Progress

Display upload progress and status updates to keep members informed.

Handle Errors Gracefully

Provide clear error messages when uploads fail or documents are rejected.

Secure File Handling

Never store KYC documents on your own servers. Use the signed URLs provided.

Error Handling

Webhooks

Configure webhooks to receive real-time notifications when KYC status changes: See the Webhooks Guide for configuration details.

Complete Code Example

Here’s a complete example of implementing KYC document upload in JavaScript:

Next Steps