Create a funding source for a customer - on-demand auth

POST https://api-sandbox.dwolla.com/customers/{{customerId}}/funding-sources

Create a new Funding Source for a Customer. Customers can have a maximum of 6 funding sources.

Request parameters

ParameterData TypeParameter TypeRequiredDescription
_linksobjectbodynoA _links JSON object containing an on-demand-authorization link relation. See example raw request and response below.
routingNumberstringbodyyesThe bank account's routing number.
accountNumberstringbodyyesThe bank account number.
bankAccountTypestringbodyyesType of bank account: checking or savings.
namestringbodyyesArbitrary nickname for the funding source.

Request Body

{"_links"=>{"on-demand-authorization"=>{"href"=>"https://api-sandbox.dwolla.com/on-demand-authorizations/{{onDemandAuthId}}"}}, "routingNumber"=>"222222226", "accountNumber"=>"123456789", "type"=>"checking", "name"=>"Jane Doe - Checking"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
Authorizationstring