v3

latestOpenAPI 3.0.3Apache 2.02026-07-312637031.3 MB
Internal Accounts

List internal accounts

Returns a list of all internal accounts.

get/internal_accounts

Query parameters

page_tokenstring

Optional pagination token to be provided to retrieve subsequent pages, returned from previous get

Example:a8937a0d
limitinteger

Maximum number of objects to return per page. If the limit is greater than 100, then it will be set to 100.

Example:100
sort_bystring

Optional sort by query parameter. The direction is delimited by ':' and multiple sort fields are delimited by ','

Example:account_id:desc,name:asc
idstring[]

Internal account ID(s). Multiple IDs can be provided as a comma-separated list.

Response

List of internal accounts

next_page_tokenstring

If returned, use the next_page_token to query for the next page of results. Not returned if there are no more rows.

Example response

{
  "internal_accounts": [
    {
      "tenant": "abcdef_ghijkl",
      "balances": [
        {
          "balance": 2399
        }
      ],
      "creation_time": "2010-05-06T12:23:34.321Z",
      "currency": "USD",
      "last_updated_time": "2010-05-06T12:23:34.321Z"
    }
  ],
  "next_page_token": "a8937a0d"
}