menu

ONLINE REFUND FUNCTIONALITY

This method is used to Void and Cancel the booking through API.

Service URL (REST) to be used:
https://Tboairdemo.techmaster.in/API/API/v1/Queues/RefundApi
Refund Request:-

* Check if the Booking has all the passenger count then process the same.

*Check the requested date is greater than Check if the booking is a part of the restriction airline list then don’t share any refund amount and response as “Refund is not allowed”

* Check if the booking has all the passenger with Remarks then process the online void and refund the respective amount in the wallet, create a credit note and same refunded amount in the response with the message as “Refunded amount has been successfully credited in the tbowallet”

* If the online refund fail then automatically, request goes into the offline process under the change request queue for the operations process with the Remarks and return as a response message with “Refund is subject to confirm according to airlines policy. Please connect with operations team for the Refund process”

* Once the operations process the request then API client call the GetBooking will get the updated status as per the status with refund amount.

Some Points for Refund Request:

* BookingId can be get from Ticket respons

* Need to pass PaxId, and SegmentId in Refund Reques

* PaxId and SegmentId can be get from GetBookingDetails response

* Online Refund should be applicable when all the sectors and passenger selected and RequestType is Refund

* If the online Refund is success then message appear “The Online Refund has been successfully done with the credit note - ##### “ or “Refunded amount has been successfully credited in the tbowallet”.

Field Value / Description
Process Type "1" = Void, "2" = Refund
Task Type "1" = GetCancellationCharge, "2" = OnlineRefund / OnlineVoid
SelectedPax & SelectedSector Comma-separated values, e.g., "1202,1204,1205"
BookingId Can be obtained from Book/Ticket Response or GetBookingDetail
Get SelectedPax & SelectedSector Use GetBookingDetails API
Mandatory Fields All fields in the request are mandatory, including Remarks
There would be a two-step functionality for Refund:-

* Service URL is common for all the two methods, all the two methods is wrapped-up under one method, i.e., RefundApi

* So, we just have to call this one method and based on number of selected pax and sector and online refund is applicable on the pnr, we will call the three sub-methods internally.

Important Points:-

* Online Refund should be applicable when all the sectors and passenger selected.

* Online Refund link should activate only for Admin/Ops profile along with agency and their sub users (who has ChangeRequest rights).

* Admin fee functionality which are implemented in the backend to pick automatically when we process the online and manual refund.

* Supplier fee would be picked automatically and appear in the supplier text box in the change request queue as per the configuration in the backend for the Manual Refund.

* In the Manual Refund operation, the ops team has to click on Manual Refund link (as per the pre-filled information admin and supplier fee) of all the passengers.

* Online and Manual Refund both would passenger wise i.e individual credit note and respective entry in Sales Report (All the passengers or individual passengers).

* In the Online Refund operation, the ops team has clicked on the Online Refund link to proceed the online process at supplier and tboair system as per the admin fee and the cancellation charges which we get from the supplier side. The credit note will be automatically created in the system. If the Online Refund is failed from the supplier side then ops team has an opportunities to clicked on the Manual Refund to refund the PNRs.