Skip to main content

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​

ParameterTypeRequiredDescription
loanRequestIdlongYesID of the loan application
amountdecimalYesFinal approved loan amount
commentstringNoApproval notes

Validations​

  • Loan must be in NotInitiated, PendingApproval, or PartialApproval state
  • amount must not exceed the original requested amount
  • amount must meet the product's configured minimum amount

Difference from SetRecommendedLoanAmountCommand​

CommandSets fieldBinding?
SetRecommendedLoanAmountCommandLoanAmountRecommendedNo — advisory
SetFinalLoanAmountCommandLoanAmountYes — 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"
}
}