post https://api.sandbox.bureau.id/v1/suppliers/init-doc-fetch
These APIs enable you to retrieve an individual's Aadhaar from their DigiLocker account.
There are 2 APIs you need to call to retrieve documents:
1. Generate URL API: This API generates a DigiLocker link. You’ll need to redirect the user to this link. Upon visiting it, the user can either grant or deny access. To share documents, they’ll enter their Aadhaar number and verify it using an OTP sent to their linked mobile number. After successful verification, the user can select which documents they want to share.
2. Get Document Link API: Use this API to retrieve links that allow you to access the individual’s Aadhaar document in both PDF and XML formats.