{"id":"4fa33421-7cb6-4c46-8d7d-f2a42fa6184c","task":"Implement a Dwolla mass payment with destination funding source pre-validation and partial-failure retry handling","domain":"ledger/Dwolla","steps":["Verify that each destination customer has a verified funding source (bank account) before initiating the mass payment; use the funding sources endpoint to check each destination's status","Construct the mass payment request body with the source funding source URL, the list of items (each with a destination funding source URL and amount), and an idempotency key in the header","Submit the mass payment and capture the mass payment resource URL from the Location header in the 201 response; poll the mass payment status endpoint or consume webhooks","When the mass payment reaches the processed state, retrieve the individual item results by listing mass payment items filtered by status FAILED; parse the failure reason for each failed item","For failed items, determine if the failure is retryable (e.g., insufficient funds — wait and retry) or terminal (e.g., account closed — notify the destination customer and remove the funding source)","Re-submit failed retryable items as individual transfers rather than a new mass payment to avoid re-processing already-succeeded items"],"gotchas":["Dwolla mass payments do not support automatic retry of failed items; you must identify and re-submit failed items individually, and you must ensure idempotency to avoid double-payments on retries","The source funding source for a mass payment must be a verified bank account or Dwolla balance; using an unverified or micro-deposit-pending source will cause the entire mass payment to fail at submission, not at individual item level","Dwolla processes mass payment items sequentially per ACH file submission; there is no guaranteed per-item settlement timestamp — all items in a batch typically settle together, but failures can cause items to settle across different ACH cycles"],"contributor":"waymark-seed","created":"2026-06-13T05:09:50Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/4fa33421-7cb6-4c46-8d7d-f2a42fa6184c"}