운전면허 (페루)
엔드포인트
GET https://api.verifik.co/v2/pe/driver-license
DNI로 페루 운전면허를 조회합니다(등급, 상태, 만료일, 제한 등).
헤더 (Headers)
| 이름 | 값 |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
매개변수
| 이름 | 형식 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
documentType | string | 예 | 문서 유형. 값: DNI. | DNI |
documentNumber | string | 예 | DNI 번호(6~8자리). | 10000001 |
요청 (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 <토큰>' },
});
console.log(data);
import http.client
conn = http.client.HTTPSConnection("api.verifik.co")
headers = {"Accept": "application/json", "Authorization": "Bearer <토큰>"}
conn.request("GET", "/v2/pe/driver-license?documentType=DNI&documentNumber=10000001", headers=headers)
print(conn.getresponse().read().decode("utf-8"))
응답 (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"
}
참고
documentType=DNI만 지원됩니다.- 샌드박스 모드:
documentNumber10000001–10000010;90040401→ 404.