Socket
Socket
Sign inDemoInstall

svb-ach

Package Overview
Dependencies
48
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    svb-ach

Helper API to issue ACH money transfers


Version published
Weekly downloads
123
increased by23%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

node-svb-ach

A NodeJS helper library to create, cancel, and retrieve records of ACH requests transferring money in and out of Silicon Valley Bank accounts.

Uses SVB-Client module and your API credentials.

Usage

let client = new SVBClient({
  API_KEY: '',
  HMAC_SECRET: ''
});
let ACH = new ACHClient(client);

// initiate an ACH
ACH.create({ ... }, (err, record) => {
  console.log(record.id);
});

// retrieve details of an ACH (including status)
ACH.get(ach_id, (err, record) => { });

// get all of my ACHs
ACH.all((err, list) => { });

// get all of my pending ACHs
// valid statuses are: pending, processing, canceled, failed, succeeded
ACH.find({ status: 'pending' }, (err, list) => {  });

// YYYY-MM-DD
ACH.find({ effective_date: '2017-05-31' }, callback);

// cancel an ACH
// you cannot change an ACH to any other status
ACH.updateStatus(ach_id, 'canceled', (err) => { });

Installation

npm install svb-ach --save

Keywords

FAQs

Last updated on 13 Jun 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc