collectFinancialConnectionsAccounts method

Future<FinancialConnectionSessionResult> collectFinancialConnectionsAccounts({
  1. required String clientSecret,
})

Call the financial connections authentication flow in order to collect the user account data.

Needs clientSecret of the stripe financial connections sessions. For more info see: Collect an account to build data-powered products

Throws StripeError in case creating the token fails.

Implementation

Future<FinancialConnectionSessionResult> collectFinancialConnectionsAccounts(
    {required String clientSecret}) async {
  try {
    return _platform.collectFinancialConnectionsAccounts(
        clientSecret: clientSecret);
  } on StripeError {
    rethrow;
  }
}