> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gojinko.com/llms.txt
> Use this file to discover all available pages before exploring further.

# jinko hotel-cancel commit

> Cancel a hotel at the refund the customer agreed to

Start the cancellation a preview described, once the customer has agreed to its refund. Send the same --booking-ref, --booked-item-id and --last-name as the preview. A 409 cancels nothing: QUOTE\_DRIFT (show the customer current.refund, then commit again with the retry\_quote\_id and that figure, or preview again when no retry\_quote\_id is given), QUOTE\_EXPIRED (preview again), ACTIVE\_OPERATION\_EXISTS (poll the operation already running), NOT\_CANCELLABLE, FUNDS\_UNAVAILABLE. Success answers an operation handle: the refund has not moved yet; follow it with `hotel-cancel status`.

## Usage

```bash theme={null}
jinko hotel-cancel commit [options]
```

## Options

| Flag | Required | Description | Default |
| - | - | - | - |
| `--booking-ref <ref>` | Yes | Jinko booking reference from get-booking. JSON: booking\_ref. | |
| `--last-name <name>` | No | Lead guest surname, required for guest lookup; owning credentials may omit it. JSON: last\_name. | |
| `--booked-item-id <id>` | No | The booked item to service: booked\_item\_id from get-booking items\[] (an "itm\_..." string); required when several items of this domain exist. JSON: booked\_item\_id. | |
| `--quote-id <id>` | Yes | the "svq\_..." quote\_id returned by hotel-cancel preview. JSON: quote\_id. | |
| `--acknowledged <amount>` | Yes | the preview refund object verbatim as JSON, the figure the customer agreed to; its amount\_money is sent, else its inline value/currency/decimal\_places: \{"amount\_money":\{"value":45000,"currency":"EUR","decimal\_places":2},…}. JSON: acknowledged. | |
| `--user-intent <text>` | No | the end user's request in their own words, forwarded to Jinko for observability and relevance (avoid PII). Env fallback: JINKO\_USER\_INTENT. JSON: `intent.user_intent`. | |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.