Skip to main content
POST
/
flight
/
booking
/
cancel
/
quote
Get Cancellation Quote
curl --request POST \
  --url https://api.travomatrix.com/api/v1/flight/booking/cancel/quote \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "booking_id": "<string>",
  "reason_code": "<string>",
  "cancellation_type": "VOLUNTARY"
}
'
{
  "booking_id": "<string>",
  "processing_mode": "AUTO",
  "airline_penalty_paise": 123,
  "ota_fee_paise": 123,
  "refund_amount_paise": 123,
  "currency": "<string>",
  "quote_valid_until": "2023-11-07T05:31:56Z"
}
Calculate the refundable amount for cancelling an entire booking. The Refund Engine calculates the amount based on airline rules and agency fees.

Authorizations

X-API-Key
string
header
required

Body

application/json
booking_id
string
required
reason_code
string
cancellation_type
enum<string>
default:VOLUNTARY
Available options:
VOLUNTARY,
INVOLUNTARY

Response

200 - application/json

Cancellation quote details.

booking_id
string
processing_mode
enum<string>
Available options:
AUTO,
MANUAL
airline_penalty_paise
integer
ota_fee_paise
integer
refund_amount_paise
integer
currency
string
quote_valid_until
string<date-time>