Skip to main content
Cashfree’s Aadhaar Masking enables businesses to automatically mask their customers’ Aadhaar cards in accordance with privacy regulations before storing them. The API accepts an Aadhaar card image and returns a masked version with:
  • The first eight digits of the Aadhaar number hidden.
  • Any visible QR code blocked.
This ensures Aadhaar documents are stored safely and customer data remains protected. The supported Aadhaar card formats are as follows:
  • PVC Aadhaar card.
  • Aadhaar letter.
  • Short form Aadhaar card.
  • mAadhaar.
E-Aadhaar and masked Aadhaar from DigiLocker are not supported. Avoid using these formats.

Why Aadhaar Masking is required

UIDAI requires businesses and organisations that collect Aadhaar copies from customers, employees, vendors, or others to mask the first eight digits of the Aadhaar number and the QR code before storing them. The regulation applies to every business, regardless of size or sector. Masking helps protect privacy and prevent misuse of Aadhaar data. Non-compliance may result in penalties, regulatory enforcement, or reputational loss.

Masked Aadhaar vs Regular Aadhaar card

Why choose Cashfree

Cashfree’s Aadhaar Masking offers the following features:
  • High success rate: More than 99% of valid Aadhaar documents are successfully masked, including those with low-quality submissions.
  • Low latency: Processing completes in just 2–3 seconds on average.
  • Intelligent document handling: Detects whether a document is Aadhaar or non-Aadhaar before processing.
  • Regulatory compliance: Compatible with all mandated Aadhaar formats, excluding eAadhaar and pre-masked documents.

Try Aadhaar Masking

Follow these steps to implement Aadhaar Masking through the Merchant Dashboard:
  1. Log in to the Merchant Dashboard.
  2. Go to the Secure ID Dashboard > Aadhaar/PAN > Aadhaar Masking.
  3. Click on Mask Aadhaar and upload the Aadhaar to be masked.
  4. Click Verify. If the uploaded file is a valid Aadhaar, a masked version will be available for download.
Get started with our Aadhaar Masking API.
I