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

# Cancel Booking API

This API can be called to cancel the booking

## API details

<mark style="color:red;">`DELETE`</mark>` ``/api/v1/hotel/booking-api/booking/cancel-booking/{referenceNumber}`

**Headers**

| Name            | Value                   |
| --------------- | ----------------------- |
| Content-Type    | `application/json`      |
| Authorization   | `Bearer <Access token>` |
| Accept-Encoding | `gzip`                  |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "success": true,
    "data": {
        "message": "Order cancelled successfully.",
        "status": "cancelled",
        "comments": "The refund amount will be credited within 7 days.",
        "cancellationCharge": 342.5
    }
}
```

{% endtab %}
{% endtabs %}
