Summary
The investor list endpoint on a funded invoice should return every investor commitment with their wallet (truncated), amount, share percentage, and commitment timestamp. An integration test should seed multiple commitments and verify all are present and correctly shaped.
Scope
- Seed a funded invoice with three investor commitments of different amounts
- Call the investor list endpoint for that invoice
- Assert all three investors are returned with correct amount and share percentage
- Assert share percentages sum to 100%
- Assert a different seller cannot access the investor list for an invoice they do not own (expect 403)
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The investor list endpoint on a funded invoice should return every investor commitment with their wallet (truncated), amount, share percentage, and commitment timestamp. An integration test should seed multiple commitments and verify all are present and correctly shaped.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram