This section covers how to retrieve an Account's list of previously created mass payments. Mass payments are returned ordered by date created, with most recent mass payments appearing first.
GET https://api.dwolla.com/accounts/{id}/mass-payments
Parameter | Required | Type | Description |
---|---|---|---|
id | yes | string | Account unique identifier to get mass payments for. |
limit | no | integer | How many results to return. Defaults to 25. |
offset | no | integer | How many results to skip. |
correlationId | no | string | A string value to search on if a correlationId was specified on a mass payment. |
HTTP Status | Code | Description |
---|---|---|
403 | NotAuthorized | Not authorized to list mass payments. |
404 | NotFound | Account not found. |
GET https://api-sandbox.dwolla.com/accounts/ca32853c-48fa-40be-ae75-77b37504581b/mass-payments
Accept: application/vnd.dwolla.v1.hal+json
Authorization: Bearer pBA9fVDBEyYZCEsLf/wKehyh1RTpzjUj5KzIRfDi0wKTii7DqY
....
{
"_links": {
"self": {
"href": "https://api-sandbox.dwolla.com/accounts/ca32853c-48fa-40be-ae75-77b37504581b/mass-payments"
},
"first": {
"href": "https://api-sandbox.dwolla.com/accounts/ca32853c-48fa-40be-ae75-77b37504581b/mass-payments?limit=25&offset=0"
},
"last": {
"href": "https://api-sandbox.dwolla.com/accounts/ca32853c-48fa-40be-ae75-77b37504581b/mass-payments?limit=25&offset=0"
}
},
"_embedded": {
"mass-payments": [
{
"_links": {
"self": {
"href": "https://api-sandbox.dwolla.com/mass-payments/b4b5a699-5278-4727-9f81-a50800ea9abc"
},
"source": {
"href": "https://api-sandbox.dwolla.com/funding-sources/84c77e52-d1df-4a33-a444-51911a9623e9"
},
"items": {
"href": "https://api-sandbox.dwolla.com/mass-payments/b4b5a699-5278-4727-9f81-a50800ea9abc/items"
}
},
"id": "b4b5a699-5278-4727-9f81-a50800ea9abc",
"status": "complete",
"created": "2015-09-03T14:14:10.000Z",
"metadata": {
"UserJobId": "some ID"
},
"correlationId": "8a2cdc8d-629d-4a24-98ac-40b735229fe2"
}
]
},
"total": 1
}
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.