Retrieve a list of funding sources that belong to a Customer. By default, all funding sources are returned unless the removed
query string parameter is set to false
in the request.
GET https://api.dwolla.com/customers/{id}/funding-sources
Parameter | Required | Type | Description |
---|---|---|---|
id | yes | string | Customer's unique identifier. |
removed | no | string | Filter removed funding sources. Defaults to true . Set to false to filter out removed funding sources from list (i.e. - /customers/{id}/funding-sources?removed=false). |
HTTP Status | Message |
---|---|
403 | Not authorized to list funding sources. |
404 | Customer not found. |
// Using dwolla-v2 - https://github.com/Dwolla/dwolla-v2-node
var customerUrl =
"https://api-sandbox.dwolla.com/customers/5b29279d-6359-4c87-a318-e09095532733";
dwolla
.get(`${customerUrl}/funding-sources`)
.then((res) => res.body._embedded["funding-sources"][0].name); // => 'Jane Doe’s Checking'
Use sandbox environment to test API requests.
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.