API reference

HTS APIs

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

Schema

dafar_contract_status_history_event

Fields

status
string enum
required

The contract status associated with the event.

Values canceledconfirmeddraftedexercise_eligibleexpiredexercisedvoided
description
string
required

Human-readable description of the status event.

Length ≥ 1
occurred_at
string · date-time
required

Date and time when the status event occurred, as a UTC RFC3339 formatted datetime.

monetary_transaction
monetary_transaction

The money exchanged as a part of the status event, if applicable.

Show fields
amount
string
required

The amount of the monetary transaction.

currency
string
required

The currency of the monetary transaction.

Example
{
  "status": "Confirmed",
  "description": "Policy purchased",
  "monetary_transaction": {
    "amount": "string",
    "currency": "CAD"
  },
  "occurred_at": "2024-12-20T12:15:48Z"
}