dwolla-v2
is available on NPM with source code available on our GitHub page. More information is available on the project's README.
npm install dwolla-v2
Let's fetch a page of customers:
var Client = require("dwolla-v2").Client;
// Navigate to https://dashboard.dwolla.com/applications (production) or https://dashboard-sandbox.dwolla.com/applications (Sandbox) for your application key and secret.
const appKey = "...";
const appSecret = "...";
var dwolla = new Client({
key: appKey,
secret: appSecret,
environment: "sandbox", // defaults to 'production'
});
// GET api.dwolla.com/customers?limit=10&offset=20
dwolla
.get("customers", { limit: 10, offset: 20 })
.then((res) => console.log(res.body.total));
All funds transfers made using the Dwolla Platform are performed by a financial institution partner, and any funds held in a Dwolla Balance are held by a financial institution partner. Learn more about our financial institution partners.