Preview loan cancellation amounts
Calculates and returns a preview of the amounts payable or waiveable for cancelling a loan. Indicates breakdown of principal, interest, taxes, and fees based on chosen actions for interest and charges.
Header Parameters
Tenant identifier for the request.
Request Body
application/json
The loan identifier to preview cancellation for.
The entity (customer) identifier.
Action to take on an amount component during loan cancellation.
"WAIVE" | "COLLECT"Action to take on an amount component during loan cancellation.
"WAIVE" | "COLLECT"Effective date for cancellation calculation.
dateOptional transaction ID reference.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://uat-m2p-ccms.m2pfintech.com/loan/cancel/preview" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "loanId": "string", "entityId": "string" }'{
"loanId": "string",
"principal": 0,
"interest": 0,
"interestTax": 0,
"fee": 0,
"feeTax": 0,
"totalPayableAmount": 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"
}Cancel a loan POST
Executes the cancellation of a loan. Reverses loan disbursement, collects or waives outstanding interest and charges based on the specified actions. An external transaction ID can optionally be provided.
Check eligibility for entire outstanding loan conversion POST
Checks whether the entity is eligible to convert their entire outstanding credit card balance into an EMI-based loan. Returns available tenure/interest options and eligible outstanding amounts.
