Skip to main content

코스타리카 — 교통 위반

코스타리카 교통 위반 조회는 번호판 하나의 COSEVI 벌금을 읽습니다. plate는 필수이며 3–6자입니다. 검증 실패는 MissingParameter가 아니라 코드 409:invalid_params의 HTTP 409입니다. 벌금이 없는 번호판은 404 NotFound입니다.

응답에 포함되는 값​

  • plate와 totalRecords
  • 상태와 금액이 있는 infractions[]

사용 사례​

  • 차량을 등록하기 전에 벌금을 확인합니다.
  • 3–6자가 아닌 번호판을 거부합니다.
  • 각 벌금의 총액을 읽습니다.

API 레퍼런스​

Endpoint​

GET https://api.verifik.co/v2/cr/traffic-infractions

일치에는 plate, totalRecords, 그리고 계열, 번호, 날짜, 상태, 기관, 금액이 있는 infractions가 있습니다.

Headers​

이름값설명
Content-Typeapplication/json요청 형식
Acceptapplication/json응답 형식
AuthorizationBearer <token>클라이언트 JWT

Parameters​

이름유형필수예시설명
platestring예123456번호판. 3–6자, 공백 없음. 없거나 길이가 틀리면 코드 409:invalid_params입니다.

Request​

import axios from "axios";

const options = {
method: "GET",
url: "https://api.verifik.co/v2/cr/traffic-infractions",
params: {
plate: "123456",
},
headers: {
Accept: "application/json",
Authorization: "Bearer <your_token>",
},
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error.response ? error.response.data : error.message);
}

Response​

{
"data": {
"plate": "123456",
"totalRecords": "1",
"infractions": [
{
"series": "1996",
"number": "12052",
"plate": "123456",
"status": "CANCELADA",
"totalAmount": "2000.00"
}
]
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}

참고​

  • plate는 3–6자입니다.
  • 잘못된 번호판은 코드 409:invalid_params입니다.
  • 그 번호판에 벌금이 없으면 404 NotFound입니다.
  • Authorization 헤더에 Bearer JWT를 보냅니다.
  • JSON 예시는 필드 모양입니다. 실제 호출은 보낸 값의 레코드를 반환합니다.
  • 캐시 우회 플래그는 보내지 않습니다. 이 페이지는 클라이언트 파라미터만 설명합니다.

샌드박스​

시나리오파라미터결과
원천에 기록 있음plate: "123456"위반이 있는 200.
필수 값 누락Omit plate코드 409:invalid_params인 409.
알 수 없는 값plate: "ABC"COSEVI에 벌금이 없으면 404 NotFound.

401 when the bearer token is missing or rejected.