connectAccountsForOneTimeAccess

abstract fun connectAccountsForOneTimeAccess(activity: Activity, configuration: Configuration, request: BusinessConnectAccountsForOneTimeAccess, launchMode: LaunchMode, onSuccess: (TinkBusinessTransactionsSuccess) -> Unit, onError: (TinkError) -> Unit)

This function Launches the flow for connecting one time access to Business Transactions.

Parameters

activity

the Activity that is launching this flow.

configuration

Configuration the configuration for this flow.

request

BusinessConnectAccountsForOneTimeAccess the request object for this flow.

launchMode

LaunchMode the mode in which this Tink flow is shown inside your app.

onSuccess

the callback in case of a successful outcome TinkBusinessTransactionsSuccess of this flow.

onError

the callback in case of a non-successful outcome TinkError of this flow or dismissed flow. For detailed explanation, please refer to business-connect-to-a-bank-account.