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 for whom accounts are collected in this session.
- account_holder.
accountnullable stringExpandable The ID of the Stripe account this account belongs to. Should only be present if
account_
isholder. type account
. - account_holder.
customernullable stringExpandable ID of the Stripe customer this account belongs to. Present if and only if
account_
isholder. type customer
. - account_holder.
typeenum Type of account holder that this account belongs to.
Possible enum valuesaccount
Account holder is a Stripe account object.
customer
Account holder is a Stripe customer object.
- accountsobject
The accounts that were collected as part of this Session.
- accounts.
objectstring String representing the object’s type. Objects of the same type share the same value. Always has the value
list
. - accounts.
dataarray of objects Details about each object.
- accounts.
data. idstring Unique identifier for the object.
- accounts.
data. objectstring String representing the object’s type. Objects of the same type share the same value.
- accounts.
data. account_ holdernullable object The account holder that this account belongs to.
- accounts.
data. account_holder. accountnullable stringExpandable The ID of the Stripe account this account belongs to. Should only be present if
account_
isholder. type account
. - accounts.
data. account_holder. customernullable stringExpandable ID of the Stripe customer this account belongs to. Present if and only if
account_
isholder. type customer
. - accounts.
data. account_holder. typeenum Type of account holder that this account belongs to.
Possible enum valuesaccount
Account holder is a Stripe account object.
customer
Account holder is a Stripe customer object.
- accounts.
data. balancenullable object The most recent information about the account’s balance.
- accounts.
data. balance. as_ oftimestamp The time that the external institution calculated this balance. Measured in seconds since the Unix epoch.
- accounts.
data. balance. cashnullable object Information on a
cash
balance. Only set ifbalance.
istype cash
.- accounts.
data. balance. cash. availablenullable object The funds available to the account holder. Typically this is the current balance after subtracting any outbound pending transactions and adding any inbound pending transactions.
Each key is a three-letter ISO currency code, in lowercase.
Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
- accounts.
data. balance. creditnullable object Information on a
credit
balance. Only set ifbalance.
istype credit
.- accounts.
data. balance. credit. usednullable object The credit that has been used by the account holder.
Each key is a three-letter ISO currency code, in lowercase.
Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
- accounts.
data. balance. currentobject The balances owed to (or by) the account holder, before subtracting any outbound pending transactions or adding any inbound pending transactions.
Each key is a three-letter ISO currency code, in lowercase.
Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
- accounts.
data. balance. typeenum The
type
of the balance. An additional hash is included on the balance with a name matching this value.Possible enum valuescash
Account balance is a cash balance
credit
Account balance is a credit balance
- accounts.
data. balance_ refreshnullable object The state of the most recent attempt to refresh the account balance.
- accounts.
data. balance_refresh. last_ attempted_ attimestamp The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.
- accounts.
data. balance_refresh. next_ refresh_ available_ atnullable timestamp Time at which the next balance refresh can be initiated. This value will be
null
whenstatus
ispending
. Measured in seconds since the Unix epoch. - accounts.
data. balance_refresh. statusenum The status of the last refresh attempt.
Possible enum valuesfailed
The last balance refresh attempt failed.
pending
The last balance refresh attempt is pending.
succeeded
The last balance refresh attempt succeeded.
- accounts.
data. 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.
- accounts.
data. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- accounts.
data. display_ namenullable string A human-readable name that has been assigned to this account, either by the account holder or by the institution.
- accounts.
data. institution_ namestring The name of the institution that holds this account.
- accounts.
data. last4nullable string The last 4 digits of the account number. If present, this will be 4 numeric characters.
- accounts.
data. livemodeboolean Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - accounts.
data. ownershipnullable stringExpandable The most recent information about the account’s owners.
- accounts.
data. ownership_ refreshnullable object The state of the most recent attempt to refresh the account owners.
- accounts.
data. ownership_refresh. last_ attempted_ attimestamp The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.
- accounts.
data. ownership_refresh. next_ refresh_ available_ atnullable timestamp Time at which the next ownership refresh can be initiated. This value will be
null
whenstatus
ispending
. Measured in seconds since the Unix epoch. - accounts.
data. ownership_refresh. statusenum The status of the last refresh attempt.
Possible enum valuesfailed
The last ownership refresh attempt failed.
pending
The last ownership refresh attempt is pending.
succeeded
The last ownership refresh attempt succeeded.
- accounts.
data. 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.
- accounts.
data. 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.
- accounts.
data. 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.
- accounts.
data. 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.
- accounts.
data. 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 - accounts.
data. transaction_ refreshnullable object The state of the most recent attempt to refresh the account transactions.
- accounts.
data. transaction_refresh. idstring Unique identifier for the object.
- accounts.
data. transaction_refresh. last_ attempted_ attimestamp The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.
- accounts.
data. transaction_refresh. next_ refresh_ available_ atnullable timestamp Time at which the next transaction refresh can be initiated. This value will be
null
whenstatus
ispending
. Measured in seconds since the Unix epoch. - accounts.
data. transaction_refresh. statusenum The status of the last refresh attempt.
Possible enum valuesfailed
The last transaction refresh attempt failed.
pending
The last transaction refresh attempt is pending.
succeeded
The last transaction refresh attempt succeeded.
- accounts.
has_ moreboolean True if this list has another page of items after this one that can be fetched.
- accounts.
urlstring The URL where this list can be accessed.
- client_
secretstring A value that will be passed to the client to launch the authentication flow.
- filtersnullable object
Filters applied to this session that restrict the kinds of accounts to collect.
- filters.
account_ subcategoriesnullable array of enums Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are:
checking
,savings
,mortgage
,line_
,of_ credit credit_
.card 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.
savings
The account is a savings account.
- filters.
countriesnullable array of strings List of countries from which to filter accounts.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - permissionsarray of enums
Permissions requested for accounts collected during this session.
Possible enum valuesbalances
Requests access for balance data on accounts collected in this session.
ownership
Requests access for ownership data on accounts collected in this session.
payment_
method Requests permission for the creation of a payment method from an account collected in this session.
transactions
Requests access for transaction data on accounts collected in this session.
- prefetchnullable array of enums
Data features requested to be retrieved upon account creation.
Possible enum valuesbalances
Requests to prefetch balance data on accounts collected in this session.
ownership
Requests to prefetch ownership data on accounts collected in this session.
transactions
Requests to prefetch transaction data on accounts collected in this session.
- return_
urlnullable string For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
{ "id": "fcsess_1MwtnGLkdIwHu7ixs7NPQ7dq", "object": "financial_connections.session", "account_holder": { "customer": "cus_NiKSWdaFz2F6I0", "type": "customer" }, "accounts": { "object": "list", "data": [], "has_more": false, "total_count": 0, "url": "/v1/financial_connections/accounts" }, "client_secret": "fcsess_client_secret_KRJTKvCY3IKoYTrW18EazcO3", "filters": { "countries": [ "US" ] }, "livemode": false, "permissions": [ "balances", "payment_method" ]}