You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

svb-ach

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svb-ach

Helper API to issue ACH money transfers

1.2.2
latest
npmnpm
Version published
Maintainers
1
Created
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

ach

FAQs

Package last updated on 13 Jun 2017

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