DNI

Búsqueda por número de Documento Nacional de Identidad

POST
https://api.consultasperu.com/api/v1/query

Headers

NameValue

Content-Type

application/json

Body

{
    "token": "tu_token_aqui",
    "type_document":"dni",
    "document_number": "00000000"
}

Response

{
    "success": true,
    "message": "Successful response",
    "data": {
        "number": "00000000",
        "full_name": "Nombre completo",
        "name": "Solo el nombre",
        "surname": "Solo apellidos",
        "verification_code": 1,
        "date_of_birth": "2005-03-31",
        "department": "Departamento",
        "province": "Provincia",
        "district": "Distrito",
        "address": "Dirección",
        "ubigeo": "000000"
    }
}

Última actualización