Skip to main content
GET
List Gains

Authorizations

Api-Access-Key
string
header
required

An API key associated with a security role

Path Parameters

subaccountId
string
required

The ID of the subaccount

Query Parameters

startDateTime
string<date-time>
required

ISO-8601 formatted date as a filter start date.

endDateTime
string<date-time>
required

ISO-8601 formatted date as a filter end date.

Response

Successfully returned the gains

data
TaxGains · object
required

Breakdown of tax gains into short term, long term and total

Example: