Preview pre-closure of a loan
Calculates and returns a preview of all amounts required to pre-close a loan, including principal outstanding, accrued interest, fees, taxes, and total payable amount.
Header Parameters
Tenant identifier for the request.
Request Body
application/json
The loan identifier to preview pre-closure for.
The entity (customer) identifier.
Effective date for pre-closure calculation.
dateResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://uat-m2p-ccms.m2pfintech.com/loan/preClose/preview" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "loanId": "string", "entityId": "string" }'{
"loanId": "string",
"totalPayableAmount": 0,
"principal": 0,
"interest": 0,
"interestTax": 0,
"processingFee": 0,
"processingFeeTax": 0,
"preClosureFee": 0,
"preClosureFeeTax": 0,
"totalFee": 0,
"totalTax": 0,
"pendingEmiCount": 0,
"loanAmount": 0
}{
"code": "string",
"message": "string",
"details": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"code": "string",
"message": "string",
"details": "string",
"timestamp": "2019-08-24T14:15:22Z"
}{
"code": "string",
"message": "string",
"details": "string",
"timestamp": "2019-08-24T14:15:22Z"
}Pre-close all active loans for an entity POST
Initiates pre-closure of all active loans for a given entity. Supports optional configuration to waive or charge pre-closure fees. Returns a list of successfully and unsuccessfully pre-closed loan IDs.
Apply a block code to an entity POST
Applies a specific block code to a customer's credit account, restricting certain operations. Requires specifying the entity, block code type, reason, and the inducer (who is applying the block).
