Hydrogen Integrates with Financial Data Provider Tink - Hydrogen
Hydrogen Integrates with Financial Data Provider Tink

Hydrogen Integrates with Financial Data Provider Tink

In addition to our Plaid integration, we have other leading aggregation software integrated for our Personal Financial Management (PFM) no-code app, and financial wellness API capabilities.

Tink enables applications to connect with users’ bank, credit card, loan, and investment accounts to pull in account details such as balances and transactions. Their software is compatible with PSD2 and Open Banking in the European Union.

Setup

To get started, you’ll first need to sign up with Tink and get your client_idpublic_key, and secret. If you already have a Tink account, you can go ahead and sign in to retrieve these values.

Implementation

Once you have Tink credentials set up on the Integrations Admin, you can retrieve the Tink widget to embed in your app or web page. The Tink widget will manage user credential validation, multi-factor authentication, and error handling for each institution that Tink supports to ensure that your end-user is able to pull data from the account that they’ve linked.

Call the following Hydrogen service to get the URL for the client:

GET /integration/v1/widget_link/{nucleus_client_id}?vendor_name=tink

Response


{
    "widget_link": "https://link.tink.com/1.0/authorize/?client_id=&redirect_uri=http%3A%2F%2Flocalhost%3A1080%2Fuser%2Ftoken&scope=accounts:read,investments:read,transactions:read,user:read,credentials:read,identity:read,statistics:read&market=GB&locale=en_US&test=true",
    "vendor_name": "tink"
}

Copy the widget_link link from the response and use as simple web URL in the browser to complete the user authentication. Once the Tink Link flow is completed, the user will be redirected to your specified redirect_uri. You will receive a code in the redirect_uri path. Note: vendor_name as a request parameter is optional. By default, it will use the selected vendor set in the settings.

Next we will perform the token exchange.

POST /integration/token_exchange


{
     "nucleus_client_id":"<nucleus_client_id>",
     "vendor_name":"tink",
     "integration_type":"aggregation",
     "product":"atom",
     "vendor_request":{
          "code":"ab1b4043bb6644a8a69da2f77d2330be"
     }
}

Now we just have to create the aggregation account to store all the data in Nucleus from the response above.

POST /integration/v1/aggregation/account

  
{
     "nucleus_client_id": "<nucleus_client_id>",
     "product": "atom" 
}  

You may now optionally pull balances, transactions, and holdings for the account.

GET /integration/v1/aggregation/balance/{aggregation_account_id}

GET /integration/v1/aggregation/transaction/{aggregation_account_id}

GET /integration/v1/aggregation/holding/{aggregation_account_id}

hydrogen

Hydrogen is the Global Fintech Enablement Platform
Close Menu