Getting access
The API is for approved Kova travel agents. Once you’re one, email hello@kovacarhire.com and we’ll switch it on. You then make keys on your agent page (up to 5 at once) and revoke them there. Keep keys on your server, never in a web page or app: anyone with one can start bookings as you.
Send the key with every request:
Authorization: Bearer kova_live_…
How a booking works
- List vehicles with
GET /vehicles. - Price the customer’s dates with
GET /quote. It also gives the times the branch is open on both days. - Start the booking with
POST /bookings. We hold the vehicle for 30 minutes and give you a payment link. - Send the customer to the payment link. They pay Kova by card; nothing passes through you. Once they’ve paid, we email their confirmation and the rental partner gets the booking.
- Check where it stands with
GET /bookings/{ref}. An unpaid hold runs out on its own.
All addresses start https://kovacarhire.com/api/v1. Prices are in pounds, VAT included. Dates are YYYY-MM-DD, times HH:MM, UK time.
GET /vehicles
Every vehicle that can be booked, with its pick-up points and the extras it offers.
curl https://kovacarhire.com/api/v1/vehicles -H "Authorization: Bearer $KOVA_KEY"
{ "vehicles": [ {
"id": "california-beach",
"name": "Volkswagen California Beach",
"category": "campers",
"supplier": "Breeze Campers",
"seats": 4, "berths": 4,
"transmission": "automatic", "fuel": "diesel",
"fromPricePerDay": 112,
"image": "https://kovacarhire.com/images/…webp",
"url": "https://kovacarhire.com/campers/california-beach",
"locations": [ { "id": "portsmouth", "name": "Portsmouth (Havant)", "type": "depot" } ],
"extras": [ { "id": "additional-driver", "name": "Additional driver", "price": 10, "unit": "per-day", "max": 3 } ]
} ] }GET /quote
Query: vehicle, location, from, to, fromTime, toTime, and optionally extras=id:qty,id:qty and airport (at an airport pick-up point).
curl "https://kovacarhire.com/api/v1/quote?vehicle=california-beach&location=portsmouth&from=2027-05-03&to=2027-05-07&fromTime=10:00&toTime=16:00" \
-H "Authorization: Bearer $KOVA_KEY"
{ "vehicle": "california-beach", "location": "portsmouth",
"from": "2027-05-03", "to": "2027-05-07", "fromTime": "10:00", "toTime": "16:00",
"availability": "available",
"days": 4, "hire": 448, "extras": [], "airport": [],
"total": 448, "currency": "GBP",
"pickupTimes": ["09:00", "09:30", …], "returnTimes": ["09:00", …] }availability is available, unavailable, or unknown when the rental partner’s calendar couldn’t be checked. An unknown booking still goes ahead: the partner provides that vehicle or one the same or better.
POST /bookings
A JSON body with the hire, the lead driver, and acceptedTerms: true once the customer has agreed to Kova’s booking terms (show them a link). Add expectedTotal from your quote and we’ll refuse the booking if the price has moved. The driving licence isn’t needed: the customer brings it to pick-up.
curl https://kovacarhire.com/api/v1/bookings -H "Authorization: Bearer $KOVA_KEY" \
-H "Content-Type: application/json" -d '{
"vehicle": "california-beach", "location": "portsmouth",
"from": "2027-05-03", "to": "2027-05-07", "fromTime": "10:00", "toTime": "16:00",
"extras": { "additional-driver": 1 },
"customer": { "name": "Sam Taylor", "email": "sam@example.com", "phone": "07700 900123",
"dob": "1988-04-12", "address": "1 High Street, Oban", "postcode": "PA34 4AA" },
"acceptedTerms": true, "expectedTotal": 488
}'
201 Created
{ "booking": { "ref": "KV-7KQ2MD", "status": "awaiting_payment", … ,
"holdExpiresAt": "2027-04-01T10:30:00.000Z" },
"paymentUrl": "https://checkout.stripe.com/…",
"bookingUrl": "https://kovacarhire.com/booking/KV-7KQ2MD?t=…" }bookingUrl is the customer’s own page for the booking: they can see it, add their licence, and cancel it there. You can start up to 30 bookings an hour.
GET /bookings/{ref}
A booking you made through the API. status is awaiting_payment, confirmed, cancelled or expired (not paid in time). Customer contact details aren’t returned.
Errors
Errors answer a status code and a message you can show the customer:
409 Conflict
{ "error": { "code": "unavailable", "message": "Those dates are already booked." } }unauthorised(401): no key, or it’s been revoked.bad_request(400): something in the request needs fixing; the message says what.unavailableandprice_changed(409): quote again.rate_limited(429),payments_off(503) andserver_error(502): try again later. Nothing has been charged.
Commission
API bookings count like any other booking of yours: they show on your agent page and monthly statement, and you earn your rate on what the customer paid, net of refunds, once the hire is over. The agent terms apply.