DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Threat Modeling Context-Aware AI: A STRIDE Walkthrough
  • Securing AI/ML Workloads in the Cloud: Integrating DevSecOps with MLOps
  • The Noticeable Shift in SIEM Data Sources
  • Reversing an Array: An Exploration of Array Manipulation

Trending

  • Member Spotlight: Srinivas Chippagiri
  • How to Evaluate Coding Agents With Harbor Framework, Python, Docker
  • 5 Mistakes Companies Make When Working With Staff Engineers
  • PWA on iOS, Part 3: Chrome on iPhone Is WebKit Too. How One Engine Sets the Rules for PWAs on iOS

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Data Engineering
  3. Data
  4. How to Securely Access Bank Account Data With the Plaid API

How to Securely Access Bank Account Data With the Plaid API

With fintech applications on the rise, an API that allows devs to integrate financial importation, securely, is a good thing to have in the tool belt

By 
Ross Garrett
·
Apr. 05, 18 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
8.9K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

Every day financial activities are increasingly being conducted through online applications, and as the Fintech industry continues to explode, having API-based access to users' bank account data is not only convenient, but necessary. Considering the mass of privacy, security, and reliability regulations that govern financial data transactions, building this functionality from scratch is no easy feat. That's why so many current financial applications use the Plaid API.

Plaid offers unified authentication for thousands of global financial institutions. Once users authorize access to their bank data, you can use the Plaid API to authorize the account for ACH (without microtransactions), retrieve statement and real-time balance data, and validate the user's identity and employer info. Plaid is already being used by industry-leading finance applications such as Acorns, Venmo, Expensify, and Stash, and if your application relies on bank account authorization, integrating the Plaid API will likely be one of your best options.

The Plaid Element is the newest addition to the Cloud Elements Finance Hub, which means you can now harness the full power of the Plaid API with Cloud Elements' unified, RESTful APIs. If you're already integrated with Cloud Elements, you can start defining Plaid virtual data resources and using them in your existing connected apps within minutes.

Source: How Plaid's API Brings Finance into the 21st Century

Let's Look at an Example of How to Use Cloud Elements to Integrate the Plaid API:

Let's say you made an awesome new personal finance app that helps users set budgets and track how much money they're spending in certain purchasing categories. Right now, your app scans receipts or uses manual data entry to track users' spending, but you're a visionary, and you want the app to become an awesome cooperative app!

Currently, your app uses the following data structure for a transaction:

{
	transactionID: “string”,
	accountID: “string”,
	amount: number,
	date: “string”,
	type: “string”
}

We're going to use the Plaid element to pull this data directly from the user's live bank statement. The first step to do this is to create a common Virtual Data Resource in Cloud Elements that we'll call plaidTransaction. If you're not sure how to create common resources in Cloud Elements, Get a refresher with our guide to the basics of common resources.

For simplicity sake, we will match our virtual data resource's structure to the current data structure for a transaction in the app:

You can then create a transformation which maps each of these fields to specific response fields of a GET /transactions call to your Plaid instance. If you need some guidance on how to make Plaid API calls with Cloud Elements, log in and check out the Plaid Element API docs here.

Once you've got your virtual data resource set up, you can call it any time to get the transactions from a user's account, already normalized to the data structure of your app.

Pro Tip: You can also use Cloud Elements' built-in Eventing operations to set up webhooks or polling (P.S. webhooks are better) to access data with the Plaid API. If you're looking for tips on how to set up Eventing with Cloud Elements, check out this guide.

Ready to get started? Log into Cloud Elements, authenticate your Plaid API instance, and you'll be up-and-running in no time!

API Data (computing) Element app Cloud Data structure

Published at DZone with permission of Ross Garrett. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Threat Modeling Context-Aware AI: A STRIDE Walkthrough
  • Securing AI/ML Workloads in the Cloud: Integrating DevSecOps with MLOps
  • The Noticeable Shift in SIEM Data Sources
  • Reversing an Array: An Exploration of Array Manipulation

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook