API reference

HTS APIs

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

Schema

order_change_confirm_request

Fields

token
string
required

The token from the chosen offer returned by orderReshop Phase 2

Length ≤ 1024 · Example eyJhbGciOiJIUzI1NiJ9...
payment
payment · one of 2

Payment details for the booking.

Show fields

Payment details for the booking.

Exactly one of the following, selected by type:
balance (balance_payment) balance_payment
type
string enum
required

Payment method type discriminator

Values balance
spreedly (spreedly_payment) spreedly_payment
type
string enum
required

Payment method type discriminator

Values spreedly
token
string
required

Payment method token issued by the Spreedly vault.

Length ≥ 1

Used by

POST/orderChangeConfirm flight exchange
Example
{
  "token": "eyJhbGciOiJIUzI1NiJ9...",
  "payment": {
    "type": "balance"
  }
}