A Financial Connections Account represents an account that exists outside of Stripe, to which you have been granted some degree of access.
Attributes
- idstring
Unique identifier for the object.
- objectstring
String representing the object’s type. Objects of the same type share the same value.
- account_
holdernullable object The account holder that this account belongs to.
- balancenullable object
The most recent information about the account’s balance.
- balance_
refreshnullable object The state of the most recent attempt to refresh the account balance.
- categoryenum
The type of the account. Account category is further divided in
subcategory
.Possible enum valuescash
The account represents real funds held by the institution (e.g. a checking or savings account).
credit
The account represents credit extended by the institution (e.g. a credit card or mortgage).
investment
The account represents investments, or any account where there are funds of unknown liquidity.
other
The account does not fall under the other categories.
- createdtimestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
- display_
namenullable string A human-readable name that has been assigned to this account, either by the account holder or by the institution.
- institution_
namestring The name of the institution that holds this account.
- last4nullable string
The last 4 digits of the account number. If present, this will be 4 numeric characters.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - ownershipnullable stringExpandable
The most recent information about the account’s owners.
- ownership_
refreshnullable object The state of the most recent attempt to refresh the account owners.
- permissionsnullable array of enums
The list of permissions granted by this account.
Possible enum valuesbalances
Allows accessing balance data from the account.
ownership
Allows accessing ownership data from the account.
payment_
method Allows the creation of a payment method from the account.
transactions
Allows accessing transactions data from the account.
- statusenum
The status of the link to the account.
Possible enum valuesactive
Stripe is able to retrieve data from the Account without issues.
disconnected
Account connection has been terminated through the disconnect API or an end user request.
inactive
Stripe cannot retrieve data from the Account.
- subcategoryenum
If
category
iscash
, one of:checking
savings
other
If
category
iscredit
, one of:mortgage
line_
of_ credit credit_
card other
If
category
isinvestment
orother
, this will beother
.Possible enum valueschecking
The account is a checking account.
credit_
card The account represents a credit card.
line_
of_ credit The account represents a line of credit.
mortgage
The account represents a mortgage.
other
The account does not fall under any of the other subcategories.
savings
The account is a savings account.
- subscriptionsnullable array of enums
The list of data refresh subscriptions requested on this account.
Possible enum valuestransactions
Subscribes to periodic transactions data refreshes from the account.
- supported_
payment_ method_ typesarray of enums The PaymentMethod type(s) that can be created from this account.
Possible enum valueslink
A
link
PaymentMethod can be created.us_
bank_ account A
us_
PaymentMethod can be created.bank_ account - transaction_
refreshnullable object The state of the most recent attempt to refresh the account transactions.
{ "id": "fca_1MwVK82eZvKYlo2Cjw8FMxXf", "object": "linked_account", "account_holder": { "customer": "cus_9s6XI9OFIdpjIg", "type": "customer" }, "balance": null, "balance_refresh": null, "category": "cash", "created": 1681412208, "display_name": "Sample Checking Account", "institution_name": "StripeBank", "last4": "6789", "livemode": false, "ownership": null, "ownership_refresh": null, "permissions": [], "status": "active", "subcategory": "checking", "subscriptions": [], "supported_payment_method_types": [ "us_bank_account" ], "transaction_refresh": null}
Retrieves the details of an Financial Connections Account
.
Parameters
No parameters.
Returns
Returns an Account
object if a valid identifier was provided, and raises an error otherwise.
{ "id": "fca_1MwVK82eZvKYlo2Cjw8FMxXf", "object": "linked_account", "account_holder": { "customer": "cus_9s6XI9OFIdpjIg", "type": "customer" }, "balance": null, "balance_refresh": null, "category": "cash", "created": 1681412208, "display_name": "Sample Checking Account", "institution_name": "StripeBank", "last4": "6789", "livemode": false, "ownership": null, "ownership_refresh": null, "permissions": [], "status": "active", "subcategory": "checking", "subscriptions": [], "supported_payment_method_types": [ "us_bank_account" ], "transaction_refresh": null}
Returns a list of Financial Connections Account
objects.
Parameters
- account_
holderobject If present, only return accounts that belong to the specified account holder.
account_
andholder[customer] account_
are mutually exclusive.holder[account] - sessionstring
If present, only return accounts that were collected as part of the given session.
More parameters
- ending_
beforestring - limitinteger
- starting_
afterstring
Returns
A dictionary with a data
property that contains an array of up to limit
Account
objects, starting after account starting_
. Each entry in the array is a separate Account
object. If no more accounts are available, the resulting array will be empty. This request will raise an error if more than one of account_
, account_
, or session
is specified.
{ "object": "list", "url": "/v1/financial_connections/accounts", "has_more": false, "data": [ { "id": "fca_1MwVK82eZvKYlo2Cjw8FMxXf", "object": "linked_account", "account_holder": { "customer": "cus_9s6XI9OFIdpjIg", "type": "customer" }, "balance": null, "balance_refresh": null, "category": "cash", "created": 1681412208, "display_name": "Sample Checking Account", "institution_name": "StripeBank", "last4": "6789", "livemode": false, "ownership": null, "ownership_refresh": null, "permissions": [], "status": "active", "subcategory": "checking", "subscriptions": [], "supported_payment_method_types": [ "us_bank_account" ], "transaction_refresh": null } ]}
Disables your access to a Financial Connections Account
. You will no longer be able to access data associated with the account (e.g. balances, transactions).
Parameters
No parameters.
Returns
Returns an Account
object if a valid identifier was provided, and raises an error otherwise.
{ "id": "fca_1MwVK82eZvKYlo2Cjw8FMxXf", "object": "linked_account", "account_holder": { "customer": "cus_9s6XI9OFIdpjIg", "type": "customer" }, "balance": null, "balance_refresh": null, "category": "cash", "created": 1681412208, "display_name": "Sample Checking Account", "institution_name": "StripeBank", "last4": "6789", "livemode": false, "ownership": null, "ownership_refresh": null, "permissions": [], "status": "disconnected", "subcategory": "checking", "subscriptions": [], "supported_payment_method_types": [ "us_bank_account" ], "transaction_refresh": null}