API reference

HTS APIs

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

Schema

void_contract_request

Fields

reason
reason · one of 4
required

Explanation for why this void occurred.

Show fields

Explanation for why this void occurred.

Exactly one of the following, selected by type:
good_will (good_will) good_will
type
string
required

value: good_will

not_purchased (not_purchased) not_purchased
type
string
required

value: not_purchased

other (other1) other1
type
string
required

value: other

reason
string
required

Human-readable explanation for why this void was performed.

Length ≥ 1
void_window (void_window) void_window
type
string
required

value: void_window

Used by

PUT/contracts/{id}/voidVoid Contract
Example
{
  "reason": {
    "type": "string"
  }
}