This section contains information on how to retrieve the list of exchanges associated with a Customer resource.
GET https://api.dwolla.com/customers/{id}/exchanges
Parameter | Required | Type | Description |
---|---|---|---|
id | yes | string | Customer resource unique identifier. |
HTTP Status | Code | Description |
---|---|---|
200 | Ok | The Dwolla API accepted the request and returned a response. |
404 | NotFound | Customer ID not found. Check Customer ID. |
// Using dwolla-v2 - https://github.com/Dwolla/dwolla-v2-node
var customerUrl =
"https://api-sandbox.dwolla.com/customers/176878b8-ecdb-469b-a82b-43ba5e8704b2";
token
.get(`${customerUrl}/exchanges`)
.then((res) => res.body._embedded["exchanges"][0].id); // => '56502f7a-fa59-4a2f-8579-0f8bc9d7b9cc'
Use sandbox environment to test API requests.
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.