cURL
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" }
booking_id
airline_penalty_paise
refund_amount_paise
VOLUNTARY
INVOLUNTARY
Cancellation quote details.
AUTO
MANUAL