Bookings
Get experience cancellation quote
Overview
Preview the refund amount and cancellation fee for a booking before committing to cancel it.
When to Use
- Cancellation confirmation screens - Show the guest exactly what they'll be refunded
- Support tooling - Check whether a booking is still cancellable before offering a refund
What You Get
- cancellable - Whether the booking can currently be cancelled
- policy - cancellationFee, refundAmount, refundType, estimateConfidence, currency, sellingPrice
Quick Start
GET this endpoint with the bookingId from POST /experiences/bookings. This does not cancel the booking - call POST /experiences/bookings/{bookingId}/cancel to actually cancel.
Error codes
Product-operation codes are listed below. Shared authentication/access/rate-limit middleware can return common codes such as 401, 40301 or 4290. HTTP status and error code are separate; do not parse message text.
| Code | Meaning |
|---|---|
| 75001 | booking not found |
| 75002 | this booking has already been cancelled |
| 75003 | cancellation is not allowed for this booking |
| 75004 | the activity has already started |
| 75005 | invalid cancellation preview request |
| 75006 | cancellation preview provider request failed |
| 75007 | cancellation preview provider request timed out |
| 75008 | cancellation preview request is unauthorized |
| 75009 | cancellation preview request is forbidden |
| 75010 | cancellation preview service is temporarily unavailable |
| 75099 | failed to retrieve cancellation preview |
get/experiences/bookings/{bookingId}/cancel-preview
Request
- Base URLhttps://api.liteapi.travel/v3.0
- URLhttps://api.liteapi.travel/v3.0/experiences/bookings/{bookingId}/cancel-preview
- AuthAPI key in header X-API-Key
Path parameters
bookingIdstring required
LiteAPI booking ID returned from POST /experiences/bookings
Response
Cancellation preview with refund estimate
Example response
{
"data": {
"bookingId": "444fe833-a84e-49b4-ae9f-b032c8619419",
"cancellable": true,
"policy": {
"refundAmount": 45.5,
"refundType": "full",
"estimateConfidence": "high",
"currency": "EUR",
"sellingPrice": 45.5
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.