Steps for Bank Web Widget
Prerequisite:- Create the User: Ensure the user is initialised in the Saber system with proper phone and email.
- User KYC: Ensure the user KYC is approved with Saber.
Step 1: Generate the signature (secret) for the Widget
For each session, a unique secret needs to be generated every time.Step 2: Generate redirect URL
Once the secret is created for the user, the following query parameters are required to be passed along in the base URL to create the link:
Optionally, you can also pass:
The Base URL
Example of a full link
๐ Does the URL expire? The URL validity is 10 minutes from the creation of the secret.
Step 3: Redirect your user to the link
Once the URL is generated, redirect your user to the link, and the user will see the Plaid Bank addition screen.Returning the user to your app
To bring the user back into your own app once they exit the Plaid flow, appendredirect_url as the last query parameter:
The value must be URL-encoded, otherwise its own query string is parsed as part of the widget URL. If
redirect_url is omitted, the user stays on the Saber-hosted page after finishing.