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.
This endpoint uses the /en/ legacy route prefix rather than /api/public/.
Authentication
Requires a valid customer bearer token.
Query Parameters
Numeric identifier of the booking to check.
Response
Returns the cancellation fee details.
Examples
Check cancellation fee
GET /en/bookings/getCancellationFee?bookingId=1234
Authorization: Bearer {token}
TypeScript Integration
import endpoints from '@/api/endpoints'
const response = await httpClient.get(endpoints.bookings.cancellationFee(1234))