DigiLocker

Fetch PAN PDF / image from DigiLocker

Fetches the user's PAN document (PDF or image) from DigiLocker using a short-lived reference_key. Returns the file as binary (PDF or image).

post/verify/digilocker/fetch_pan

Request

  • Base URL
    https://prod.idto.ai
  • URL
    https://prod.idto.ai/verify/digilocker/fetch_pan
  • Auth
    API key in header X-Client-ID and API key in header X-API-KEY

Request body

reference_keystring required

Short-lived reference key obtained from /digilocker/get_reference.

Example request

{
  "reference_key": "ref_1765363198342_11a86177dec0"
}

Response

PAN document (PDF or image) returned as binary stream.

Changes

No recorded changes to this operation across all 1 revision of this API.