🇨🇴 Vehicle Fines Check in Bogotá, ColombiaService to consult fines made to a vehicle in the city of Bogotá.
Vehicle Fines Check in Bogotá, Colombia
GET - https://api.verifik.co/v2/co/bogota/vehicle/fines
This service allows you to check fines associated with a vehicle in Bogotá, Colombia, using its license plate number. The response provides detailed information, including the type of fine, status, fine number, date of imposition, date of notification, pending balance, interest, and other relevant details.
Implementation
Headers
Body
Name Type Required? Description Example Plate to consult, without spaces or points.
Request
JavaScript Python Swift PHP
Copy import axios from 'axios' ;
const options = {
method : 'GET' ,
url : '<https://api.verifik.co/v2/co/bogota/vehicle/fines>' ,
params : {plate : 'ABC123' } ,
headers : {
Accept : 'application/json' ,
Authorization : 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios .request (options);
console .log (data);
} catch (error) {
console .error (error);
}
Copy import http . client
conn = http . client . HTTPSConnection ( "api.verifik.co" )
payload = ''
headers = {}
conn . request ( "GET" , "/v2/co/bogota/vehicle/fines?plate=" , payload, headers)
res = conn . getresponse ()
data = res . read ()
print (data. decode ( "utf-8" ))
Copy var request = URLRequest(url: URL(string: "https://api.verifik.co/v2/co/bogota/vehicle/fines?plate=")!,timeoutInterval: Double.infinity)
request.httpMethod = "GET"
let task = URLSession.shared. dataTask ( with : request ) { data, response, error in
guard let data = data else {
print ( String ( describing : error ))
return
}
print ( String ( data : data, encoding : . utf8 ) ! )
}
task. resume ()
Copy <? php
require_once 'HTTP/Request2.php' ;
$request = new HTTP_Request2 ();
$request -> setUrl ( 'https://api.verifik.co/v2/co/bogota/vehicle/fines?plate=' ) ;
$request -> setMethod ( HTTP_Request2 :: METHOD_GET ) ;
$request -> setConfig ( array (
'follow_redirects' => TRUE
) ) ;
try {
$response = $request -> send () ;
if ($response -> getStatus () == 200 ) {
echo $response -> getBody () ;
}
else {
echo 'Unexpected HTTP status: ' . $response -> getStatus () . ' ' .
$response -> getReasonPhrase () ;
}
}
catch ( HTTP_Request2_Exception $e) {
echo 'Error: ' . $e -> getMessage () ;
}
Response
200 404 409
Copy {
"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" : {
"dateTime" : "July 3, 2024 4:03 PM" ,
"message" : "Certified by Verifik.co"
} ,
"id" : "Y5GS6"
}
Copy {
"code" : "NotFound" ,
"message" : "Record not found." ,
"signature" : {
"dateTime" : "August 31, 2022 3:24 PM" ,
"message" : "Certified by Verifik.co"
}
}
Copy {
"code" : "MissingParameter" ,
"message" : "missing plate\n"
}
Last updated 2 months ago