flow-pie / flow-pie/chamaa.api

Fetch Member Contributions

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
good first issue payment
Dominant language
HTML
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Implement GET /api/v1/contributions/:memberId to view a member’s full contribution history.
Response Example:

{
"member_id": "uuid",
"total_contributed": 32000,
"contributions": [
{ "amount": 5000, "date": "2025-10-20", "ref": "CHM-2025-0001" },
{ "amount": 10000, "date": "2025-10-28", "ref": "CHM-2025-0002" }
]
}

Paginate results (10 per page)

Return 404 if no contributions found

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.