Cashfree turns 10! Celebrate with 1.6%* gateway fee for new merchants – limited period!

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
https://blogrevamp.cashfree.com/wp-content/uploads/2024/03/User-Login-1.svg

Step 1

User Login

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

https://blogrevamp.cashfree.com/wp-content/uploads/2024/03/Retrieve-Document-1.svg

Step 2

Retrieve Document

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

https://blogrevamp.cashfree.com/wp-content/uploads/2024/03/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
https://blogrevamp.cashfree.com/wp-content/uploads/2024/03/Banks-and-NBFCs-2.svg
Banks and NBFCs

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

https://blogrevamp.cashfree.com/wp-content/uploads/2024/03/Insurance-Platforms-1.svg
Insurance Platforms

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

https://blogrevamp.cashfree.com/wp-content/uploads/2024/03/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.

https://blogrevamp.cashfree.com/wp-content/uploads/2024/03/Investment-Platforms-1.svg
Investment Platforms

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

https://blogrevamp.cashfree.com/wp-content/uploads/2024/03/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.

https://blogrevamp.cashfree.com/wp-content/uploads/2024/03/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.

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