Advanced Integration
We hope you have gone through the Getting Started with FastLink page that talks about the different FastLink product flows and provides details on how to integrate FastLink for Web.
You can further configure the FastLink application by passing additional launch parameters in the params
object of the fastlink.open()
method. The params
object primarily has the following two types of attributes:
- Deep linking attributes: Allows deep link to different FastLink flows.
dataset
attributes: Request different data combinations apart from the predefined aggregation and verification dataset.
Additional Params - Deep Linking Attributes
In addition to passing the userExperienceFlow
in the params
object (as explained in the Getting Started with FastLink page), the additional parameters allow you to deeplink to different FastLink flows. Following are the different available deep link flows:
- Link account
- Start with search result
- Start with login form
- Edit account credentials
- Refresh account flow
- Multiple Open Banking application support
Without deeplink, the FastLink application will start with selecting a site. Click to view the Select a Site screen.
Link Account
The FastLink aggregate account scenario allows you to deeplink the application to a specific provider and add all the accounts belonging to it. Following are the two possible use cases that can be performed by deep linking to a provider:
-
Start by displaying the search results based on the search string. Click to view the Search Result screen.
Parameter Name Description Example keyword The parameter that returns the provider search results based on what the user wants to search in the search page. ... window.fastlink.open({ ... params: { keyword : 'citi', userExperienceFlow: 'Aggregation' }, ... }, 'container-fastlink'); ...
-
Pass
flow=add
andproviderId
to start with the site's account authentication screen. Click to view the Verify Credentials screen.
Edit Account Credentials
The edit credentials flow allows you to view the edit credentials screen of an already linked provider account. Click to view the Edit Account Credential screen.
Parameters to deeplink to the edit account view based on the providerAccountId
follow:
Refresh Account Flow
The FastLink refresh flow allows you to initiate a refresh of an already linked provider account and update it with the latest data. This flow may prompt for the additional multi-factor authentication (MFA) required by the site during login. Click to view the Refresh Account Login screen.
Parameters to deeplink to the refresh account view follow:
Multiple Open Banking Application Support
If the customer has multiple Open Banking applications, passing the following parameter will launch the particular application:
Additional Params - Request Dataset
The dataset
attribute allows you to request the data that needs to be aggregated from the provider, and it can be passed along with the other attributes in the params
object.
Pass the dataset
attribute only when the data that you need is not obtained through the predefined data returned using the userExperienceFlow
attribute. For more information about the different dataset attributes, refer to Working with Datasets.
Parameter Name | Description | Example |
---|---|---|
dataset | The attributes that have to be aggregated from the provider. Note: Pass only the attributes that you have subscribed to and is required for your product flow. |
|
Post Messages
The FastLink application shares the account addition status with the customer application using the following four callback methods:
- onSuccess(data)
- onError(data)
- onExit(data)
- onEvent(data)
The callback methods' argument attributes are as follows:
Parameter | Description |
---|---|
providerAccountId | The providerAccountId is created through the add, edit, or refresh flow. |
bankName | The name of the provider. |
status | The status of the added provider sent by the application. The following are the statuses:
|
providerId | The unique identifier of the provider. |
reason | The reason for the provider addition failure. |
requestId | The unique identifier for every request that returns contextual data. |
action | Specifies that the consumer has clicked/tapped one of the exit points of the FastLink application, and you have to handle closing the floater implementation. |
Events and their post message sample formats are as follows:
Event | Post Message Sample Format |
---|---|
Aggregate account |
|
Edit account |
|
Refresh account |
|
Data service account verification initiated for select accounts screen |
|
When the consumer closes the FastLink application after successful account verification |
|
When the consumer closes the FastLink application after successful account addition |
|
Error scenario |
|