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

Fields

events
array of dafar_contract_status_history_event
required

The historical list of status events for a contract.

Items ≥ 1
Show fields
Array of dafar_contract_status_history_event · The historical list of status events for a contract.
Items ≥ 1
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.

Used by

GET/contracts/{id}/status_historyGet Contract Status History
Example
{
  "events": [
    {
      "status": "Confirmed",
      "description": "Policy purchased",
      "monetary_transaction": {
        "amount": "string",
        "currency": "CAD"
      },
      "occurred_at": "2024-12-20T12:15:48Z"
    }
  ]
}