Summary
The endpoint returns all deliveries for a payment in one response.
Location
src/api/payments.rs:350-378, src/db.rs:602-612
IMPLEMENTATION_NOTES.md lists pagination as future work.
Details & impact
A payment with many retries/redeliveries returns an unbounded array, risking large responses and memory use.
Suggested fix
Add limit/cursor pagination consistent with the payments list.
Acceptance criteria
- Delivery listing is paginated.
Summary
The endpoint returns all deliveries for a payment in one response.
Location
src/api/payments.rs:350-378,src/db.rs:602-612IMPLEMENTATION_NOTES.mdlists pagination as future work.Details & impact
A payment with many retries/redeliveries returns an unbounded array, risking large responses and memory use.
Suggested fix
Add
limit/cursor pagination consistent with the payments list.Acceptance criteria