InitiateRenewal a policy, carrying its outstanding loans into the new cover period
POST
/credit-life/policies/{policyId}/renew/loans
Authorizations
BearerAuth
Type
HTTP (bearer)
Parameters
Path Parameters
policyId*
Type
Requiredstring
Request Body
application/json
JSON "loans": [ { "fullName": "string", "nrcNumber": "string", "dateOfBirth": "string", "amount": 0, "startDate": "string", "endDate": "string", "partnerLoanReference": "string", "interestRate": 0 } ]
{
}
Responses
Send the whole outstanding book: rows already on cover come back under skipped rather than being covered and charged twice, so the batch is priced only for what is genuinely new.
application/json
JSON "id": "string", "number": "string", "status": "string", "type": "string", "totalLoans": 0, "loanAmount": 0, "netPremium": 0, "levy": 0, "grossPremium": 0, "amountReceipted": 0, "outstandingPremium": 0, "currency": "string", "createdAt": "string", "loans": [ { "id": "string", "clientName": "string", "nrcNumber": "string", "amount": 0, "coveredAmount": 0, "premiumRate": 0, "netPremium": 0, "levy": 0, "grossPremium": 0, "status": "string", "startDate": "string", "endDate": "string", "partnerLoanReference": "string", "interestRate": 0 } ], "skipped": [ { "nrcNumber": "string", "partnerLoanReference": "string", "existingLoanId": 0 } ]
{
}
