Preview the cost of cancelling a car rental booking
Quote what cancelling would cost right now: the fee in force and the refund it would leave. Nothing is cancelled. fee_known: false means the fee could not be established — render it as "we will confirm the fee", never as free cancellation. The returned quote_id is required by car_cancel_commit, and binds until expires_at where one is given. cancellable: false with manual_required: true means the cancellation cannot be completed online (fee unknown, rental changed after payment, fee in another currency or above the rental) and refund_review_reason says why: it is not a dead end — once the customer agrees, commit it with manual_ok: true and a Jinko agent completes it. cancellable: false without that flag is a rental that cannot be cancelled at all (already cancelled, or over), carrying the cancellation that stands where there is one. Guest-authenticated: booking_ref + last_name; a wrong pair returns 404 rather than confirming the booking's existence.
Request
- Base URLhttps://api.gojinko.com
- URLhttps://api.gojinko.com/v1/car_cancel_preview
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Example request
{
"booking_ref": "JNK-8PT9VS",
"last_name": "Doe"
}Response
Cancellation quote
Example response
{
"quote_id": "ccl_2f7c9a4e8b1d4c6f9e3a5b7d1c2e4f6a",
"cancellation_id": "ccl_2f7c9a4e8b1d4c6f9e3a5b7d1c2e4f6a",
"cancellable": true,
"fee_known": true,
"fee_type": "cancellation",
"fee": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2,
"display": "EUR 412.50"
},
"paid": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2,
"display": "EUR 412.50"
},
"refund_amount": {
"value": 41250,
"currency": "EUR",
"decimal_places": 2,
"display": "EUR 412.50"
},
"currency": "EUR",
"refund_review_reason": "the cancellation fee for this rental could not be established; a person will complete the cancellation",
"expires_at": "2026-09-21T10:15:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.