API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

passenger

A passenger on the booking.

Fields

passenger_type
string
required

Type of passenger (e.g. adult, child, lap_infant, seated_infant).

fare_amount
string
required

The fare amount for this passenger.

Range ≥ 0
ancillaries
array of ancillary1

Optional ancillary purchases for this passenger.

Show fields
Array of ancillary1 · Optional ancillary purchases for this passenger.
amount
string
required

Monetary amount of the ancillary.

Range ≥ 0
code
string
required

Code identifying the type of ancillary.

id
string

A non-PII identifier generated by the partner that uniquely identifies a passenger within the booking and remains stable for the life of the booking.

Length ≥ 1
Example
{
  "passenger_type": "string",
  "fare_amount": "250.00",
  "ancillaries": [
    {
      "amount": "25.00",
      "code": "string"
    }
  ],
  "id": "passenger-id-1"
}