波哥大 — 车辆罚单
Endpoint
GET https://api.verifik.co/v2/co/bogota/vehicle/fines
用于按 车牌(plate) 查询哥伦比亚波哥大登记车辆的罚单与处罚。响应包含类型、状态、编号、日期及付款相关信息。
请求头(Headers)
| 名称 | 取值 |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
参数(Parameters)
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
plate | string | 是 | 待查询车牌,不含空格或圆点。 |
请求(Request)
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/bogota/vehicle/fines", {
params: { plate: "ABC123" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/bogota/vehicle/fines"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"plate": "ABC123"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
响应(Response)
- 200
- 404
- 409
{
"data": {
"fines": [
{
"type": "Comparendo - comparendera",
"status": "vigente",
"number": "11001000000035429360",
"plate": "ABC123",
"impositionDate": "14/11/2022",
"notificationDate": "14/11/2022",
"balance": "468500",
"discountValue": "0",
"pendingBalance": "549500",
"interest": "81000",
"total": "549500",
"totalCollections": "0",
"impositionMedium": "Control en vía apoyado en dispositivos móviles",
"courseAttendanceMessage": null,
"installmentNumber": "0",
"installmentStatus": null,
"installmentCount": "0",
"documentType": "C",
"documentNumber": "123456789",
"name": "MATEO VERIFIK",
"moratoryInterest": "0"
}
],
"plate": "ABC123"
},
"signature": {"message": "Certified by Verifik.co", "dateTime": "July 3, 2024 4:03 PM"},
"id": "Y5GS6"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing plate"
}
说明
- 状态 vigente 表示罚单仍有效,需要缴纳。
total可能包含原始金额与累计利息。- 缴费或申诉时请用
number引用具体罚单。