SetFinalLoanAmountCommand
Overview​
Sets the final approved loan amount on a loan application. This is the binding figure used for disbursement calculations, repayment schedule generation, and fee computation.
Command Structure​
{
"cmd": "SetFinalLoanAmountCommand",
"data": "{\"loanRequestId\":110,\"amount\":450000,\"comment\":\"Final approved amount after credit committee review\"}"
}
Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
loanRequestId | long | Yes | ID of the loan application |
amount | decimal | Yes | Final approved loan amount |
comment | string | No | Approval notes |
Validations​
- Loan must be in
NotInitiated,PendingApproval, orPartialApprovalstate amountmust not exceed the original requested amountamountmust meet the product's configured minimum amount
Difference from SetRecommendedLoanAmountCommand​
| Command | Sets field | Binding? |
|---|---|---|
SetRecommendedLoanAmountCommand | LoanAmountRecommended | No — advisory |
SetFinalLoanAmountCommand | LoanAmount | Yes — used for disbursement |
Response​
{
"ok": true,
"statusCode": "00",
"message": "Final loan amount set successfully.",
"outData": {
"LoanRequestId": 110,
"comment": "Final approved amount after credit committee review"
}
}