API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
synthetic_fare_passengers
Fields
typestring enum
required
Type 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
Values
adultchildseated_infantlap_infantfare_amountstring
required
Total price of the fare for this passenger
Range ≥ 0
countinteger · int32
The count of passengers for the given type. If not provided, the count will be defaulted to 1.
Default
1fare_amount_modificationsarray of fare_amount_modification
Modifications to the fare amount, which change how much a customer is charged. Add each fare modification to the fare amount to get the total fare amount the customer will be charged.
Items ≥ 1
Show fields
Array of fare_amount_modification · Modifications to the fare amount, which change how much a customer is charged. Add each fare modification to the fare amount to get the total fare amount the customer will be charged.
Items ≥ 1
amountstring
required
Amount of the modification.
reasonstring
required
Reason for the modification being applied to the fare amount.
Length ≥ 1
Example
{
"type": "adult",
"fare_amount": "140.56",
"count": 1,
"fare_amount_modifications": [
{
"amount": "10.00",
"reason": "points conversion"
}
]
}