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

# Cancellation Fee

> Returns the cancellation fee for a specific booking, if applicable.

# Cancellation Fee

Returns the cancellation fee that would apply if the customer cancels a specific booking. Used to show a confirmation dialog before proceeding with cancellation.

<Note>This endpoint uses the `/en/` legacy route prefix rather than `/api/public/`.</Note>

## Authentication

Requires a valid customer bearer token.

## Query Parameters

<ParamField query="bookingId" type="number" required>
  Numeric identifier of the booking to check.
</ParamField>

## Response

Returns the cancellation fee details.

## Examples

### Check cancellation fee

```http theme={null}
GET /en/bookings/getCancellationFee?bookingId=1234
Authorization: Bearer {token}
```

## TypeScript Integration

```typescript theme={null}
import endpoints from '@/api/endpoints'

const response = await httpClient.get(endpoints.bookings.cancellationFee(1234))
```
