flow-pie/chamaa.api

Create Loan Request Endpoint

Open

#20 aperta il 1 nov 2025

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)HTML (4 fork)auto 404
good first issuehelp wantedpayment

Metriche repository

Star
 (3 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Design POST /api/v1/loans/request to allow members to request a loan. Request Body:

{ "member_id": "uuid", "amount": 15000, "purpose": "string", "duration_months": 6 }

Validate contribution threshold before eligibility

Auto-status: "pending"

Return loan request summary

Log event in loan_audit table

Guida contributor