Skip to main content
Cashfree offers two primary Aadhaar verification methods:
  • DigiLocker verification: Secure, government-approved verification where users share documents directly from their DigiLocker account with consent
  • OCR verification: Image-based verification using optical character recognition technology to extract details from uploaded Aadhaar documents
The choice depends on specific requirements:
  • Choose DigiLocker verification to prioritise security, compliance, and user experience. It’s government-verified, requires no document uploads, and is DPDPA compliant
  • Choose OCR verification to handle physical documents or workflows that require image-based verification
DigiLocker is generally recommended for most businesses due to its superior security and user experience.
Yes, customers can still use DigiLocker verification even without an existing account. If a customer doesn’t have a DigiLocker account, they can create one during the verification process. The system will guide them through:
  • Creating a new DigiLocker account using their Aadhaar-linked mobile number
  • Setting up a PIN for account security
  • Providing consent to share their Aadhaar document
This typically takes 2-3 minutes and only needs to be done once.
If the Aadhaar isn’t linked to DigiLocker, the verification can’t proceed through DigiLocker. In this case, you can:
  • Use the OCR verification method instead
  • Advise the customer to link their Aadhaar to DigiLocker through the official DigiLocker website
  • Check with the customer if they have an existing DigiLocker account with different credentials
There is an option to pay either way - pre-paid or post-paid. Please get in touch with our sales team to find the best suitable method for you.
Note: This feature has been discontinued and is no longer available.For current Aadhaar verification options, please refer to our Smart OCR API.
No, OKYC (Offline KYC) isn’t supported for Aadhaar verification.For Aadhaar verification, we recommend using:
  • Smart OCR API - Extract and verify Aadhaar details from document images
  • DigiLocker integration - Verify Aadhaar through government-backed DigiLocker platform
  • Video KYC - Complete verification through live agent-assisted video calls
These alternatives provide secure and compliant Aadhaar verification without requiring OKYC.
The following details can be verified through OTP-based Aadhaar Verification, by Cashfree Payments:
  • Registered Name
You can track the verification status through multiple methods:
  • Real-time status checks: Use the Get Verification Status API to check current progress
  • Webhook notifications: Receive instant updates when status changes (PENDING, AUTHENTICATED, EXPIRED, CONSENT_DENIED)
  • Final document retrieval: Once successful, use the Get Document API to retrieve the verified Aadhaar details
The entire process typically completes within 2-3 minutes.
For OCR verification, image quality is crucial. If the image is blurry:
  • Ask the customer to retake the photo ensuring good lighting and focus
  • Verify the Aadhaar number is clearly visible and not scratched or damaged
  • Ensure the image captures the entire document without cutting off edges
  • Avoid including other objects in the photo
Consider switching to DigiLocker verification to avoid image quality issues entirely.
No, you can’t verify an Aadhaar card using only the person’s name. For security and privacy reasons, Aadhaar verification requires:
  • The complete 12-digit Aadhaar number for both DigiLocker and OCR verification methods
  • User consent (explicit for DigiLocker, implied for OCR verification)
  • Proper authentication through the respective verification flow
Yes, DigiLocker verification is fully compliant with regulatory requirements:
  • Government-approved: DigiLocker is an official government platform
  • DPDPA compliant: Meets Digital Personal Data Protection Act (DPDPA) 2023 requirements
  • User consent-based: Explicit user consent is obtained before accessing documents
  • Audit trail: Complete verification history is maintained for compliance
This makes it suitable for KYC requirements across banking, lending, insurance, and fintech sectors.
The accessible details depend on the verification method used:DigiLocker verification provides:
  • Full name as registered
  • Complete address
  • Date of birth
  • Gender
  • Aadhaar number
  • Father’s name (if available)
OCR verification extracts:
  • Aadhaar number
  • Name
  • Address
  • Other visible details from the document image
DigiLocker typically provides more comprehensive and accurate information.
Cashfree offers flexible payment options to suit business needs:
  • Prepaid: Pay in advance and use credits for verification
  • Postpaid: Pay after using the verification services based on usage
Contact the sales team to discuss the most suitable payment model for business volume and requirements.
DigiLocker verification offers the highest level of privacy and security:
  • Government-managed: DigiLocker is owned and operated by the Government of India
  • Explicit consent: Documents are shared only after user provides clear consent
  • No document storage: Cashfree doesn’t store physical document copies
  • Secure transmission: All data transfers use encrypted channels
  • Limited access: Only specific requested details are shared
You can assure customers that this method is more secure than sharing physical document copies.
Different scenarios can cause verification issues:DigiLocker verification failures:
  • EXPIRED: Link expired (10-minute validity) - generate a new link
  • CONSENT_DENIED: User rejected consent - try document processing method
  • Network issues: Retry after some time or use alternative method
OCR verification failures:
  • Poor image quality: Request better quality images
  • Invalid document: Verify it’s a genuine Aadhaar card
  • Processing errors: Retry or contact support
Always implement fallback mechanisms and proper error handling in your integration.
Cashfree supports high-volume verification requirements:
  • Rate limits: Standard API rate limits apply - contact support for higher limits
  • Daily volumes: No specific daily caps, but enterprise customers get priority processing
  • Concurrent requests: Multiple parallel verifications supported
  • Bulk processing: Available for large-scale verification needs
For high-volume requirements (10,000+ verifications per day), contact the sales team for optimised pricing and performance.
The generated OTP will be valid for 10 minutes.
Response times vary by verification method:DigiLocker verification:
  • Initial API response: Immediate (URL generation)
  • User completion time: 2-3 minutes (depends on user actions)
  • Final document retrieval: 1-2 seconds after user consent
OCR verification:
  • Image upload processing: 30-60 seconds
  • Data extraction: Near real-time
  • Verification result: Within 1-2 minutes
Use webhooks for real-time notifications instead of polling for status updates.
Yes, both verification methods work seamlessly in mobile applications:DigiLocker on mobile:
  • Use WebView or in-app browser to load DigiLocker consent URL
  • Handle redirect URLs to capture completion status
  • Optimised mobile interface provided by DigiLocker
OCR verification on mobile:
  • Camera integration for document capture
  • Image quality validation before upload
  • Real-time feedback for better user experience
SDKs and mobile-specific documentation available for popular platforms (Android, iOS, React Native, Flutter).