Sample - Stripe API
GET/v1/treasury/financial_accounts

List financial accounts

Lists FinancialAccounts available to the authenticated user. Use status and created to filter results, and use cursor parameters with limit to paginate the list.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

6 parameters
createdobjectoptional
Filters FinancialAccounts by creation time using a timestamp or a range with `gt`, `gte`, `lt`, or `lte`.
ending_beforestringoptional
An object ID cursor that returns records before the specified position.
expandarray<string>optional
Fields to expand in each response object; each field name must not exceed 5,000 characters.
limitintegeroptional
The number of FinancialAccounts to return, from 1 to 100. Defaults to 10 when omitted.
starting_afterstringoptional
An object ID cursor that returns records after the specified position.
statusstringoptional
Filters FinancialAccounts by status: `closed` or `open`.
Allowed:closedopen

2 status codes
200Returns a paginated list object containing FinancialAccount objects in `data`, a `has_more` indicator, the list object type, and the list URL.
dataarray<FinancialAccount>required
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

limit must be between 1 and 100 and defaults to 10 when omitted. status must be closed or open; ending_before and starting_after must identify valid pagination positions.