cURL
curl --request POST \ --url https://demoapi.saasphereltd.com/api/v1/loans/repayment-schedule \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "loan_product_id": 1, "loan_amount": 500000, "tenor": 12, "first_repayment_date": "<any>", "fee": 5000 } '
{ "status": "00", "message": "Successful", "data": { "monthly_repayment": 45000, "periodic_repayment": 45000, "total_repayment": 540000, "total_interest": 40000, "schedule": [] } }
Paste only the token (no "Bearer " prefix).
The loan product ID.
1
The loan amount.
500000
The loan tenor in months.
12
optional Additional fees.
5000
"00"
"Successful"
Show child attributes