The Get Cancellation Charges API allows you to retrieve cancellation charges for flight bookings. This endpoint provides detailed information about charges, refund amounts, taxes, and per-passenger breakdown.
POST /flight/cancellation_charges
Header Required Description client-id
Yes Your unique client ID client-secret
Yes Your client secret key Content-Type
Yes application/json
Parameter Type Required Description client_referenceId
string Yes Unique client reference ID for tracking the request booking_id
integer Yes Unique ID for the booking you want to check cancellation charges for request_type
string Yes Type of cancellation request. Allowed values: full_cancellation
or partial_cancellation
full_cancellation
- Get charges for cancelling the entire booking
partial_cancellation
- Get charges for cancelling specific passengers only
JSON
{
"client_referenceId": "WQGH762731",
"booking_id": 1984869,
"request_type": "full_cancellation"
}
Field Type Description status
string Response status (SUCCESS
or FAILED
) status_code
string HTTP status code message
string Response message data
object Contains cancellation details
Field Type Description trace_id
string Unique trace ID for this request result
object Contains detailed cancellation information
Field Type Description cancellation_charges
number Total cancellation charges amount refund_amount
number Amount to be refunded after deducting charges currency
string Currency code (e.g., "INR") gst
object GST breakdown details cancellation_charges_details
array Per-passenger cancellation details
Field Type Description cgst
object Central GST details with rate and amount igst
object Integrated GST details with rate and amount sgst
object State GST details with rate and amount cess
object Cess details with rate and amount taxable_amount
number Amount on which tax is calculated
Each passenger object contains:
Field Type Description title
string Passenger title (Mr, Mrs, Ms, etc.) first_name
string Passenger's first name last_name
string Passenger's last name pax_type
string Passenger type (adult, child, infant) cancellation_charge
number Cancellation charge for this passenger refund_amount
number Refund amount for this passenger ticket_number
string/null Ticket number if available
JSON
{
"status": "SUCCESS",
"status_code": "200",
"message": "Cancellation Charges successfully retrieved.",
"data": {
"trace_id": "5c95feff-28e4-4f76-b563-2ceb8bd9e323",
"result": {
"cancellation_charges": 8280,
"refund_amount": 1162,
"currency": "INR",
"gst": {
"cgst": {
"cgst_rate": 0,
"cgst_amount": 0
},
"igst": {
"igst_rate": 18,
"igst_amount": 18
},
"sgst": {
"sgst_rate": 0,
"sgst_amount": 0
},
"cess": {
"cess_rate": 0,
"cess_amount": 0
},
"taxable_amount": 100
},
"cancellation_charges_details": [
{
"title": "Mrs",
"first_name": "Payal",
"last_name": "Kumari",
"pax_type": "adult",
"cancellation_charge": 4140,
"refund_amount": 580.88,
"ticket_number": null
}
]
}
}
}
Total Charges : The cancellation_charges
field shows the total amount that will be deducted
Refund Amount : The refund_amount
shows what the customer will receive back
Tax Breakdown : The gst
object provides detailed tax information including IGST at 18%
Per-Passenger Details : Each passenger's individual charges and refunds are listed separately
All amounts are in the specified currency (INR in this example)
GST is calculated and displayed separately for transparency
Individual passenger details help in understanding charge distribution
The trace_id
can be used for tracking and support purposes
In case of errors, the API will return appropriate HTTP status codes with error messages. Common scenarios include:
400 Bad Request : Invalid booking ID or request parameters
404 Not Found : Booking not found
500 Internal Server Error : System error occurred
Always check the status
field in the response to determine if the request was successful.