post https://in.staging.decentro.tech/v2/kyc/aadhaar_connect/otp/validate
This API will validate the OTP entered by the user to authenticate with UIDAI. Once successfully validated response will have the below details -
- Reference number
- Resident’s name
- Gender
- Photo
- Date of Birth
- Mobile number in hashed form
- Email in hashed form
Refer here for Validate OTP Documentation
Note - Share Code and Aadhaar Zip File
If the customer wants to create and use their own share_code to extract Aadhaar Zip file then they can pass a 4 digit number in share_code parameter and the response body will give Base64 of the Zip file along with the 4 digit share_code entered by the customer which can be used to extract Aadhaar Zip.