List virtual accounts
Changed onList accessible balance-bearing virtual accounts for the selected legal entity across all of its Accounts. Use accountId to select one Account. Virtual accounts in eligible bank Accounts can be used as fromAccount or toAccount; Global USD virtual accounts are read-only on API v2 transfer endpoints.
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/virtual-accounts
- AuthAPI key in header X-API-Key
Query parameters
The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.
Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.
Field to order the page by. createdAt is descending unless sortDirection is passed. See Sorting.
Direction of the ordering selected by sort. When omitted, each sort value uses its own default; see Sorting.
Return virtual accounts in one accessible Account.
Include closed virtual accounts. Defaults to false.
Response
A page of virtual accounts.
Example response
{
"items": [
{
"commission": {
"amount": {
"amount": 1250
}
}
}
]
}Changes
- info
endpoint added
- info