Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dwolla

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dwolla

Dwolla API for node.js

  • 0.0.2
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Dwolla API for node.js

Dwolla Developers

Methods

Requires application client_id and client_secret

  • basicAccountInfo
  • nearby(lat, long)

Requires OAuth2 Token

  • fullAccountInfo
  • balance
  • contacts
  • transactionById(id)
  • transactions
  • transactionsStats

Installation

$ npm install dwolla

You need to register your application with Dwolla to get a client_id and client_secret to make API requests. Set these as env variables.

DWOLLA_CLIENT_ID=''
DWOLLA_CLIENT_SECRET=''

Example Usage

var dwolla = require('dwolla');

// get oauth_token, be sure to set the proper scope
// use oauth lib or everyauth to setup OAuth2
// see everyauth for example Dwolla authentication
var token = req.session.oauth_token;

dwolla.fullAccountInfo(token, function(err, data) {
  console.log("Full Account Info: " + data);
});
dwolla.transactions(token, null, function(err, data) {
  console.log("Transactions: " + data);
});
var params = {};
params.search = 'Ben';
params.types = 'All';
dwolla.contacts(token, params, function(err, data) {
  console.log("Contacts: " + data);
});

FAQs

Package last updated on 01 Dec 2011

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