GET/v1/accounts/{account}/external_accounts

List all external accounts

Lists all external accounts (bank accounts and cards) attached to a connected account. External accounts are transfer destinations for payouts and other operations. Results can be filtered by account type and paginated using cursor-based pagination.

6 parameters
accountstringrequired

The unique identifier of the account whose external accounts to list.

ending_beforestringoptional

A cursor for use in pagination. Pass an object ID to fetch the previous page of results.

expandarray<string>optional

Specifies which fields in the response should be expanded.

limitintegeroptional

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

objectstringoptional

Filter external accounts by type: bank_account or card.

Allowed:bank_accountcard
starting_afterstringoptional

A cursor for use in pagination. Pass an object ID to fetch the next page of results.

2 status codes
200Returns a paginated list of external account objects (bank accounts and cards) attached to the account.
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.

Allowed:list
urlstringrequired

The URL where this list can be accessed.

defaultError response.
errorobjectrequired

Error handling

account must identify an existing connected account. limit must be a positive integer between 1 and 100 if provided. object must be either bank_account or card if provided.