Quote cancellation
const url = 'https://api.wink.travel/api/booking/f4d1c8e5-2b9a-4f3d-9e7c-1b6a5d3f8c92/refund-preview';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.wink.travel/api/booking/f4d1c8e5-2b9a-4f3d-9e7c-1b6a5d3f8c92/refund-preview \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Read-only preview of the refund and cancellation policy for cancelling a single booking, so the traveler is informed before confirming. Nothing is cancelled.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Quote cancellation for this booking identifier
Example
f4d1c8e5-2b9a-4f3d-9e7c-1b6a5d3f8c92Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”Single booking cancellation refund preview
Read-only preview of what cancelling a single booking would refund, shown to the traveler before confirming cancellation.
object
The booking’s internal identifier.
The human-readable booking code.
The property name for this booking.
Check-in date.
Check-out date.
The traveler’s display currency code.
Whether this booking refunds any money when cancelled.
Refund amount in the traveler’s display currency (0 when non-refundable).
Whether the refund is FULL, PARTIAL, or NONE.
Human-readable cancellation policy text (may be long).
Example
{ "bookingIdentifier": "f4d1c8e5-2b9a-4f3d-9e7c-1b6a5d3f8c92", "bookingCode": "MAVWBWMD", "hotelName": "The Siam Residences, Bangkok", "startDate": "2026-06-09", "endDate": "2026-06-12", "displayCurrency": "USD", "refundable": true, "refundDisplayAmount": 120, "refundType": "FULL", "cancellationPolicy": "Free cancellation until 24 hours before check-in. After that, the first night is charged."}Bad Request — missing or invalid request parameter or body
object
object
Example
Unauthorized — authentication is required or the session has expired
object
object
Example
Forbidden — authenticated but lacking the required permission or scope
object
object
Example
Not Found — the requested resource does not exist
object
object
Example
Method Not Allowed — the HTTP verb is not supported on this endpoint
object
object
Example
Unsupported Media Type — use application/json
object
object
Example
Internal Server Error — an unexpected failure occurred on the server
object
object
Example
Service Unavailable — a downstream dependency is unreachable