FinancialConnectionsSheet
final public class FinancialConnectionsSheet
A drop-in class that presents a sheet for a user to connect their financial accounts. This class is in beta; see https://stripe.com/docs/financial-connections for access
-
The result of financial account connection flow
See moreDeclaration
Swift
@frozen public enum Result
-
The client secret of the Stripe FinancialConnectionsSession object. See https://stripe.com/docs/api/financial_connections/sessions/object#financial_connections_session_object-client_secret
Declaration
Swift
public let financialConnectionsSessionClientSecret: String
-
The APIClient instance used to make requests to Stripe
Declaration
Swift
public var apiClient: STPAPIClient
-
Initializes a
FinancialConnectionsSheet
.Declaration
Swift
public convenience init(financialConnectionsSessionClientSecret: String)
Parameters
financialConnectionsSessionClientSecret
The client secret of a Stripe FinancialConnectionsSession object.
-
Presents a sheet for a customer to connect their financial account.
Declaration
Swift
public func present(from presentingViewController: UIViewController, completion: @escaping (Result) -> ())
Parameters
presentingViewController
The view controller to present the financial connections sheet.
completion
Called with the result of the financial connections session after the financial connections sheet is dismissed.