Problem
Sponsors cannot see which loans their capital
is currently backing. This matters for
transparency and trust.
What To Build
Add GET /api/v1/sponsors/funded-loans endpoint.
Requires JWT auth.
Returns loans currently active that are backed
by the liquidity pool, with the sponsor share
percentage shown for each.
Response per loan:
- loan ID
- borrower wallet (truncated)
- vendor name
- amount
- installments paid/total
- status
- sponsor share percentage
Files To Touch
- src/modules/sponsors/sponsors.controller.ts
- src/modules/sponsors/sponsors.service.ts
Acceptance Criteria
Mandatory Checks Before PR
Problem
Sponsors cannot see which loans their capital
is currently backing. This matters for
transparency and trust.
What To Build
Add GET /api/v1/sponsors/funded-loans endpoint.
Requires JWT auth.
Returns loans currently active that are backed
by the liquidity pool, with the sponsor share
percentage shown for each.
Response per loan:
Files To Touch
Acceptance Criteria
Mandatory Checks Before PR