RemoveLoanDeductionCommand
Overview​
Removes a deduction from a loan application by its code. Returns details of the deleted deduction.
Command Structure​
{
"cmd": "RemoveLoanDeductionCommand",
"data": "{\"loanRequestId\":110,\"code\":\"CLI\"}"
}
Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
loanRequestId | long | Yes | ID of the loan application |
code | string | Yes | Code of the deduction to remove |
Validations​
- Deduction with the given
codemust exist on the loan — returns an error if not found
Response​
{
"ok": true,
"statusCode": "00",
"message": "Deduction removed successfully.",
"outData": {
"Id": 7,
"Name": "Credit Life Insurance",
"Code": "CLI",
"DisbursementFee": 1.0,
"DisbursementFeeCalculation": 1,
"CreatedBy": "finance.officer",
"CreatedAt": "2026-06-10T10:00:00Z"
}
}