When a bank or VAN
transfer fails for an Account or Customer, Dwolla returns a failure
link when retrieving the transfer by its Id. This failure link is used to retrieve the ACH return code and description. For reference, the list of possible failure codes and descriptions are shown in the Transfer failures resource article.
GET https://api.dwolla.com/transfers/{id}/failure
Parameter | Required | Type | Description |
---|---|---|---|
id | yes | string | Transfer unique identifier. |
// Using dwolla-v2 - https://github.com/Dwolla/dwolla-v2-node
var transferUrl =
"https://api-sandbox.dwolla.com/transfers/83eb4b5e-a5d9-e511-80de-0aa34a9b2388";
dwolla.get(`${transferUrl}/failure`).then((res) => res.body.code); // => 'R01'
Note that for VANs
, additional details about the external transaction will be available in an achDetails JSON object in the transfer GET
response. Either the source or the destination will be present in the object depending on the direction of money movement.
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.