get https://staging.eko.in:25004/ekoapi/v3/tools/kyc/digilocker/document/
Use this API to get your customer's document details from DigiLocker.
Response
You get the following key information in the data object of the response:
| Name | Data Type | Description |
|---|---|---|
| care_of | string | The name of the parent or guardian |
| dob | string | The date of birth of the individual |
| gender | string | The gender of the individual |
| name | string | The name of the individual |
| photo_link | string | The link to the photo of the individual present in the document |
| split_address | Object | The address information in individual components. See the list below for details |
| uid | string | The unique number assigned to the individual when applying for the Aadhaar card |
| reference_id | integer | A unique ID for reference purposes |
split_address Details
split_address Details- country: name of the country as present in the document.
- dist: name of the district as present in the document.
- house: name of the house as present in the document.
- landmark: name of the landmark as present in the document.
- pincode: name of the PIN code as present in the document.
- po: name of the post office as present in the document.
- state: name of the state as present in the document.
- street: name of the street as present in the document.
- subdist: name of the sub district as present in the document.
- vtc: name of the VTC (village, town, city) as present in the address.