Disclosures
Disclosures control what information users reveal during identity verification. You configure them in the frontend disclosures object, which contains two types of settings:
Verification Requirements - conditions that must be met (must match backend)
Disclosure Requests - information users will reveal (frontend only)
Verification Requirements
These settings define verification conditions and must match your backend verification_config:
minimumAge
minimumAgeVerifies user is at least this age without revealing exact age or date of birth.
disclosures: {
minimumAge: 18, // User must be 18 or older
}excludedCountries
excludedCountriesBlocks users from specific countries using ISO 3-letter country codes.
disclosures: {
excludedCountries: ['IRN', 'PRK'], // Block Iran and North Korea
}ofac
ofacEnables OFAC (sanctions) checking against official watchlists.
Disclosure Requests
These settings specify what information users will reveal. Configure only in frontend - backend receives this data automatically.
Personal Information
name: User's full name from passportnationality: User's nationalitygender: User's gender (M/F)date_of_birth: Full date of birth
Document Information
passport_number: Passport number (use carefully for privacy)expiry_date: Passport expiry dateissuing_state: Country that issued the passport
Example Configuration
Verification Result
When verification succeeds, disclosed information is available in result.discloseOutput:
Privacy Best Practices
Request only what you need: Each disclosure reveals personal information
Avoid sensitive fields: Be cautious with
passport_numberandnameConsider alternatives: Use
minimumAgeinstead ofdate_of_birthfor age verificationStore carefully: Implement proper data protection for disclosed information
Common Use Cases
Age verification only:
Basic identity with nationality:
Complete identity verification:
Last updated