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

Update a funding source #

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.

HTTP request #

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

Request parameters #

ParameterRequiredTypeDescriptionidyesstringid of funding source to update.nameyesstringArbitrary nickname for the funding source. Must be 50 characters or less.bankAccountTypenostringType of bank account: checking, savings, general-ledger or loan.routingNumbernostringThe bank account's routing number.accountNumbernostringThe bank account number.

HTTP Status and Error Codes #

HTTP StatusCodeDescription404NotFoundFunding source not found.400ValidationErrorOnly funding sources of type="bank" can be updated.400ValidationErrorInvalid bank name.403InvalidResourceStateA removed bank cannot be updated.

Request and response #

JavaScript
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"

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.