API reference

HTS APIs

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

Schema

unprocessable_entity_dafar_create_draft_contract_error

Fields

Array of dafar_create_draft_contract_error · one of 6
Items ≥ 1
Exactly one of the following, selected by code:
idempotency_key_reused (idempotency_key_reused) idempotency_key_reused
message
string
required

A human-readable message describing the error

code
string
required
invalid_email (invalid_email) invalid_email
message
string
required

A human-readable message describing the error

code
string
required
offer_not_found (offer_not_found2) offer_not_found2
message
string
required

A human-readable message describing the error

code
string
required
order_already_exists (order_already_exists) order_already_exists
message
string
required

A human-readable message describing the error

code
string
required
payment_authorization_failure (payment_authorization_failure) payment_authorization_failure
message
string
required

A human-readable message describing the error

code
string
required
unsupported_trip_type (unsupported_trip_type) unsupported_trip_type
message
string
required

A human-readable message describing the error

code
string
required

Used by

POST/contractsCreate Draft Contract
Example
[
  {
    "message": "string",
    "code": "string"
  }
]