`POST /v1/loans/{id}/repay`
POST/v1/loans/:id/repay
Posts WITHDRAWAL from the borrower to the loan account, then splits the
amount across the schedule's buckets in the declared precedence and
persists the split so the repayment is explainable afterwards.
apply a repayment in the product's order.
Request
Responses
- 200
- 404
- 409
- 502
Loan not found
Loan is not disbursed
Ledger refused the posting