Response - LID
This service is available for Republic of Lithuania only.
Overall response table
status
| Type: Object
The overall status of the service check.
serviceSuspected
| Type: Boolean
true
if the service found a suspicious or flagged record related to the person.
checkSuccessful
| Type: Boolean
true
if the check was completed without errors.
serviceFound
| Type: Boolean
true
if a relevant checking service was found for the target country.
serviceUsed
| Type: Boolean
true
if the service was actually called for this check.
overallStatus
| Type: String
A string representing the overall result of the check.
Possible values:
DATA_ERROR
SUSPECTED
NOT_SUSPECTED
INTERNAL_ERROR
SERVICE_NOT_FOUND
CHECK_FAILED
data
| Type: List
List of results returned from the used services.
LID_documentCheck
| Type: Object
Object containing details from the LID document verification service.
documentNumber
| Type: String
The document number as recorded in the LID service database.
documentType
| Type: String
The type of document as recorded in the LID service database.
valid
| Type: Boolean
true
if the document is valid according to the LID service.
expiryDate
| Type: String
Expiration date of the document in ISO 8601 format (e.g., 2025-12-31
).
checkDate
| Type: String
Date and time when the LID check was performed.
serviceName
| Type: String
The name of the external service used for the person check.
serviceGroupType
| Type: String
The service group type.
Always: LID
uid
| Type: String
A unique identifier within a request scope. Not globally unique. Used when performing multi-person checks.
errorMessage
| Type: String
A human-readable error message if something failed during the check.
Request example
{
"mode": "DATA",
"services": ["LID"],
"data": [
{
"type": "PASSPORT",
"number": "74587539",
"country": "LT"
}
]
}
Response example
{
"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
}