API reference

HTS APIs

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

Schema

cancel_contract_request

Fields

reason
reason1 · one of 2
required

Explanation for why this cancellation occurred.

Show fields

Explanation for why this cancellation occurred.

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

value: chargeback

other (other2) other2
type
string
required

value: other

reason
string
required

Human-readable explanation for why this policy cancellation was performed.

Length ≥ 1

Used by

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