Skip to main content

BankHub Link

Introduction

bankhub Link is a display interface for interactive end customers to be able to link their financial accounts to bankHub and allow your Application to access account information through the bankHub API.

bankHub Link will handle account authentication, login device verification, and error handling with each Financial Services that bankHub provides.

Try demo, view bankHub Link Demo

Authentication


Your bankHub API client-id.

Security Scheme Type:apiKey
Header parameter name:x-client-id

Overview

bankHub Link will return a publicToken then this information will be used in exchange for the accessToken, and the bankHub API will use the 'accessToken' to authenticate requests for access to the information.

The bankHub flow begins when your user wants to connect their bank account to your app.
1. Call /grant/token to create a grantToken and pass the temporary token to your app's client.
2. Use the link_token to open bankHub Link for your user. When linking succeeded, bankHub Link will provide a temporary publicToken.
3. Call /grant/exchange to exchange the publicToken for a permanent accessToken and grantId for the new Grant.
4. Store the accessToken and use it to make product requests for your user's Grant.
info

To be able to start a process of linking a financial account, it is necessary to initiate a grantToken. With grantToken you can configure information such as: what information is queried, the language (comming soon) and the financial services we support. Once a user logs in via bankHub Link, the result publicToken will be returned to the redirectUri, which will then be used in exchange for the accessToken.

In order to open the bankHub Link interface you need grantToken, if not, see Create Grant. Once you have grantToken you will open bankHub Link by changing the <GRANT_TOKEN> information in the link below and open that link, the interface of bankHubLink will be displayed and KH will link the financial account here.

https://dev.link.bankhub.dev?grantToken=<GRANT_TOKEN>&redirectUri=<https://your-domain.com/callback-uri>&iframe=false

EnvironmentDescriptionHost
SandboxFor sandbox credentialshttps://dev.link.bankhub.dev
ProductionUsing official information, and the application has been releasedhttps://link.bankhub.dev
ParameterDescriptionNote
grantTokenGrant token, 30 minutesAPI /grant/token
redirectUriA URI indicating the destination where a user should be forwarded after completing the Link flowThe result publicToken will be returned on this URI
iframeOpen bankHub Link in iframeDefault: false

Error-handling flows

When using a grant for a long period of time on your application, you will encounter a change in the customer’s financial account information resulting in a failure to retrieve the resource.

In this case, bankHub Link supports the Update Mode feature to process updates to change information such as password, device authentication. For details, see Update Mode.