v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-2684278289.5 KB
Treasury

Get all treasury accounts

Retrieve a paginated list of all treasury accounts associated with the authenticated organization. Use cursor parameters (start_after, end_before) for pagination.

get/treasury

Query parameters

limitinteger

Maximum number of results to return. Allowed range: 1 to 1000. Defaults to 1000

start_afterstring uuid

The ID of the account to start the page after (exclusive). When provided, results will begin with the account immediately following this ID. Use this for standard forward pagination to get the next page of results. Cannot be combined with end_before.

end_beforestring uuid

The ID of the account to end the page before (exclusive). When provided, results will end just before this ID and work backwards. Use this for reverse pagination or to retrieve previous pages. Cannot be combined with start_after.

order'asc' | 'desc'

Sort order. Can be 'asc' or 'desc'. Defaults to 'asc'

Response

Example response

{
  "accounts": [
    {
      "createdAt": "2016-07-22T00:00:00Z",
      "netReturns": [
        {
          "month": "2016-07-22"
        }
      ]
    }
  ]
}