DigiLocker API provides access to verified documents instantly via DigiLocker. Get consented access to your users' government-approved documents. The API makes KYC, document storage and management workflows easier and faster.
DigiLocker API enables businesses to fetch documents from DigiLocker by redirecting users to DigiLocker for OTP-based verification followed by instant and seamless document access. You can verify documents right from the Cashfree dashboard via the self-serve feature or integrate the DigiLocker API directly on your platform.
The API is easy to integrate and developer-friendly. Embed the API in your application to retrieve, verify and fetch details from your user's documents in the DigiLocker portal or app. Get instant response backed by 99% uptime and ≤90% Success Rate.
Create a customized DigiLocker URL, get verification status and retrieve details from documents as per your use case or workflows.
Details that can be fetched:
Supported document formats:
OTP-based verification on DigiLocker Portal in compliance with RBI and UIDAI guidelines. Once the OTP is validated and the consent is granted, documents can be viewed, accessed and retrieved.
Build smoother verification and onboarding workflows for:
Reduce drop-offs during onboarding.
Verify users through the Government's flagship initiative under the Digital India Mission. Detect fraudulent attempts of document forgery or identity theft.
User enters Aadhaar number, OTP, and security PIN in your app that has the DigiLocker API integrated.
User allows consent to share the given DigiLocker document with Cashfree Payments.
Get instant results in the form of comprehensive details fetched from the verified document, via the DigiLocker API.
Streamline KYC process, allow faster account opening, and secure account access for new applicants.
Verify identity and accept documents during onboarding and before disbursing insurance processing amounts.
Do Aadhaar Verification and Driving License Verification via DigiLocker for drivers and delivery partners.
Streamline KYC verification for quick customer onboarding. Access Government-issued documents like Aadhaar and PAN.
Fast-track user onboarding and validate identity for KYC verification, loan sanctions, mobile wallets etc. Validate users' Aadhaar and PAN as per compliance.
Ensure frictionless onboarding and verify users' details from government documents like Aadhaar and PAN to onboard only reliable and genuine clients.
The DigiLocker API can fetch details from multiple government-issued documents:
A flagship initiative under Digital India Mission, DigiLocker is a secure cloud-based platform for storage, sharing and verification of documents & certificates.
With Digilocker API integration, any organisation can offer its clients a secure and easy way to verify their documents on the client portal or even store/manage their documents.
Apart from Aadhaar, you can also fetch other details linked to PAN, Driving License and more from DigiLocker.
If the user does not have a DigiLocker account, DigiLocker will automatically create an account during the consent journey. User has to sign up by providing their Aadhaar number and authenticate with the OTP sent to their Aadhaar registered mobile number.
No, customers must enter their Aadhaar details, OTP, and captcha themselves for authentication and verification purposes.
Only a licensed requesting partner who is authorised by DigiLocker can perform actions such as document sharing and verifications.
DigiLocker categorises documents as issued and uploaded. Issued documents are e-documents issued by government agencies in electronic format from the original data source, whereas uploaded documents are those directly uploaded by the DigiLocker user on the platform.
Onboard users seamlessly with a compliant and highly customizable 360° identity verification platform.
Easiest way to make payouts to any bank account, UPI ID, card, AmazonPay, Paytm or other native wallet 24*7 instantly even on a bank holiday.
Accept recurring payments by auto-debiting customer accounts via standing instructions on cards or UPI e mandate.
Collect domestic and international payments on your website or app.
Cashfree Payments enables 1 Million+ growing businesses in India and across the globe to collect payments, make payouts, manage international payments, and more. Cashfree Payments is backed by SBI, Y Combinator, Krafton, and Apis partners and was incubated by PayPal.
RBI Authorised Payment Aggregator License Certificate of Authorisation No. 266/2025
RBI Authorised Prepaid Payment Instrument (PPI) Provider Certificate of Authorisation No. 209/2024
To start using DigiLocker API: