HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
dafar_exercise
Fields
type:payout (payout1) payout1
typevalue: payout
idUnique identifier for this exercise.
contract_idThe contract that was exercised.
payoutsThe payouts issued to the customer.
Show fields
type:original_form_of_payment (original_form_of_payment) original_form_of_payment
typevalue: original_form_of_payment
payoutThe payment details for this payout.
Show fields
The payment details for this payout.
type:alternate_payment_method (alternate_payment_method) alternate_payment_method
typeA payment that cannot be tokenized. eg: ApplePay.
amountmethodThe method of payment.
Show fields
loyalty_program (loyalty_program) loyalty_program
typevalue: loyalty_program
amountnameThe name of the of the loyalty program, e.g. points, miles, cash_rewards, etc. Required, to ensure that the amounts are refunded to the same loyalty program used during purchase.
unitsThe unit to currency exchange rate is implicit from the amount in the Payment object and this number of points.
not_provided (not_provided2) not_provided2
typevalue: not_provided
amountpayment_card (payment_card) payment_card
typeA credit or debit card. Must be tokenized (refer to above documentation).
amountidentifierShow fields
reseller_controlled (reseller_controlled) reseller_controlled
typeThe partner does not charge the user directly and thus does not have payment information.
amountrebook (rebook) rebook
typevalue: rebook
idUnique identifier for this exercise.
contract_idThe contract that was exercised.
rebooked_segmentsThe new flight segments the customer was rebooked on.
Show fields
origin_airportIATA airport code of origin.
[A-Z]{3}destination_airportIATA airport code of destination.
[A-Z]{3}departure_date_timeLocal date and time of departure, in ISO 8601 format.
arrival_date_timeLocal date and time of arrival, in ISO 8601 format.
cabinCabin of the segment.
economypremium_economybusinessfirstmarketing_carrier_codeIATA airline code of the marketing carrier for this segment.
[A-Z0-9]{2}marketing_flight_numberFlight number for the marketing carrier.
[0-9]{1,4}reservation_booking_designatorReservation Booking Designator (RBD) for this segment: the booking code the airline sold the seat under, one uppercase letter and an optional second letter or digit. Also known as booking class, booking code, class of service, or fare class (e.g. Y, B, M, Q, N, J, F, E1). Pass the code exactly as it appears on the ticket/PNR.
^[A-Z][A-Z0-9]?$operating_carrier_codeIATA airline code of the operating carrier for this segment. Assumed to be the same asmarketing_carrier_code if not set.
[A-Z0-9]{2}operating_flight_numberFlight number for the operating carrier. Assumed to be the same asmarketing_flight_number if not set.
[0-9]{1,4}itineraryThe new itinerary details.
Show fields
currencyslicesList of slices of the itinerary; 1 (one way), 2 (round trip), or up to 10 (multi-destination) slices are allowed
Show fields
segmentsA list of segments which make up the slice.
Show fields
origin_airportIATA airport code of origin.
[A-Z]{3}destination_airportIATA airport code of destination.
[A-Z]{3}departure_date_timeLocal date and time of departure, in ISO 8601 format.
arrival_date_timeLocal date and time of arrival, in ISO 8601 format.
cabinCabin of the segment.
economypremium_economybusinessfirstmarketing_carrier_codeIATA airline code of the marketing carrier for this segment.
[A-Z0-9]{2}marketing_flight_numberFlight number for the marketing carrier.
[0-9]{1,4}reservation_booking_designatorReservation Booking Designator (RBD) for this segment: the booking code the airline sold the seat under, one uppercase letter and an optional second letter or digit. Also known as booking class, booking code, class of service, or fare class (e.g. Y, B, M, Q, N, J, F, E1). Pass the code exactly as it appears on the ticket/PNR.
^[A-Z][A-Z0-9]?$operating_carrier_codeIATA airline code of the operating carrier for this segment. Assumed to be the same asmarketing_carrier_code if not set.
[A-Z0-9]{2}operating_flight_numberFlight number for the operating carrier. Assumed to be the same asmarketing_flight_number if not set.
[0-9]{1,4}fare_brandName of the brand for the fare of the slice.
alternative_faresA list of alternative fares which were also available to the user in the same cabin.
Show fields
amountPrice of the fare.
brandName of the brand for this fare.
fare_rulesThe fare rules for the slice detailing cancel and change policies with associated penalties and refund methods. Fare rules which are not sent are assumed to be unknown.
Show fields
cancelThe cancel policy for the slice.
Show fields
before_departurePolicy that applies before the flight departure time.
Show fields
after_departurePolicy that applies after the flight departure time.
Show fields
anytimePolicy that applies regardless of timing relative to departure.
Show fields
changeThe change policy for the slice.
Show fields
before_departurePolicy that applies before the flight departure time.
Show fields
after_departurePolicy that applies after the flight departure time.
Show fields
anytimePolicy that applies regardless of timing relative to departure.
Show fields
void_policyThe void policy for the slice, describing whether and how long a booking can be voided after purchase. If not specified, the void policy is unknown.
Show fields
The void policy for the slice, describing whether and how long a booking can be voided after purchase. If not specified, the void policy is unknown.
type:allowed (allowed) allowed
typevalue: allowed
allowed_for (allowed_for) allowed_for
typevalue: allowed_for
durationThe duration after booking during which the booking can be voided, as an ISO 8601 duration.
allowed_until (allowed_until) allowed_until
typevalue: allowed_until
expires_atThe point in time until which the booking can be voided, as a UTC RFC3339 formatted datetime.
not_allowed (not_allowed) not_allowed
typevalue: not_allowed
passengersList of passengers on the itinerary.
Show fields
typeType of passenger:
* adult - 12+ years of age
* child - 2-11 years of age
* seated_infant - < 2 years of age, in their own seat
* lap_infant - < 2 years of age, not in their own seat
adultchildseated_infantlap_infantfare_amountTotal price of the fare for this passenger
booking_references{
"type": "string",
"id": "string",
"contract_id": "string",
"payouts": [
{
"type": "string",
"payout": {
"type": "alternate_payment_method",
"amount": "173.24"
}
}
]
}