refreshCredentials
abstract fun refreshCredentials( activity: Activity, configuration: Configuration, request: RefreshCredentials, launchMode: LaunchMode, onSuccess: (TinkAccountAggregationSuccess) -> Unit, onError: (TinkError) -> Unit)
Account aggregation lets you fetch end-user’s financial data from their bank accounts, so it can be collected or displayed in one place.
This function launches the flow for refreshing financial data for Account aggregation with continuous-access.
Parameters
activity
the Activity that is launching this flow.
configuration
Configuration the configuration for this flow.
request
RefreshCredentials 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 TinkAccountAggregationSuccess of this flow.
onError
the callback in case of a non-successful outcome TinkError of this flow or dismissed flow.