Create a Funding Source for an External Party
This section details how to add a bank account to external parties. To add a bank account to an external party, you can use one of two methods:- Option 1: Provide the account number, routing number, type, and a nickname.
- Option 2: Create an exchange for the external party, which will create a secure connection between Dwolla and a third-party provider for account creation and verification.
HTTP request
POST https://api.dwolla.com/external-parties/{id}/funding-sources
Request parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| routingNumber | yes | string | A bank routing number that identifies a bank or credit union in the U.S. Note: Validation of the routing number includes: a checksum, the first two digits of the routing number must fall within the range “01” through “12”, or “21” through “32”, and the string value must consist of nine digits. |
| accountNumber | yes | string | The bank account number. Note: The account number is validated to check if it is a numeric string of 4-17 digits. |
| bankAccountType | yes | string | Type of bank account: checking, savings. |
| name | yes | string | Arbitrary nickname for the funding source. Must be 50 characters or less. |
| correlationId | no | string | A unique string value attached to a funding source which can be used for traceability between Dwolla and your application. Note: A correlationId is not a replacement for an idempotency-key. Must be less than or equal to 255 characters and contain no spaces. Acceptable characters are: a-Z, 0-9, -, ., and _. Note: Sensitive Personal Identifying Information (PII) should not be used in this field and it is recommended to use a random value for correlationId, like a UUID. |
HTTP status and error codes
| HTTP Status | Code | Message | Description |
|---|---|---|---|
| 201 | Created | Success | Funding source created. |
| 400 | BadRequest | Validation error(s) present. See embedded errors list for more details. | An error exists with the request. Check the embedded list of errors for more detailed error messages. Also check Validation Errors section in the API reference. |
| 404 | NotFound | The requested resource was not found. | External Party not found. Check External Party Id. |