View Source Stripe.FinancialConnections.Account (stripity_stripe v3.2.0)
A Financial Connections Account represents an account that exists outside of Stripe, to which you have been granted some degree of access.
Summary
Functions
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).
Returns a list of Financial Connections Account objects.
Lists all owners for a given Account
Refreshes the data associated with a Financial Connections Account.
Retrieves the details of an Financial Connections Account.
Subscribes to periodic refreshes of data associated with a Financial Connections Account.
Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.
Types
@type t() :: %Stripe.FinancialConnections.Account{ account_holder: term() | nil, balance: term() | nil, balance_refresh: term() | nil, category: binary(), created: integer(), display_name: binary() | nil, id: binary(), institution_name: binary(), last4: binary() | nil, livemode: boolean(), object: binary(), ownership: (binary() | term()) | nil, ownership_refresh: term() | nil, permissions: term() | nil, status: binary(), subcategory: binary(), subscriptions: term() | nil, supported_payment_method_types: term(), transaction_refresh: term() | nil }
The financial_connections.account type.
account_holderThe account holder that this account belongs to.balanceThe most recent information about the account's balance.balance_refreshThe state of the most recent attempt to refresh the account balance.categoryThe type of the account. Account category is further divided insubcategory.createdTime at which the object was created. Measured in seconds since the Unix epoch.display_nameA human-readable name that has been assigned to this account, either by the account holder or by the institution.idUnique identifier for the object.institution_nameThe name of the institution that holds this account.last4The last 4 digits of the account number. If present, this will be 4 numeric characters.livemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.objectString representing the object's type. Objects of the same type share the same value.ownershipThe most recent information about the account's owners.ownership_refreshThe state of the most recent attempt to refresh the account owners.permissionsThe list of permissions granted by this account.statusThe status of the link to the account.subcategoryIfcategoryiscash, one of:
checkingsavingsother
If category is credit, one of:
mortgageline_of_creditcredit_cardother
If category is investment or other, this will be other.
subscriptionsThe list of data refresh subscriptions requested on this account.supported_payment_method_typesThe PaymentMethod type(s) that can be created from this account.transaction_refreshThe state of the most recent attempt to refresh the account transactions.
Functions
@spec disconnect( account :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
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).
Details
- Method: 
post - Path: 
/v1/financial_connections/accounts/{account}/disconnect 
@spec list( params :: %{ optional(:account_holder) => account_holder(), optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:session) => binary(), optional(:starting_after) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Returns a list of Financial Connections Account objects.
Details
- Method: 
get - Path: 
/v1/financial_connections/accounts 
@spec list_owners( account :: binary(), params :: %{ optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:ownership) => binary(), optional(:starting_after) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(Stripe.FinancialConnections.AccountOwner.t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Lists all owners for a given Account
Details
- Method: 
get - Path: 
/v1/financial_connections/accounts/{account}/owners 
@spec refresh( account :: binary(), params :: %{ optional(:expand) => [binary()], optional(:features) => [:balance | :ownership | :transactions] }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Refreshes the data associated with a Financial Connections Account.
Details
- Method: 
post - Path: 
/v1/financial_connections/accounts/{account}/refresh 
@spec retrieve( account :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves the details of an Financial Connections Account.
Details
- Method: 
get - Path: 
/v1/financial_connections/accounts/{account} 
@spec subscribe( account :: binary(), params :: %{ optional(:expand) => [binary()], optional(:features) => [:transactions] }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Subscribes to periodic refreshes of data associated with a Financial Connections Account.
Details
- Method: 
post - Path: 
/v1/financial_connections/accounts/{account}/subscribe 
@spec unsubscribe( account :: binary(), params :: %{ optional(:expand) => [binary()], optional(:features) => [:transactions] }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.
Details
- Method: 
post - Path: 
/v1/financial_connections/accounts/{account}/unsubscribe