Aadhaar Verification
Aadhaar is a 12 digit individual identification number which serves as proof of identity and proof of address for residents of India. Aadhaar is a valid Proof of Identity and Proof of Address.
Aadhaar Structure
Key | Description |
---|---|
Aadhaar ID | Aadhaar Number |
Date of Birth | |
Gender | |
Name | |
Care Of | |
Country | |
District | |
Locality | |
Pin Code | |
State | |
Vtc | Village/Town/City |
House | |
Street | |
Landmark | |
Post Office | |
Sub-District | |
Address | |
Photo | Image of the aadhaar holder in base 64 encoding |
API Integration
Aadhaar verification can be performed either directly or through digilocker using the Verify Aadhaar API
Direct
Step 1 - Send OTP to registered mobile number linked to Aadhaar Number
Request
{
"aadhaarNumber": 732255662234
}
Response
{
"code": 0,
"message": "Success",
"data": {
"ref_id": "9183621",
"message": "OTP sent to *******8011"
}
}
The ref_id
in the response is to be used in Step 2.
Step 2 - Verify OTP and get details linked to Aadhaar Number
Request
{
"ekycOtp": "299508",
"refId": "9183621",
"digiLocker": false
}
Response
{
"code": 0,
"message": "Success",
"data": {
"aadhaarId": "2XXXXXXXXXX8",
"dateOfBirth": "DD-MM-YYYY",
"gender": "Male",
"name": "KXXXXXj MXXXXXa",
"careOf": "UXXXXl SXXXXh",
"country": "India",
"district": "Gurgaon",
"locality": "Sector 55",
"pinCode": "122004",
"state": "Haryana",
"vtc": "Gurgaon",
"house": "238",
"street": "Sector 55",
"landmark": "Sector 54 Metro",
"postOffice": "Gurugram",
"subDistrict": "Gurugram",
"address": "Sector 55 Gurgaon Haryana",
"photo": "Base-64 encoded image"
}
}