createReport

abstract fun createReport(activity: Activity, configuration: Configuration, request: BusinessAccountCheckCreateReport, launchMode: LaunchMode, onSuccess: (TinkBusinessAccountCheckSuccess) -> Unit, onError: (TinkError) -> Unit)

Business Account Check lets you confirm the owner of a bank account by fetching real-time data from banks business users.

This function allow users to authenticate with their bank and select an account for which a report will be created on Tink backend. To fetch the generated report for business user, use the TinkBusinessAccountCheckSuccess.businessAccountVerificationReportId identifier that is returned in the onSuccess callback.

Parameters

activity

the Activity that is launching this flow.

configuration

Configuration the configuration for this flow.

request

BusinessAccountCheckCreateReport the request object for this flow.

launchMode

LaunchMode the display mode of this Tink flow inside your app.

onSuccess

(TinkBusinessAccountCheckSuccess)->Unit the callback in case of a successful outcome of this flow.

onError

(TinkError)->Unit the callback in case of a non-successful outcome or if the user dismissed the flow.