The callback function (err, res) allows you to determine if there is an error with the request (e.g. Routing number invalid.
) or if the response was successful. In the example above, we are displaying any error or response within a logs
container on our page.
If there is an error: Display the error to the user to have them correct any fields, and have them re-attempt to add their bank.
{
"error": {
"code": "ValidationError",
"message": "Validation error(s) present. See embedded errors list for more details.",
"_embedded": {
"errors": [
{
"code": "Invalid",
"message": "Routing number invalid.",
"path": "/routingNumber"
}
]
}
}
}
If successful: You will receive a JSON response that includes a link to the newly attached funding source.
{
"error": null,
"response": {
"_links": {
"funding-source": {
"href": "https://api-sandbox.dwolla.com/funding-sources/746d5c93-acb9-4826-a9c1-78ecf16401a6"
}
}
}
}
Use sandbox environment to test API requests.
Dwolla, Inc. is the operator of a software platform that communicates user instructions for funds transfers to our financial institution partners.
Dwolla is an agent of Veridian Credit Union. All ACH and Wire transfers are performed by Veridian Credit Union. Your Dwolla Balance, if any, is held in one or more pooled holding accounts held by Veridian Credit Union. These funds may not be eligible for share insurance by the National Credit Union Share Insurance Fund.
Sponsorship and Settlement of Push-to-Debit payment services provided by MetaBank®, N.A.
Push-to-Debit payments are typically available within 30 minutes.
Real-Time Payments are performed by Cross River Bank, which holds funds on behalf of the Receiver of such transactions in one or more pooled custodial accounts. These funds are not subject to FDIC pass-through deposit insurance.