List connected accounts
Returns a page of the company's connected accounts, newest first. A connected account is the link between one of the company's bank accounts and the payment processor MagicDoor runs, and it is what lets money settle to that bank account. Accounts held with any other processor are not returned. Requires the connected_accounts:read permission.
Authorization
AuthorizationstringrequiredQuery parameters
pageintegerWhich page to return. The first page is 1.
pageSizeintegerHow many items to return per page. Between 1 and 100.
idsstring[]Return only these connected accounts. Repeat the parameter once per id. Sending the parameter with no value is rejected.
bankAccountIdsstring[]Return only the connected accounts that settle to these company bank accounts. Repeat the parameter once per id. Sending the parameter with no value is rejected.
statusesenum<string>[]Return only accounts in these states. Repeat the parameter once per value. Sending the parameter with no value is rejected.
Response
200 · A page of connected accounts.
itemsConnectedAccount[]requiredThis page of results, newest first.
totalCountintegerrequiredHow many items match the filter across every page.
totalPagesintegerrequiredHow many pages the result set has at this page size.
pageintegerrequiredThe page that was returned.
pageSizeintegerrequiredHow many items were asked for per page.