DigiLocker KYC API: Aadhaar-based Verification
Let customers share government-issued documents directly from DigiLocker — the strongest consent-based KYC available in India.
DigiLocker-based KYC is widely considered the gold standard for consent-driven verification in India. The customer authenticates with their own DigiLocker account and explicitly shares government-issued documents — so you receive authentic, issuer-verified data rather than an uploaded image that could be edited.
How the DigiLocker KYC flow works
- You start a DigiLocker session for the customer via the API.
- The customer authenticates and consents inside DigiLocker.
- On completion, you fetch the shared documents and parsed data (name, DOB, gender, masked Aadhaar, address, photo).
Why DigiLocker is the strongest KYC
- Data comes from the issuing authority, not a user upload — it cannot be doctored.
- The customer explicitly consents and authenticates, satisfying consent requirements.
- You get structured, verified fields ready for your KYC record.
Handling the result
The parsed Aadhaar data (name, DOB, gender, masked Aadhaar, address, photo) drops straight into your onboarding. Store the verification reference and consent artifact for your audit trail, and work with the masked Aadhaar rather than any raw number.
