pub struct FinancialConnectionsSession {
pub account_holder: Option<BankConnectionsResourceAccountholder>,
pub accounts: List<FinancialConnectionsAccount>,
pub client_secret: String,
pub filters: Option<BankConnectionsResourceLinkAccountSessionFilters>,
pub id: FinancialConnectionsSessionId,
pub livemode: bool,
pub permissions: Vec<FinancialConnectionsSessionPermissions>,
pub prefetch: Option<Vec<FinancialConnectionsSessionPrefetch>>,
pub return_url: Option<String>,
}
Expand description
A Financial Connections Session is the secure way to programmatically launch the client-side Stripe.js modal that lets your users link their accounts.
For more details see <https://stripe.com/docs/api/financial_connections/sessions/object>.
Fields§
§account_holder: Option<BankConnectionsResourceAccountholder>
The account holder for whom accounts are collected in this session.
accounts: List<FinancialConnectionsAccount>
The accounts that were collected as part of this Session.
client_secret: String
A value that will be passed to the client to launch the authentication flow.
filters: Option<BankConnectionsResourceLinkAccountSessionFilters>
§id: FinancialConnectionsSessionId
Unique identifier for the object.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
permissions: Vec<FinancialConnectionsSessionPermissions>
Permissions requested for accounts collected during this session.
prefetch: Option<Vec<FinancialConnectionsSessionPrefetch>>
Data features requested to be retrieved upon account creation.
return_url: Option<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.
Trait Implementations§
Source§impl Clone for FinancialConnectionsSession
impl Clone for FinancialConnectionsSession
Source§fn clone(&self) -> FinancialConnectionsSession
fn clone(&self) -> FinancialConnectionsSession
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more