FinancialConnectionsSheet

@available(iOSApplicationExtension, unavailable)
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

Types

Properties

Init

  • Initializes a FinancialConnectionsSheet.

    Declaration

    Swift

    public convenience init(financialConnectionsSessionClientSecret: String, returnURL: String? = nil)

    Parameters

    financialConnectionsSessionClientSecret

    The client secret of a Stripe FinancialConnectionsSession object.

    returnURL

    A URL that redirects back to your application. FinancialConnectionsSheet uses it after completing authentication in another application (such as a bank application or Safari).

Public

  • Presents a sheet for a customer to connect their financial account.

    Declaration

    Swift

    @available(iOSApplicationExtension, unavailable)
    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.