Skip to content

GET /payments/:id/webhooks has no pagination #124

Description

@Darkdruce

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26apiHTTP API surface and handlersperformancePerformance / scalability concernwebhooksWebhook subsystem

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions