post https://in.staging.decentro.tech/v2/kyc/digilocker/eaadhaar
Important Note
Please use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.
API Endpoints
Environment | Endpoint |
---|---|
Staging / Sandbox | https://in.staging.decentro.tech/v2/kyc/digilocker/eaadhaar |
Production | https://in.decentro.tech/v2/kyc/digilocker/eaadhaar |
This API will return e-Aadhaar data in XML format. Refer here for eAadhaar Documentation
Voila
Now you can get the below mentioned parameters in the response as well by passing the following params in the request body -
- DigiLocker verified Aadhaar XML by passing the optional parameter generate_xml as true
- eAadhaar PDF from DigiLocker verified XML by passing an optional parameter generate_pdf as true
Aadhaar Data Not Found
- If you get "try again, data not found" in the response, please login to DigiLocker account and refresh the Aadhaar card
- If you get "aadhaar is not linked to the account" that means Aadhaar is not linked with this DigiLocker account
DigiLocker Response Keys
Here are the Response Keys and the scenarios under which Decentro will propagate the same to the platform - Response Keys