Skip to main content

Installation

Requires Python 3.9+. The SDK uses httpx under the hood for both sync and async support.

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 raise an InsufficientBalanceError.

Error Handling

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

Context Managers

Both the sync and async clients support context managers that automatically close the underlying httpx connection pool.
Using context managers is recommended to avoid resource leaks. Alternatively, call client.close() (or await client.close() for async) when you are done.