curl --request POST \
--url https://api.stage.localpayment.com/api/validation/document \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"document": {
"id": "1791234561009",
"type": "RUC"
},
"country": "ECU"
}
'
{
"code": "200",
"description": "Valid format of id and type document"
}{
"code": "300",
"description": "Invalid param + [document.id] + doesn´t match regex ^[0-9]{13}$"
}{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}{
"code": "501",
"description": "Country not found"
}Validierungsdienste
Ausweisdokument validieren
POST
/
api
/
validation
/
document
curl --request POST \
--url https://api.stage.localpayment.com/api/validation/document \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"document": {
"id": "1791234561009",
"type": "RUC"
},
"country": "ECU"
}
'
{
"code": "200",
"description": "Valid format of id and type document"
}{
"code": "300",
"description": "Invalid param + [document.id] + doesn´t match regex ^[0-9]{13}$"
}{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}{
"code": "501",
"description": "Country not found"
}Validieren Sie die Ausweisdokumente Ihrer Kunden nach Land und Typ, um sicherzustellen, dass sie korrekt formatiert sind. Verwenden Sie diesen Endpunkt, um fehlgeschlagene Transaktionen aufgrund ungültiger oder fehlerhafter Dokumentangaben zu reduzieren.
Autorisierungen
Header
Bearer-Zugriffstoken zur Authentifizierung. Dieses Token erhalten Sie über die Endpunkte Zugriffstoken abrufen oder Zugriffstoken aktualisieren.
Body
application/json
Land des Dokuments. ISO 3166-1 alpha-3.
Verfügbare Optionen:
ARG, BOL, BRA, CHL, COL, CRI, DOM, GTM, HND, MEX, PAN, PRY, PER Zuletzt geändert am 22. November 2026

