Create an API endpoint to fetch the exhaustive details (metadata, receipt) of a single specific transaction.
Contribution Guide
- PRs go to the dev branch, not main
- Please application must explain a short specific approach to this task
- PR description must clearly describe what you built and changed
- Link your PR to the correct issue number
Implementation Guidelines
- Key files:
src/app/api/v1/finance/transactions/[id]/route.ts
- Create a
GET method that fetches a transaction by its UUID.
- Join related tables (e.g., recipient info, invoice ID if attached) to construct a comprehensive payload for the frontend slide-out drawer.
Expectations
- What done looks like: Clicking a transaction in the UI queries this endpoint and receives all necessary data to populate the detailed receipt view.
- Discord for questions: codeze_us
Create an API endpoint to fetch the exhaustive details (metadata, receipt) of a single specific transaction.
Contribution Guide
Implementation Guidelines
src/app/api/v1/finance/transactions/[id]/route.tsGETmethod that fetches a transaction by its UUID.Expectations