π¨π΄ λ©λΈλ¦° - κ΅ν΅ λ²κΈ
μλν¬μΈνΈβ
https://api.verifik.co/v2/co/medellin/vehicle/fines
μ½λ‘¬λΉμ λ©λΈλ¦° λ²νΈνμ λν μ§μ κ΅ν΅ λ²κΈ λ° comparendoλ₯Ό λ°νν©λλ€. μλ° λ΄μ, κΈμ‘, μλ°μ μ 보(κ°λ₯ν κ²½μ°)λ₯Ό ν¬ν¨ν©λλ€. μμ μ€μ, μ°¨λ κ΄λ¦¬, λ©λΈλ¦° mobility κΈ°λ‘μ νμ λ μ€μ¬μ μ¬μ©νμΈμ.
μ£Όμ νλ: plate, informacionComparendo, valorTotalAdeudado λ° κ΄λ ¨ λ°°μ΄.
ν€λβ
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
λ§€κ°λ³μβ
| Name | Type | Required | Description |
|---|---|---|---|
plate | string | Yes | λ²νΈν(5β8μ). 곡백μ΄λ μ μμ΄. |
μμ²β
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/medellin/vehicle/fines", {
params: { plate: "ABC10001" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/medellin/vehicle/fines"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"plate": "ABC10001"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
μλ΅β
- 200
- 404
- 409
{
"data": {
"plate": "ABC10001",
"informacionComparendo": [
{
"numeroComparendo": "MDL202400000001",
"placa": "ABC10001",
"fecha": "15/01/2024",
"valor": 180000,
"estado": "Pendiente",
"codigoInfraccion": "C29",
"descripcionInfraccion": "Transitar en sitios prohibidos."
}
],
"valorTotalAdeudado": 180000,
"valorTotalPago": 0
},
"signature": {
"dateTime": "January 16, 2024 3:44 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "\"plate\" is required"
}
μ°Έκ³ β
- Sandbox: λ²νΈν
ABC10001β**ABC10010**μ κ³ μ fixture;ERR404β 404. - λ©λΈλ¦°λ§ ν΄λΉ; μ κ΅ SIMITλ SIMIT - λ²κΈ μ°Έμ‘°.
- μμ² ν¬νΈ κ°μ©μ±μ λ³λλ μ μμΌλ©°, μ₯μ μ 5xx μ€λ₯κ° λ°μν μ μμ΅λλ€.