Cancel a booking
POST/v2/bookings/cancel
Operation ID: cancelBooking
Cancels a Holidu booking that was cancelled on your side; call it right away: Holidu then recalculates its commission on cancellationFee (no commission without a fee, unless your agreement has a fixed cancellation commission). reason is required and cancellationFee is the absolute fee the guest still pays, in the booking's currency. The call is synchronous and returns CANCELLATION_SUCCESSFUL. Holidu Payments bookings must be cancelled in the Partner Portal instead (403), and the call is not available in the sandbox (418).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 418
- 500
The booking was cancelled
Bad Request
Authentication error
Forbidden
Booking does not exist
Requested method is not available in sandbox environment
Internal server error