API reference

HTS APIs

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

Schema

mileage_policy

Defines the vehicle's mileage allowance and any associated overage charges.

Fields

Defines the vehicle's mileage allowance and any associated overage charges.

Exactly one of the following, selected by type:
Variant 1 object
type
string enum
required

The type of mileage policy.

Values unlimited
Variant 2 object
type
string enum
required

The type of mileage policy.

Values limited
quantity
integer
required

The numerical value of the included mileage.

unit
string enum
required

The unit of distance for the included mileage.

Values mikm
Variant 3 object
type
string enum
required

The type of mileage policy when mileage is limited but specifics are not provided.

Values limited_unspecified
Example
{
  "type": "unlimited"
}