Dwolla Developers Logo
API Reference
CommunityOpen in new tabChangelog
Get API Keys
CommunityOpen in new tabChangelog
Get API Keys

Create a funding sources token for dwolla.js #

Dwolla.js is a client-side library that allows you to add a funding source for your Customer without having any sensitive data hit your server. This section details how to create a token that will be sent to the client and used to authenticate the HTTP request asking Dwolla to add a new funding source.

Refer to our Dwolla.js developer guide to learn more on how to utilize this single-use funding-sources-token to add funding source for a Customer.

HTTP Request #

POST https://api.dwolla.com/customers/{id}/funding-sources-token

Request parameters #

ParameterRequiredTypeDescriptionidyesstringCustomer unique identifier.

HTTP status and error codes #

HTTP StatusMessage404Customer not found.

Request and response #

// Using dwolla-v2 - https://github.com/Dwolla/dwolla-v2-node
var customerUrl =

  .then((res) => res.body.token); // => 'lr0Ax1zwIpeXXt8sJDiVXjPbwEeGO6QKFWBIaKvnFG0Sm2j7vL'

Test in the Sandbox for free today.

Use sandbox environment to test API requests.

Get API Keys
2022 All Rights Reserved


  • About
  • Blog
  • Pricing
  • Contact Sales
  • Terms of Service
  • Privacy Policy
Financial institutions play an important role in our network.

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.