> For the complete documentation index, see [llms.txt](https://developer.gotadi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.gotadi.com/english/b2b2c-partner/api-method/hotel-1/api/api-booking-cancel.md).

# API Booking Cancel

Endpoint: `bookings/cancel`

Cancel the booking. `cancelPenaltyAmount` comes from the `cancel-check` immediately before.

**Request**

```json
{ "bookingNumber": "HTL2611150001", "cancelPenaltyAmount": 0 }
```

**Response**

```json
{
  "bookingNumber": "HTL2611150001",
  "status": "CANCELLED",
  "refundAmount": 2400000,
  "currency": "VND"
}
```

{% hint style="warning" %}
Only a `CONFIRMED` booking can be cancelled; any other state (already cancelled, not yet paid) returns code `08`. If the penalty has changed you get code `28` — call `cancel-check` again and retry with the new penalty.
{% endhint %}
