This Festive Season get Lifetime Free* flowWise AccessSign up now!

DigiLocker API

Access Verified Documents Instantly via DigiLocker

Get consented access to your users' government-approved documents. DigiLocker API makes KYC, document storage and management workflows and more, easier and faster.

  • 100% compliant
  • 99% uptime
flow one

Fetch documents from DigiLocker

Redirect users to DigiLocker for OTP-based verification followed by instant and seamless document access. You can verify documents, right from our dashboard via the self-serve feature or integrate the DigiLocker API on your platform.


Create Account
Collect payments

Plug And Play API

Our API is easy to integrate and developer-friendly. Embed our 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.
Collect payments

Fetch in real-time

Create a customised DigiLocker URL, get verification status and retrieve details like name, name of parents, date of birth, address, gender, photo and more from documents, as per your use case or workflows. Get details in supported formats like PDF, JPEG and XML.
Collect payments

100% Compliant

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.
Collect payments

Widen Reach

Build smoother verification and onboarding workflows for 1.6B+ Aadhaar Holders and ~250M registered DigiLocker users. Reduce drop-offs during onboarding.
Collect payments

Fraud Prevention

Verify users through the Government’s flagship initiative under the Digital India Mission. Detect fraudulent attempts of document forgery or identity theft.
How the DigiLocker API works
/static/f50d7216a5a274ee2bf792350355570f/User-Login-1.svg

Step 1

User Login

User enters Aadhaar number, OTP, and security PIN in your app that has our DigiLocker API.

/static/989c459bbdb355b0b132b1d1b3058135/Retrieve-Document-1.svg

Step 2

Retrieve Document

User allows consent to share the given DigiLocker document with Cashfree Payments.

/static/fe8ae967d68b666b2068ded2de10f03a/Get-Details-1.svg

Step 3

Get Details

Get instant results in the form of comprehensive details fetched from the verified document, via the DigiLocker API.

Leverage DigiLocker API for your business
/static/9b5cd482050002019798ffa1414a5a8c/Banks-and-NBFCs-2.svg
Banks and NBFCs

Streamline KYC process, allow faster account opening, and secure account access for new applicants.

/static/a7b800ccae05a89a5f53c0d82c59ac21/Insurance-Platforms-1.svg
Insurance Platforms

Verify identity and accept documents during onboarding and before disbursing insurance processing amounts.

/static/13731c8402c6105faac9a66b904897ed/Logistics-and-Ride-Hailing-Platforms-1.svg
Logistics and Ride-Hailing Platforms

Do Aadhaar Verification and Driving License Verification via DigiLocker for drivers and delivery partners.

/static/22f93feffaf137214e525e6cd615999d/Investment-Platforms-1.svg
Investment Platforms

Streamline KYC verification for quick customer onboarding. Access Government-issued documents like Aadhaar and PAN.

/static/647cb119f0359cce1b656235f33d8ad7/Micro-Lending-and-NeoBanks-2.svg
Micro Lending and NeoBanks

Fast-track user onboarding and validate identity for KYC verification, loan sanctions, mobile wallets etc. Validate users’ Aadhaar and PAN as per compliance.

/static/7e7a708ad28c91972b23455a83a9ca86/Payments-and-FinTech-Companies-1.svg
Payments and FinTech Companies

Ensure frictionless onboarding and verify users' details from government documents like Aadhaar and PAN to onboard only reliable and genuine clients.

Frequently Asked Questions
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.

Have more questions?

Visit our support page
Explore other Cashfree Payments products
Secure ID

Secure ID

Onboard users seamlessly with our compliant and highly customisable 360° identity verification platform

Learn More
Payouts

Payouts

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.

Learn More
Subscriptions

Subscriptions

Accept recurring payments by auto-debiting customer’ accounts via standing instructions on cards or UPI e mandate.

Learn More
Payment Gateway

Payment Gateway

Collect domestic and international payments on your website or app.

Learn More

Ready to get started?

Collect customer payments, make payouts, manage international payments and so much more. Create your account or contact our experts to explore custom solutions.

  • Easy onboarding

  • Dedicated account manager

  • API access

Create Account