Skip to main content
GET
Get Document

Authorizations

x-client-id
string
header
required

Client ID. You can find your ID in the Merchant Dashboard.

x-client-secret
string
header
required

Client secret key. You can find your secret key in the Merchant Dashboard.

Headers

x-cf-signature
string

Send the signature if IP is not whitelisted.

Path Parameters

document_type
enum<string>
required

It is the type of document to be verified.

Available options:
AADHAAR,
PAN,
DRIVING_LICENSE

Query Parameters

reference_id
integer

It is the unique ID created by Cashfree Payments that you receive in the response of Create DigiLocker URL API. format: int64

verification_id
string

It is the unique ID you created to identify the Create DigiLocker URL API request.

Response

Success response for retrieving the document from DigiLocker

care_of
string

It displays the name of the parent or guardian.

Example:

"John Snow"

dob
string

It displays the date of birth of the individual.

Example:

"02-02-1995"

gender
string

It displays the gender of the individual.

Example:

"M"

name
string

It displays the name of the individual.

Example:

"John Doe"

It displays the link to the photo of the individual present in the document.

Example:

"PHOTO_LINK"

reference_id
integer

It displays the unique ID created by Cashfree Payments for reference purposes. format: int64

Example:

1234

status
string

It displays the status of the aadhaar document fetch. Possible values are:

  • SUCCESS: Aadhaar successfully fetched
  • AADHAAR_NOT_LINKED: Aadhaar not linked
Example:

"SUCCESS"

split_address
object

It contains the address information in individual components.

Example:
uid
string

It displays the unique number assigned to the individual when applying for the aadhaar card.]

Example:

"xxxxxxxx5678"

verification_id
string

It displays the unique ID you created to identify the verification request.

Example:

"ABC00123"

xml_file
string

It is the link which points to the zip file containing the XML file and has 48 hrs expiry

Example:

"https://abc.xyz"