Get Cancellation Charges

Get Cancellation Charges is used to check the total amount that will be charged when a flight ticket is cancelled. It provides a breakdown of cancellation fees, airline penalties, and the expected refund amount (if applicable). This helps users clearly understand how much they will be charged or refunded before they proceed with the cancellation, allowing them to make an informed decision.

Service URL (REST) to be used:
https://flight.srdvtest.com/v8/rest/GetCancellationCharges
Get Cancellation Charges Request
Level Element Format Comments Mandatory
1 ClientId String Unique client identifier assigned to the agency during API registration and onboarding. Mandatory
2 UserName String API username assigned to the agency for authentication and authorization. Mandatory
3 Password String API password assigned to the agency for authentication. This credential must be transmitted securely. Mandatory
4 EndUserIp String Public IP address of the end user initiating the flight search request. Used for security, tracking, and compliance purposes. Mandatory
5 RequestType Integer Type of cancellation: [FullCancellation = 1,PartialCancellation = 2] Mandatory
6 TraceId String Trace Id( Trace Id to be echoed back from search response. This can be used to trace particular search/ book at SRDV’s end ) Mandatory
Get Cancellation Charges Response
Level Element Format Comments Mandatory
1 Error{} Object Contains error details returned by the API when the request cannot be processed successfully. Mandatory
1.1 ErrorCode String Unique error code identifying the type of error encountered during request processing. Mandatory
1.2 ErrorMessage String Human-readable description of the error returned by the API. Mandatory
2 Result Array List of cancellation details. Mandatory
2.1 Segments Array List of segment-wise cancellation details. Mandatory
2.1.1 FromAirport String Origin airport code of the segment. Mandatory
2.1.2 ToAirport String Destination airport code of the segment. Mandatory
2.1.3 RefundAmount String Refund amount applicable for the segment. Mandatory
2.1.4 CancellationCharge String Cancellation charge applicable for the segment. Mandatory
2.1.5 Remarks String Additional remarks related to the cancellation. Mandatory
2.2 CancellationType String Type of cancellation applied to the booking. Mandatory
2.3 TotalRefundAmount String Total refundable amount for the booking. Mandatory
2.4 TotalCancellationCharge String Total cancellation charge for the booking. Mandatory