Docs
Get API Keys
  • Authorization
    Root
    Accounts
    External Parties
    Funding Sources
    Transfers
    Webhook Subscriptions
    Webhooks

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 #

ParameterRequiredTypeDescription
idyesstringCustomer unique identifier.

HTTP status and error codes #

HTTP StatusMessage
404Customer not found.

Request and response #

Raw
POST https://api-sandbox.dwolla.com/customers/99bfb139-eadd-4cdf-b346-7504f0c16c60/funding-sources-token
Content-Type: application/vnd.dwolla.v1.hal+json
Accept: application/vnd.dwolla.v1.hal+json
Authorization: Bearer pBA9fVDBEyYZCEsLf/wKehyh1RTpzjUj5KzIRfDi0wKTii7DqY

HTTP/1.1 200 OK

{
 "_links": {
   "self": {
     "href": "https://api-sandbox.dwolla.com/customers/5b29279d-6359-4c87-a318-e09095532733/funding-sources-token"
   }
 },
 "token": "4adF858jPeQ9RnojMHdqSD2KwsvmhO7Ti7cI5woOiBGCpH5krY"
}
Test in the Sandbox for free today.
Use sandbox environment to test API requests.
Get API Keys
2023 All Rights Reserved
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.