API reference

HTS APIs

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

Schema

status1

Current status of the booking.

Fields

Current status of the booking.

Exactly one of the following, selected by type:
confirmed (confirmed) confirmed
type
string
required

value: confirmed

failed (failed) failed
type
string
required

value: failed

error
string
required

Error message describing why the booking failed.

Length ≥ 1
pending (pending) pending
type
string
required

value: pending

Example
{
  "type": "string"
}