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

svb-wires

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svb-wires

Helper API to issue wire transfers

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

svb-wires

A NodeJS helper library to create, cancel, and retrieve records of wire transfers 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 Wires = new SVBWires(client);

// initiate a wire transfer
Wires.create({ ... }, (err, record) => {
  console.log(record.id);
});

// retrieve details of a wire transfer (including status)
Wires.get(wire_id, (err, record) => { });

// get all of my wire transfers
Wires.all((err, list) => { });

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

// YYYY-MM-DD
// (also available: effective_date_end)
Wires.find({ effective_date_start: '2017-05-31' }, callback);

// cancel a wire transfer
// you cannot change a wire transfer to any other status
Wires.updateStatus(wire_id, 'canceled', (err) => { });

Installation

npm install svb-wires --save

Keywords

FAQs

Package last updated on 12 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc