What’s changing?
Beginning on June 1, 2016, there will be a change in functionality when removing a funding source for an Account or Customer in API v2. The method for removing a funding source will change from a DELETE to a POST with the need to supply { "removed": true } in the body of the request. Additionally, a removed attribute is added to the funding source object and is returned from the API when retrieving a list of funding sources or GETting a funding source by id.
By default, all funding sources will be returned from the API when listing the funding sources for an Account or Customer. Removed funding sources can then be filtered out of the funding source listing by passing in a “removed” querystring parameter and setting the value to false(i.e. GET /customers/5b29279d-6359-4c87-a318-e09095532733/funding-sources?removed=false).
Example funding source listing response:
Why the change and what’s the benefit?
Current functionality is limited in that once you remove a funding source you can no longer fetch any details on this funding source because it no longer exists in the API. Changing to “soft delete” functionality will give you the ability to access any removed funding sources on an Account or Customer, which can be useful for referencing funding-sources that you’ve previously transacted with.
To ensure a seamless transition, we recommend testing and implementing these changes in our Sandbox (UAT) environment ahead of moving to production and prior the deprecation date of June 1, 2016.
If you have any questions please don’t hesitate to reach out. To stay up-to-date with the latest from the Dwolla API, review our changelog and subscribe to our mailing list.