You can get quick answer of your question by entering here
Do we have any API to get Flight Cancellation Charges?
Option 1: Display Fare Rules
The recommended approach is to display the Fare Rules on your portal before the customer confirms the booking.
The Fare Rules contain important information provided by the airline, such as:
- Cancellation charges
- Date change (rescheduling) charges
- Refund policy
- No-show policy
- Other fare restrictions and conditions
By displaying the Fare Rules, customers can review the applicable airline policies before making the booking decision. This is the most reliable way to understand the cancellation policy in advance.
SRDV Flight API Doc: https://www.srdvtechnologies.com/document/flight/v8/farerule-method
Option 2: Use the GetCancellationCharges API (After Booking)
Once the booking has been completed successfully, you can call the GetCancellationCharges API to retrieve the applicable cancellation charges for that booking.
API Documentation: https://www.srdvtechnologies.com/document/flight/v8/cancellation-charges
However, please note the following limitation:
- The availability of cancellation charges depends on the airline/supplier.
- Some suppliers return the cancellation charges through this API.
- Some suppliers do not provide cancellation charges, in which case the API may not return this information.
Therefore, the GetCancellationCharges API should be treated as an approximate source, and its response depends entirely on the supplier's support for cancellation charge retrieval.
Recommendation
For the best user experience, we recommend implementing both approaches:
- Display Fare Rules before booking so customers can review cancellation and modification policies.
- After booking, call the GetCancellationCharges API to fetch the latest cancellation charges whenever they are supported by the supplier.