https://api.consultasperu.com/api/v1/query/license
{
"token": "tu_token_aqui",
"dni":"número_de_dni"
}
{
"success": true,
"message": "Successful response",
"data": {
"document_number": "44747700",
"full_name": "YAER GUZMAN TACUNAN",
"name": "YAER",
"surname": "GUZMAN TACUNAN",
"license": [
{
"number": "A44747700",
"category": "A IIb",
"date_of_issue": "2013-03-01",
"date_of_due": "2025-09-15",
"status": "VIGENTE",
"observations": "SIN RESTRICCIONES"
}
]
}
}
{
"success": false,
"message": "No data found",
"data": null
}
{
"success": false,
"message": "Invalid Token",
"data": null
}