New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

plaid

Package Overview
Dependencies
Maintainers
0
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plaid

A node.js client for the Plaid API

31.1.0
latest
Source
npm
Version published
Maintainers
0
Created

What is plaid?

The Plaid npm package is a client library for interacting with the Plaid API, which allows developers to connect their applications to users' bank accounts and financial data. It provides a range of functionalities including retrieving account balances, transaction histories, and verifying account ownership.

What are plaid's main functionalities?

Retrieve Account Balances

This feature allows you to retrieve the current balance of all accounts associated with a given access token.

const plaid = require('plaid');
const client = new plaid.Client({
  clientID: 'your_client_id',
  secret: 'your_secret',
  env: plaid.environments.sandbox
});

client.getBalance('access_token', (error, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log(response.accounts);
  }
});

Retrieve Transaction Histories

This feature allows you to retrieve transaction histories for all accounts associated with a given access token within a specified date range.

const plaid = require('plaid');
const client = new plaid.Client({
  clientID: 'your_client_id',
  secret: 'your_secret',
  env: plaid.environments.sandbox
});

client.getTransactions('access_token', 'start_date', 'end_date', (error, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log(response.transactions);
  }
});

Verify Account Ownership

This feature allows you to verify account ownership and retrieve account and routing numbers for accounts associated with a given access token.

const plaid = require('plaid');
const client = new plaid.Client({
  clientID: 'your_client_id',
  secret: 'your_secret',
  env: plaid.environments.sandbox
});

client.getAuth('access_token', (error, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log(response.accounts);
  }
});

Other packages similar to plaid

Keywords

plaid

FAQs

Package last updated on 21 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts