menu
Online Void Request
	
{
"TokenId": "{{TokenId}}",
"PNR": "QG7PYH",
"Remarks": "Refund from Api V1",
"BookingId": "126318",
"SelectedPax": "128177",
"SelectedSector": "136625",
"BookingMode": "API",
"TaskType": 2,
"ProcessType": 1,
"IPAddress": "122.176.187.75"
}

    
Online Void Response::
		
{
"RefundAmout": 302.18,
"PNR": "QG7PYH",
"RefundApplicable": false,
"ResponseMessage": "The Online Void has been successfully done with the credit note IZ184",
"Currency": "USD",
"CreditNote": "IZ1843",
"IsSuccess": true,
"Errors": [],
"Alerts": [],
"TokenId": "f5e683db-ef30-46d4-bde4-14dcb0f2cf75",
"TrackingId": "39157DA5-7BAA-45EA-AD7B-AE8244A5EC7F"
}

    
Online Cancellation Request:
	
{
"TokenId": "{{TokenId}}",
"PNR": "YK5E2A",
"Remarks": "Refund from Api V1",
"BookingId": "126321",
"SelectedPax": "128180",
"SelectedSector": "136630,136631",
"BookingMode": "API",
"TaskType": 2,
"ProcessType": 2,
"IPAddress": "122.176.187.75"
}
     
Online Cancellation Response
	
{
"RefundAmout": 39.35,
"PNR": "YK5E2A",
"RefundApplicable": true,
"ResponseMessage": "The Online Refund has been successfully done with the credit note IZ1845",
"Currency": "USD",
"CreditNote": "IZ1845",
"IsSuccess": true,
"Errors": [],
"Alerts": [],
"TokenId": "f5e683db-ef30-46d4-bde4-14dcb0f2cf75",
"TrackingId": "0399DCA8-D0E1-4D83-BB94-8ACA28F1D33E"
}
     
Use Cases: - Refund Charges:-

* Online Refund request with required parameter like PNR, token id etc.

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

* 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”.

* If the all conditions applicable then we will share the refund amount in the response w.r.t all the passenger/PNR.