This section covers how to update a bank
funding source. The accountNumber
, routingNumber
and bankAccountType
are all optional attributes that can be updated on a funding source when it has an unverified
status. You can choose to update only name, name and routingNumber, name and accountNumber, name and type or all four attributes. Any attribute that isn't updated remains the same as it was prior to update, including the funding source id. The name
attribute can be updated when a funding source has either an unverified
or verified
status.
POST https://api.dwolla.com/funding-sources/{id}
Parameter | Required | Type | Description |
---|---|---|---|
id | yes | string | id of funding source to update. |
name | yes | string | Arbitrary nickname for the funding source. Must be 50 characters or less. |
bankAccountType | no | string | Type of bank account: checking , savings , general-ledger or loan . |
routingNumber | no | string | The bank account's routing number. |
accountNumber | no | string | The bank account number. |
HTTP Status | Code | Description |
---|---|---|
404 | NotFound | Funding source not found. |
400 | ValidationError | Only funding sources of type="bank" can be updated. |
400 | ValidationError | Invalid bank name. |
403 | InvalidResourceState | A removed bank cannot be updated. |
// Using dwolla-v2 - https://github.com/Dwolla/dwolla-v2-node
var fundingSourceUrl =
"https://api-sandbox.dwolla.com/funding-sources/692486f8-29f6-4516-a6a5-c69fd2ce854c";
var requestBody = {
name: "Test Checking - 1234",
};
dwolla.post(fundingSourceUrl, requestBody).then((res) => res.body.name); // => "Test Checking - 1234"
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.