GET
/v1/accounts/{account}/external_accountsList external accounts
Lists the external accounts attached to a connected account. Results can include bank accounts and cards, and you can filter them by object type. Use cursor parameters to retrieve adjacent pages and limit to control the page size.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
accountstringrequired
The connected account identifier. Maximum 5000 characters.
ending_beforestringoptional
An object identifier that marks the end of the current page; use it to retrieve the previous page.
expandarray<string>optional
Fields to expand in the response; each field name can be up to 5000 characters.
limitintegeroptional
The number of external accounts to return, from 1 to 100. Defaults to 10 when omitted.
objectstringoptional
Filters results by external account type: `bank_account` or `card`.
starting_afterstringoptional
An object identifier that marks the start of the current page; use it to retrieve the next page.
200Returns a list object containing external bank accounts and cards in `data`, a `has_more` pagination flag, the `list` object type, and the list URL.
dataarray<Polymorphic>required
The list contains all external accounts that have been attached to the Stripe account. These may be bank accounts or cards.
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
urlstringrequired
The URL where this list can be accessed.
defaultError response.
errorobjectrequired
Error handling
account must be no longer than 5000 characters and must identify the account whose external accounts you want to list. object must be bank_account or card, and limit must be between 1 and 100 when provided. Use starting_after or ending_before with an object identifier to navigate the list.