Permis de conduire (Pérou)
Endpoint
GET https://api.verifik.co/v2/pe/driver-license
Consulte un permis de conduire péruvien par DNI (catégorie, statut, expiration, restrictions, etc.).
En-têtes (Headers)
| Nom | Valeur |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
Paramètres
| Nom | Type | Requis | Description | Exemple |
|---|---|---|---|---|
documentType | string | Oui | Type de document. Valeur : DNI. | DNI |
documentNumber | string | Oui | Numéro DNI (6–8 chiffres). | 10000001 |
Requête (Request)
- JavaScript
- Python
import axios from 'axios';
const { data } = await axios.get('https://api.verifik.co/v2/pe/driver-license', {
params: { documentType: 'DNI', documentNumber: '10000001' },
headers: { Accept: 'application/json', Authorization: 'Bearer <votre_token>' },
});
console.log(data);
import http.client
conn = http.client.HTTPSConnection("api.verifik.co")
headers = {"Accept": "application/json", "Authorization": "Bearer <votre_token>"}
conn.request("GET", "/v2/pe/driver-license?documentType=DNI&documentNumber=10000001", headers=headers)
print(conn.getresponse().read().decode("utf-8"))
Réponse (Response)
- 200
- 404
- 409
{
"data": {
"documentType": "DNI",
"documentNumber": "10000001",
"firstName": "MARIA ELENA",
"fullName": "MARIA ELENA LOPEZ GARCIA",
"hasLicensesA": true,
"licenses": [
{
"licenseNumber": "R10000001",
"licenseCategory": "A IIb",
"licenseStatus": "Vigente",
"expirationDate": "14/12/2027",
"restrictions": "SIN RESTRICCIONES"
}
],
"procedures": [
{
"procedure": "Revalidación",
"category": "A IIb",
"status": "Vigente"
}
],
"regulatoryCourses": [{ "hours": 6 }],
"tickets": [],
"sanctions": null
},
"signature": {
"dateTime": "June 23, 2026 10:00 AM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentType\n. missing documentNumber\n"
}
Notes
- Seul
documentType=DNIest pris en charge. - En mode sandbox :
documentNumber10000001–10000010 ;90040401→ 404.