Requirements
Installation
Add the Verilock SDK to your module-levelbuild.gradle.kts:
build.gradle.kts
settings.gradle.kts
Configuration
Create aVerilock client with your API key. All API calls are made through this instance.
Quick Start
Create a KYC session, upload a document and selfie, then submit for verification. All methods aresuspend functions.
Coroutine Integration
All SDK methods aresuspend functions. Call them from a coroutine scope such as viewModelScope or lifecycleScope.
KYC Sessions
Thesessions resource manages the full verification lifecycle.
AML Screening
Screen individuals against global sanctions, PEP, and watchlists.Transaction Monitoring
Screen transactions for suspicious activity.Premium Features
The SDK provides access to premium verification services through dedicated resource properties.Premium features require an active subscription. See the Premium Features docs for details.
Error Handling
All methods aresuspend functions that throw VerilockException subclasses. Use try/catch to handle errors.
Exception Hierarchy
All exceptions extend
VerilockException, which provides code, statusCode, and body properties.

