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

Remove a funding source #

This section outlines how to remove a funding source, both bank account and VAN, by id. A removed funding source is soft deleted and can still be accessed when retrieved.

When a bank funding source with an unverified status is removed, an attempt to re-add it within 48 hours of the initial created date will re-activate the removed funding source and maintain the same id. Removing and re-adding a VAN however, will create a different id.

Best Practices

If a funding-source has an outgoing transfer, we recommend not removing it until the transfer has been exported. Doing so will result in the cancellation of the transfer. Determining if a transfer has been exported or not can be done by retrieving the transfer resource and looking for the cancel link in the response -- if the transfer has exported, the cancel link is removed.

If a funding source has an incoming transfer, we recommend not removing it until the transfer has been processed. If the recipient Customer has multiple funding sources attached, doing so will result in the funds processing to a randomly chosen bank funding source. If the recipient is a Verified Customer type with only one bank funding source attached, removing it prior to an incoming transfer processing will result in the funds settling to the balance funding source rather than the intended bank funding source.

HTTP request #

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

Request parameters #

ParameterRequiredTypeDescriptionidyesstringid of funding source to delete.removedyesstringSpecify a value of true to remove the associated funding source.

HTTP status and error codes #

HTTP StatusMessage404Funding source not found.

Request and response - bank funding source #

JavaScript
var fundingSourceUrl =
  "https://api-sandbox.dwolla.com/funding-sources/692486f8-29f6-4516-a6a5-c69fd2ce854c";
var requestBody = {
  removed: true,
};

dwolla.post(fundingSourceUrl, requestBody);

Request and response - VAN funding source #

JavaScript
var fundingSourceUrl =
  "https://api-sandbox.dwolla.com/funding-sources/62c88abb-96cb-4f1e-8ca9-7f45b5308d16";
var requestBody = {
  removed: true,
};

dwolla.post(fundingSourceUrl, requestBody);

Test in the Sandbox for free today.

Use sandbox environment to test API requests.

Get API Keys
2022 All Rights Reserved

Dwolla

  • 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.