Pull Documents
Introduction
The Pull Document API makes it easy to get PAN documents from Digilocker. It works by getting the data from the issuer and adding it to the customer's Digilocker account, while also sending it back in the API response.
API details
Endpoint
POST https://api.signzy.app/api/v3/digilocker/pullDocumentsPOST https://api-preproduction.signzy.app/api/v3/digilocker/pullDocumentsRequest headers
Name | Value | Required | Description |
|---|---|---|---|
Content-Type | application/json | Mandatory | The type of content that the request body contains. |
Authorization | XXXXXXXXXXXXXXX | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |
Request body parameter
Parameter | Data Type | Description | Required |
|---|---|---|---|
requestId | String | Unique ID allocated after the authorization in digilocker iframe. This is returned as “requestId” in Create URL API. | Mandatory |
docType | String | Document type. It should be “PANCR” in this case | Mandatory |
panName | String | Name of the individual on PAN card | Mandatory (Updated) |
panNumber | String | PAN (Permanent Account Number). | Mandatory |
{
"requestId": "6523eb5fdd640e15b002e0b6",
"docType": "PANCR",
"panName": "Name",
"panNumber": "XXXXX0000X"
}Code samples
curl --location 'https://api.signzy.app/api/v3/digilocker/pullDocuments' \
--header 'Authorization: <Your Access Token>' \
--header 'Content-Type: application/json' \
--data '{
"requestId": "6523eb5fdd640e15b002e0b6",
"docType": "PANCR",
"panName": "Name",
"panNumber": "XXXXX0000X"
}'Response body parameters
Parameter | Data Type | Description |
|---|---|---|
result | Object | Contains the result of the task. If any data type is not provided (XML or PDF) then that string will be empty. |
result.pdf | String | URL to download the document in PDF format. |
result.xml | String | URL to download the document in XML format. |
result.fileId | String | Unique ID that contains the issuer ID, DocType, and the unique Identification number of the specific document. (For example: in.gov.transport-DRVLC-Driving License number of the individual) |
{
"result": {
"pdf": "https://files.signzy.tech/api/files/698285121/download/xxxxxxxxxxxxx.pdf",
"xml": "https://files.signzy.tech/api/files/698285127/download/xxxxxxxxxxxxx.xml",
"fileId": "in.gov.pan-PANCR-XXXXX0000X"
}
}Contact Us for Any Assistance
If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at [email protected]. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.
We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!