subAccounts

List sub-accounts

Lists sub-accounts owned by the caller, newest first. q performs a case-insensitive substring search on name only; percent and underscore characters are treated literally.

get/v1/sub_accounts

Query parameters

qstring

Case-insensitive name substring

enabled'true' | 'false'

Filter by active or inactive sub-accounts

pageinteger

Page number, from 1 through 65,535

per_pageinteger

Items per page, from 1 through 100

sort_by'created_at'

Accepted sort field; results are currently returned newest first

sort_order'asc' | 'desc'

Accepted sort direction; results are currently returned newest first

Headers

Authorizationstring required

Bearer authentication

Response

sub-accounts list

objectstring required
has_moreboolean required
total_countinteger

Changes

Changed in 1 of the 9 revisions of this API.1