Skip to content

Payout history end point added#510

Open
AustineSamuel wants to merge 3 commits intoMyFanss:mainfrom
AustineSamuel:payout-history
Open

Payout history end point added#510
AustineSamuel wants to merge 3 commits intoMyFanss:mainfrom
AustineSamuel:payout-history

Conversation

@AustineSamuel
Copy link
Copy Markdown

@AustineSamuel AustineSamuel commented Mar 27, 2026

Closes #346


Adds a versioned API for creator payout history backed by completed subscription checkouts, with ISO date range filters, cursor-based pagination, and transaction hash on each row. Includes unit tests for filtering, ordering, cursor paging, and controller/service wiring.

Changes
GET /v1/creators/:address/payout-history with from, to, cursor, limit
Response: data[] (includes txHash, payoutAt, amounts, fan/creator), nextCursor, hasMore
Query logic lives in SubscriptionsService (single source for payment/checkout data); CreatorsService delegates

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 27, 2026

@AustineSamuel Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backend payout history endpoint

1 participant