Downloading verified documents with information
When an applicant has been verified, you can download and retrieve the document images.
Download verified documents information
Name
Value
Name
Type
Description
Request
curl --location 'https://enterprise.personr.co/api/1.1/wf/api-document-download' \
--form 'applicantId="4242424242424x424242424242424242"'var axios = require('axios');
var FormData = require('form-data');
var data = new FormData();
data.append('applicantId', '4242424242424x424242424242424242');
var config = {
method: 'post',
maxBodyLength: Infinity,
url: 'https://enterprise.personr.co/api/1.1/wf/api-document-download',
headers: {
...data.getHeaders()
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});{
"status": "success",
"response": {
"IdDocType": [
"DRIVERS",
"PASSPORT"
],
"docExpiries": [
"DRIVERS",
"PASSPORT"
],
"docNumbers": [
"DRIVERS",
"PASSPORT"
],
"base64": [
"/9j/44AQS...",
"/9j/45AQS...",
"/9j/46AQS..."
]
}
}Last updated
Was this helpful?