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
amountstring
required
Monetary amount of the transaction.
Range ≥ 0
date_timestring · date-time
required
ISO 8601 timestamp when the transaction occurred.
transaction_typestring enum
required
Whether this transaction is a charge or refund.
Values
user_chargeuser_refundpayment_typestring enum
required
The payment method used for this transaction.
Values
payment_cardnot_providedExample
{
"amount": "150.00",
"date_time": "2024-06-15T10:30:00Z",
"transaction_type": "user_charge",
"payment_type": "payment_card"
}