Cancel a car rental booking
Cancel the booking at the rental provider and refund the customer's payment minus the cancellation fee. Requires the cancellation_id from a preceding preview, binding the commit to the fee the customer saw. Safe to call twice — a committed cancellation is reported as it stands rather than repeated. state: confirmed is done; state: pending is recorded but not finished — the platform is still completing it, or a Jinko agent has it — so read car_cancel_status rather than committing again. refund_pending_review: true means the refund needs a person before it is issued. A preview that answered manual_required: true is committed with manual_ok: true, once the customer agrees: the cancellation is then recorded for a Jinko agent (state: pending, refund_pending_review: true) and nothing is sent to the rental company by this call. Without the flag that commit is refused 409 manual_required. The other 409 refusals are QUOTE_EXPIRED (preview again), quote_drift (the refund moved; commit against the retry_quote_id it names after showing the customer current.refund), active_operation_exists, not_cancellable and funds_unavailable — see CarServicingConflictCode. In every one of them nothing was cancelled.
Request
- Base URLhttps://api.gojinko.com
- URLhttps://api.gojinko.com/v1/car_cancel_commit
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Example request
{
"booking_ref": "JNK-8PT9VS",
"last_name": "Doe",
"quote_id": "ccl_2f7c9a4e8b1d4c6f9e3a5b7d1c2e4f6a"
}Response
Cancellation result
Example response
{
"quote_id": "ccl_2f7c9a4e8b1d4c6f9e3a5b7d1c2e4f6a",
"cancellation_id": "ccl_2f7c9a4e8b1d4c6f9e3a5b7d1c2e4f6a",
"state": "confirmed",
"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"
},
"completed_at": "2026-08-20T15:18:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.