API reference

HTS APIs

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

Schema

pricing

The car rental pricing details. The base + fee_summary.total = total price. The pay_now + pay_later = total price. The fees are not itemized by payments schedule (pay now vs pay later).

Fields

base
object
required

The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
fee_summary
object
required

An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.

Show fields
fees
array of object
required
Show fields
Array of object
description
string
required

A description of the fee or tax.

line_item
object
required

The amount and currency for a chargeable item.

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
total
object
required

The total amount for all fees and taxes.

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
pay_now
object
required

The total amount to be paid at the time of booking.

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
pay_later
object
required

The total amount to be paid at a later time (usually at the desk).

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
Example
{
  "base": {
    "currency": "USD",
    "amount": "123.45"
  },
  "fee_summary": {
    "fees": [
      {
        "description": "string",
        "line_item": {
          "currency": "USD",
          "amount": "123.45"
        }
      }
    ],
    "total": {
      "currency": "USD",
      "amount": "123.45"
    }
  },
  "pay_now": {
    "currency": "USD",
    "amount": "123.45"
  },
  "pay_later": {
    "currency": "USD",
    "amount": "123.45"
  }
}