booking.reservation.cancellation.preview
View connectorCheck current cancellation fee and conditions
POST /v1/operations/booking.reservation.cancellation.previewHeaders
Authorization: Bearer YOUR_CONNECTOR_TOKEN
x-booking-token: YOUR_BOOKING_TOKEN
Content-Type: application/jsonUse your connector bearer token and caller-held guest token in x-booking-token.
Inputs
| Parameter | Example type | Example value |
|---|---|---|
| booking_ref | string | "fictional-booking-ref" |
Example input
{
"booking_ref": "fictional-booking-ref"
}Input schema
{
"$id": "https://useajar.com/schemas/booking/cancellation-preview.input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"booking_ref": {
"maxLength": 128,
"minLength": 1,
"type": "string"
}
},
"required": [
"booking_ref"
],
"type": "object"
}