Skip to main content

Installation

Configuration

Use a qi_test_ key during development. Test keys return simulated results and are free to use.

Quick Start

KYC Sessions

Create a session

List sessions

Retrieve a session

Upload a document

Upload a selfie

Submit for evaluation

Call submit() only after all required documents and selfie have been uploaded. The session enters asynchronous processing and you will receive a webhook when it completes.

AML Screening

Screen a person

Retrieve a screening

Submit a decision

Transaction Monitoring

Screen a transaction

Batch screening

List, retrieve, and decide

Premium Features

Premium features require a paid plan. Calls made without an active subscription return an InsufficientBalanceError.

Error Handling

All SDK errors extend VerilockError. Use specific classes for granular handling.

TypeScript Types

The SDK exports all request and response types for full type safety.
All resource methods accept an optional RequestOptions parameter as the last argument for per-request overrides such as custom headers or abort signals.