flow-pie/chamaa.api

Create Loan Request Endpoint

Open

#20 geöffnet am 1. Nov. 2025

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)HTML (4 Forks)auto 404
good first issuehelp wantedpayment

Repository-Metriken

Stars
 (3 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide