Document Validation
Check if an ID is valid. Use this service before sending a request in order to avoid transaction rejection due to data mismatch.
Document Validation
POST
https://api.stage.localpayment.com/api/validation/document
Request Body
Name | Type | Description |
---|---|---|
country* | String | Required. Country of the document to be validated. Country ISOCode3 format |
document* | Object | Required. Valid (e.g. government issued) identity document. |
document.id* | String | Required. Identity document id. Usually a number. |
document.type* | String | Required. Identity document type. Please take a look at our recognized document types per country list. |
Document Validation: Example request
Please find all the possible error codes in this link
Validation Error CodesCheck the CountryISO Code3 in the following section:
Country CodesIn the following section, check the valid ID Types in every country that LP works with:
Document ValidationsLast updated