Pre-close all active loans for an entity
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.
Header Parameters
Tenant identifier for multi-tenancy support
Request Body
application/json
Unique entity identifier of the customer
Effective date for pre-closure (ISO date format)
dateAction for pre-closure charges (default: CHARGE)
"WAIVE" | "CHARGE"Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://uat-m2p-ccms.m2pfintech.com/statement/loan/preCloseAll" \ -H "TENANT: string" \ -H "Content-Type: application/json" \ -d '{ "entityId": "string" }'{
"successLoanIds": [
"string"
],
"failedLoanIds": [
"string"
]
}{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}{
"code": "string",
"message": "string",
"details": "string"
}Get paginated statement data for an entity POST
Returns a paginated list of statement summary records for a given entity. Results can be filtered by year and/or month. Each record contains financial totals, due amounts, reward points, and statement metadata.
Preview pre-closure of a loan POST
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.
