Build Powerful Fintech Solutions with Hydrogen & Yodlee - Hydrogen
Build Powerful Fintech Solutions with Hydrogen & Yodlee

Build Powerful Fintech Solutions with Hydrogen & Yodlee

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

Yodlee is a leading data aggregation and analytics platform powering dynamic, cloud-based innovation for digital financial services. Yodlee enables applications to connect with users’ bank, credit card, loan, and investment accounts to pull in account details such as balances and transactions. This integration enables companies to build powerful fintech products with comprehensive financial data.

“Yodlee has a deep history in account aggregation and is widely considered a preeminent leader in the space. With so many consumers and businesses curious about their financial wellness, understanding a holistic view of their financial standing is becoming increasingly crucial. We’re ecstatic to be integrating Yodlee with the Hydrogen platform. Using the integration, users who are on the Hydrogen platform will be able to use Yodlee much quicker, simply by entering their Yodlee credentials and switching it on. This will drastically compress a lengthy analysis period prior to starting development. As a result, users will be able to deliver fintech components swiftly and efficiently.”

Matthew Kane, Head of Product, Hydrogen

Learn more about how to integrate Hydrogen and Yodlee below.

Setup

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

Implementation

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

Below is a sample Yodlee Fastlink embed code.


  <script type='text/javascript' src='https://cdn.yodlee.com/fastlink/v2/initialize.js'></script>
  <body>
  <div id="container-fastlink">
  	<div style="text-align: center;">
     <input type="submit" id="btn-fastlink" value="Link an Account">
  </div>
  </div>
  <script>
  	(function (window) {
  			//Open FastLink
  			var fastlinkBtn = document.getElementById('btn-fastlink');
  			fastlinkBtn.addEventListener('click', function () {
  		       window.fastlink.open({
  		       fastLinkURL: '<widget_link>',
  			jwtToken: '< public_token>',
  			onSuccess: function (data) {
  				console.log(data);
  				},
  			onError: function (data) {
  			       console.log(data);
  				},
  			onExit: function (data) {
  				console.log(data);
  			       },
  				onEvent: function (data) {
  				console.log(data);
  			       }
  			}, 'container-fastlink');
  					}, false);
  			}(window));
  	</script>
  </body>

In the code above, you will first need to replace the jwtToken key, which can be retrieved via the following Hydrogen endpoint to perform the token exchange: POST /integration/token_exchange

Yodlee will exchange your Public Key for a public_token. If this is successful, you will receive an onSuccess callback from Yodlee, which will contain the public_token. The public_token will be attached to the nucleus client_id of the user accessing their account.

Now, the user has a Yodlee access token stored in Hydrogen’s database and can be used anytime the end-user needs to access their accounts using Yodlee.

If you need to refresh your access token because the end user’s credentials have changed, then you will have to call POST /integration/token_exchange and pass the new credentials to get a new access token.

The second and last replacement in the above code snippet is the fastlinkURL. To replace this, you can use the following endpoint to get the latest URL: GET/integration/v1/widget_link/{nucleus_client_id}?vendor_name={vendor_name}

In the response, use the widget_link and replace the fastlinkURL in the widget code above. Now, the code snippet is ready to launch the Yodlee Fastlink applet.

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 from URL>",
    "product": "atom"
}

Additionally, you may 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 Acceleration Platform
Close Menu