Add a bank funding source

(SP) #1

I am trying to integrate https://developers.dwolla.com/resources/dwolla-js/add-a-bank-account.html#dwolla-fundingsources-create in php but getting same error

{“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"},{“code”:“Invalid”,“message”:“Account number invalid.”,“path”:"/accountNumber"},{“code”:“Invalid”,“message”:“Type invalid.”,“path”:"/type"},{“code”:“Invalid”,“message”:“Name invalid.”,“path”:"/name"}]}}}

Please let me know testing Routing number and account number for.

(Shreya Thapa) #2

Hi @shreyas.p!

Dwolla requires a valid U.S. routing number and a random account number between 4-17 digits to add a bank account. For testing purposes, you can use the routing number 222222226 or refer to the list of routing numbers from the Federal Reserve Bank Services website.

Edit: Changed the account number limit to 4-17 digits.

1 Like
(SP) #3

@shreya

I found issue.

You said account number field require 3-7 digits while I am getting error response with Account number must be 4 characters or more.

Ref. https://www.screencast.com/t/piBuk1E6

1 Like
(Shreya Thapa) #4

Hey, good catch @shreyas.p! Thanks for letting me know; I’ll get our Docs updated too!