Combine Roundtrip Fare
combine_roundtrip_fareFull Description
Compute the final roundtrip fare for a chosen outbound + return flight pair. Called from the flight results widget when both legs are selected; returns displayFare, combined fareToken, and booking URL.
Parameters (8 required)
onwardArrivalEpochMsnumberEpoch ms for outbound final arrival (ixigo onwardArrivalTime)
onwardFareTokenstringPer-leg fareToken from outbound option booking
onwardFlightKeysstringOutbound flightKeys / id from search results
providerIdstringProvider ID from either leg’s booking data
returnDepartureEpochMsnumberEpoch ms for return first departure (ixigo returnDepartureTime)
returnFareTokenstringPer-leg fareToken from return option booking
returnFlightKeysstringReturn flightKeys / id from search results
searchTokenstringsearchToken from flight search (ixigo)