Generate link_url
Generate a short-lived Finverse Link access_token (referred to as link_token) and URL (link_url) to open Finverse Link UI in a browser window. The link_token is associated with a specific Customer App (client_id) and End-User (user_id), and expires after 5 minutes (resend request to renew).
Note:redirect_uri must be valid and associated with the client_id.
Authorization: customer_token.
Required parameters
Optional parameters
You can use the following optional parameters to customize the behaviour of Finverse Link’s UI to fit your implementation requirements.
Automatic data refresh
Parameter: automatic_data_refresh
Description: Configures the “Automatic data refresh” checkbox in Finverse Link’s “Enter your credentials” input screen.
Recommended value: "" (none). This defaults to OFF (i.e. checkbox unchecked, user editable).
Accepted values:
Countries
Parameter: countries
Description: Filters the “Select Institution” screen in the Finverse Link UI to only list institutions from the specified countries. If left empty, all institutions are listed.
Recommended value: [ ]
Accepted values: JSON-array of 3-letter ISO-3166-1 Alpha-3 codes (e.g. ["SGP", "VNM"])
History Date Limit
Parameter: history_date_limit
Description: sets a specific start date limit for the transaction history retrieved by Finverse from the institution. This is useful when you only need Finverse to fetch recent transactions and want to speed up data retrieval. If omitted, Finverse will fetch the full available transaction history (3-24 months depending on the institution).
Recommended Value: omit the parameter
Accepted values: ISO 8601 date string (“YYYY-MM-DD”)
Institution ID
Parameter: institution_id
Description: Instructs Finverse Link UI to skip the institution selection screen (after the consent screen), and instead go straight to the login screen of the specified institution.
Recommended Value: ""
Accepted values: A single institution’s institution_id (see GET /institutions).
Institution status
Parameter: institution_status
Description: Specifies which institutions to list in the Finverse Link UI based on their reliability status (e.g. “beta” status).
Recommended value: ""
Accepted values: space-separated list
-
beta: show only institutions that are in “beta” status -
supported: show only institutions that are in “supported” status (default for Customer Apps in live mode) -
beta supported: show both “beta” and “supported” institutions (default for Customer Apps in test mode)
Language
Parameter: language
Description: Specifies the desired language selection for Finverse Link.
Recommended value: "" or any valid language code (based on desired UI). If empty or if an unsupported language is specified, Finverse Link will display the default language (en).
Accepted values: 2-letter ISO 639-1 alpha-2 code. Supported languages:
(note: inputs are case-sensitive)
Link mode
Parameter: link_mode
Description: Specifies whether to display specific sets of institutions (e.g. test institutions) in the Finverse Link UI. This can be helpful for testing purposes, for example to force-display test institutions when testing in the Finverse Prod environment.
Recommended value: "" for live apps; “test” or “real test” for test apps.
Accepted values: space-separated list
-
real: show only real banks (default) -
test: show only test banks -
real testshows both real banks & test banks
Products requested
Parameter: products_requested
Description: Instructs Finverse to only fetch the products specified in this field. If left empty, Finverse will fetch all data products.
Recommended value: [ ]
Accepted values: JSON-array of strings of Finverse products (e.g. ["ACCOUNTS", "TRANSACTIONS"])
Products supported
Parameter: products_supported
Description: Filters the “Select Institution” screen in the Finverse Link UI to only list institutions which support the specified products. If left empty, all institutions are listed.
Recommended value: [ ]
Accepted values: JSON-array of strings of Finverse products (e.g. ["ACCOUNT_NUMBERS", "IDENTITY", "STATEMENTS"])
UI mode
Parameter: ui_mode
Description: Specifies the behaviour of the Finverse Link UI upon completion of the linking flow (in both success or error cases). If left empty, Finverse Link will default to iframe behaviour for the Data institution linking UI.
Recommended values: any (based on desired UI)
Accepted values:
-
"": defaults toiframebehaviour for the Data institution linking UI. -
iframe: for use when the Finverse Link UI is launched as an iframe/webview embedded within the customer’s application. On success/error, the callback to the customer’sredirect_uriis triggered in the background, and the response is silently discarded. Finverse will display an Exit (“X”) button on each screen and a “Continue” button on final success/error screens, allowing the user to close the iframe/webview and return to the customer’s application (requires customer’s application to handle iframe/webview messages). -
redirect: for use when the Finverse Link UI is launched in a new window/webview. On success/error, the callback isn’t triggered immediately, but is bound to the “Continue” and “Exit” buttons. When the user clicks either button, the UI will navigate to the customer’sredirect_uri. -
auto_redirect: similar toredirectmode, for use when the Finverse Link UI is launched in a new window/webview. On success/error, the callback is automatically triggered after 1 second, and the UI navigates to the customer’sredirect_uri. -
standalone: for use when the Finverse Link UI is launched in a new window/webview without the need to navigate back to the customer’s application. On success/error, the callback to the customer’sredirect_uriis triggered in the background, and the response is silently discarded. Finverse will display a “You may close this window now” message on final success/error screens, guiding the user to manually close the window/webview.
User configs
Beta (subject to change).
Parameter: user_configs
Description: Object to configure additional user-level inputs for the User’s authentication & data retrieval session.
Recommended value:
Accepted values: see below
User type
Parameter: user_type
Description: Filters the “Select Institution” screen in the Finverse Link UI to only list institutions which support the specified user type (e.g. individual vs. business accounts). If left empty, all institutions are listed.
Recommended value: [ ]
Accepted values: JSON-array of strings of Finverse user types (e.g. ["BUSINESS", "INDIVIDUAL"])
Token handling
Usage
link_token is intended for use by front-end clients to call Finverse API. It is the only Finverse API token that is considered non-sensitive.
Renewal
link_token expires after 5 minutes.
Repeat this request for token renewal.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
token request
Assigned by Finverse when setting up API credentials in Finverse's customer dashboard (dashboard.finverse.com)
4 - 100"3fa85f64-5717-4562-b3fc-2c963f66afa6"
Always equal to: client_credentials
100Finverse Link UI will redirect to this uri after either success or failure
4 - 500"https://example.com/callback"
Always equal to: form_post
100"form_post"
Always equal to: code
100"code"
Controls the behavior of the automatic data refresh checkbox
ON, OFF, FORCED_ON 100100"code-challenge"
100"code-challenge-method"
institution's country filter
3The customization id if the customer wishes to embed it into link token for spawning link with their choice of stuffs
100"AULIDGOESHERE"
Limit historical data retrieval to this date. ISO format (YYYY-MM-DD)
"2024-01-31"
Institution to preselect
100"hsbc-hk"
institution's status filter
100"alpha beta supported"
ISO639-1 language code. Language to display when user open the link, default to English (en) if not specified
en, vi, zh, ko 3"en"
Space separated list of the tags of the institutions to view.
100"real"
use this to update a specific login identity
100"uhdasidasodaso"
The identifier returned after creating payment instruction
100"payment_instruction_id"
products that is requested
100institution's supported product filter
100500"comma,separated,scopes"
Customer-supplied state (treated as an opaque value), used by customer to uniquely identify the linking session
100"user-state-passed"
The UI mode link is intended to be used in - "iframe", "auto_redirect", "redirect" or "standalone"
iframe, redirect, auto_redirect, standalone "redirect"
Customer-supplied ID, used by customer to uniquely identify the user
4 - 100"01BX5ZZKBKACTAV9WEVGEMMVRY"
institution's supported user_type filter
100Response
Success
Link session token (referred to as link_token)
Token validity length (in seconds)
Token issue time
URL to launch the Finverse Link UI flow associated with this link_token, for the end-user to provide required consent and linking inputs.
"https://link.dev.finverse.net/onboarding?token=dasdsa8erhiu7rey78r"
Possible values: Bearer