Skip to main content

Lost & Invalid documents

This service checks whether given person's identity document is not registered as stolen or lost. Use AML API for detailed API request reference.

important

This service is available for Republic of Lithuania only.

Pricing

Please contact iDenfy's sales team sales@idenfy.com for a detailed price-sheet.

Webhook data

The service check returns identity document's data in JSON format. Overall response can be seen in the table below:

Overall response table
JSON keyTypeExplanation
statusObjectThe overall status of the service check.
dataListData returned from services.
serviceNameStringThe name of the service that was used to check a person.
serviceGroupTypeStringThe type of the service that was used. It is always LID.
uidStringA unique identifier for a request. NOTE that it is unique only in one request scope. It is not unique globally. This parameter is only useful when doing multi-person checks.
errorMessageStringIn case of an error in the checking process a human readable error message is given.
Status table
JSON keyTypeExplanation
serviceSuspectedBoolIndicates whether a service found a record about the person under check.
checkSuccessfulBoolIndicated whether an error occurred while doing a check.
serviceFoundBoolIndicates whether a service was found for a given country.
serviceUsedBoolIndicated whether a service was used.
overallStatusStringA mapping string indicating overall status of the check.
Data table

A service response in data field returns a list of objects which are detailed in the table below:

JSON keyTypeExplanation
documentNumberStringDocument number in the service's database.
documentTypeStringDocument type in the service's database.
validBoolIndicated whether document is valid or not.
expiryDateStringDate when a document expires.
checkDateStringDate and time of when the service was checked.

Example response

{
"status": {
"serviceSuspected": true,
"checkSuccessful": true,
"serviceFound": true,
"serviceUsed": true,
"overallStatus": "SUSPECTED"
},
"data": [
{
"documentNumber": "12347539",
"documentType": "PASSPORT",
"valid": false,
"expiryDate": "2018-03-21",
"checkDate": "2020-02-02 20:02:02"
}
],
"serviceName": "IrdInvalidPapers",
"serviceGroupType": "LID",
"uid": "1S1DTTF1IV5FM4D4BO325CG8F",
"errorMessage": null
}