Retrieve a list of virtual accounts under an account. The virtual accounts are returned in an array, with each item representing a virtual account under that account.
The primary account will also be returned as a virtual account, with an account type of 'primary' while actual subaccounts under the primary account will have an account type of 'default'.
Query parameters
A cursor string to fetch the next page of results
Pass in an account ID to filter virtual accounts by account ID. This will return all virtual accounts that match the account ID passed in.
Include virtual accounts that have been closed in the query results. By default, they will not be returned.
Response
OK
Changes
Changed in 1 of the 2 revisions of this API.22
- ▲
removed the enum value
falsefrom thequeryrequest parameterfilter:includeClosedAccountsrequest-parameter-enum-value-removed
- ▲
removed the enum value
truefrom thequeryrequest parameterfilter:includeClosedAccountsrequest-parameter-enum-value-removed
- ○
added the new enum value
falseto thequeryrequest parameterfilter:includeClosedAccountsrequest-parameter-enum-value-added
- ○
added the new enum value
trueto thequeryrequest parameterfilter:includeClosedAccountsrequest-parameter-enum-value-added
- ▲