API reference

HTS APIs

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

Schema

payment_transaction

A payment transaction associated with the booking.

Fields

amount
string
required

Monetary amount of the transaction.

Range ≥ 0
date_time
string · date-time
required

ISO 8601 timestamp when the transaction occurred.

transaction_type
string enum
required

Whether this transaction is a charge or refund.

Values user_chargeuser_refund
payment_type
string enum
required

The payment method used for this transaction.

Values payment_cardnot_provided
Example
{
  "amount": "150.00",
  "date_time": "2024-06-15T10:30:00Z",
  "transaction_type": "user_charge",
  "payment_type": "payment_card"
}