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


    {
        "code": "200",
        "description": "Valid id and type document"
    }

Document Validation: Example request

{
    "document": {
        "id" :"52993635000130",
        "type" :"CNPJ"
    },
    "country" : "BRA"
}

Check the CountryISO Code3 in the following section:

In the following section, check the valid ID Types in every country that LP works with:

Last updated