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
| Parameter | Data Type | Parameter Type | Required | Description |
|---|---|---|---|---|
| _links | object | body | no | A _links JSON object containing an on-demand-authorization link relation. See example raw request and response below. |
| routingNumber | string | body | yes | The bank account's routing number. |
| accountNumber | string | body | yes | The bank account number. |
| bankAccountType | string | body | yes | Type of bank account: checking or savings. |
| name | string | body | yes | Arbitrary 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
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string | ||
Authorization | string |