API reference

HTS APIs

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

Schema

user_payouts_request

Fields

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

value: by_contracts

contract_ids
array of string
required
Items ≥ 1
full_order (full_order) full_order
type
string
required

value: full_order

Used by

POST/orders/{id}/user_projected_payoutsGet User Projected Payouts
Example
{
  "type": "string",
  "contract_ids": [
    "string"
  ]
}