Renewals
A renewal carries a policy into a new term at its anniversary date. This page explains how a renewal project runs, how you record the customer's decision on it over the API, and how to see when the platform will open and close it.
Renewal projects
If renewal is active for a product, you can configure when the renewal project should be created relative to the policy's end date (renewal.renewalPeriod in the product configuration). For example, you can decide to create a renewal project
two months before the end of the policy. When that date is reached, Korint will automatically create a renewal project that follows a similar lifecycle to new business:
- The renewal project is created
- A custom step can be set up to edit this project, if the product needs it. For example, it can compute a certain score and edit the policy to have this new score.
- A quote is proposed and automatically locked in for the renewal project, if the product is configured so that the price changes at renewal
- The customer can review the renewal project and accept or refuse it — see Accepting or refusing a renewal. A refusal does not close the project straight away: at the anniversary date the project is closed and the policy is stopped.
- If the customer accepts, the renewal project is merged at the policy's anniversary date. If you select the tacit renewal option (
renewal.tacitRenewal), no customer acceptance is necessary and the policy will automatically renew at its anniversary date unless the renewal is refused.
However, the edition and quote steps can also be manual. In that case, the responsible user (e.g., broker/ops) must perform those steps and then proceed with the renewal flow. The edition step allows you to edit assets, policies, and customers. The allowed fields are configured in the product config. If the manual steps are not performed, the project continues anyway. So on a product that does not re-quote at renewal, if the renewal is supposed to be merged but no new quote has been provided, the previous one is kept and the policy is extended for another period.
Accepting or refusing a renewal
A renewal project is a branch of type
RENEWAL on the policy. Once it is open:
- Find it by listing the policy's open renewal branches with
GET /policies/{policyId}/branches, filtered onbranchType=RENEWALandbranchStatus=BRANCH_OPEN(reference). - Record the customer's decision on that branch with
POST /renewal/policies/{policyId}/branches/{branchId}/finalize-renewal, passingfinalizationTypeasACCEPTEDorREFUSEDin the query string (reference). The response body is empty ({}).
The call only records the decision. The branch stays BRANCH_OPEN and its renewalStatus becomes
RENEWAL_ACCEPTED or RENEWAL_REFUSED. While the branch is open, calling again with the other value
replaces the earlier decision.
At the anniversary date, the scheduled merge reads the decision:
- Accepted — the branch is merged and the policy continues into its new term.
- Refused — the branch is closed with
closeReasonRENEWAL_REFUSED, and the policy is stopped with effect from the anniversary date. The stop reason is thepolicyStopReasonof the product'srenewal.cancellationConfigsentry whosetriggerisRENEWAL_REFUSED; without that entry the merge fails and nothing is stopped. - No decision — the branch is merged if the product has
renewal.tacitRenewal, and handled as a refusal otherwise.
A policy that is already stopped, or has a stop taking effect on or before the anniversary, does not
renew: its open renewal branch is closed without being merged, whatever the decision. With
scheduled stops, a stop counts
once it has executed and stoppedAt is set: if it has not executed when the merge runs, the merge
applies the decision as though no stop were scheduled.
If another branch on the policy merges while the renewal branch is open — a mid-term change, for
instance — the renewal branch is closed with closeReason CONCURRENT_BRANCH_MERGED. If the policy is
still due to renew, a new renewal branch is opened, without the earlier decision. Record the decision
again on the new branch: without tacit renewal, an undecided branch counts as a refusal.
Declaring a claim on the policy or one of its assets (POST /claims) can also replace the renewal
branch. If a renewal branch is open and the claim's occurredAt is earlier than the start of the
renewal period (renewal.renewalPeriod before the anniversary), the branch is closed with
closeReason PARTITION_DROPPED and a new renewal branch is opened, without the earlier decision.
This is the case for a claim that occurred during the term and is declared once the renewal branch is
open. Record the decision again on the new branch.
Closing the renewal branch yourself (invalidate a branch) is not a refusal either. Unless another renewal branch is opened before the anniversary, the merge finds none open, so the policy is neither renewed nor stopped for a refusal.
On a product that re-quotes at renewal (renewal.quoteAtRenewal), a branch whose status is still
POLICY_CREATED at the anniversary can be held back: it is not merged, and stays open.
The call refuses a branch it cannot finalize:
409 CONFLICTING_BRANCH_TYPE— the branch is not aRENEWALbranch.409 CONFLICTING_BRANCH_STATUS— the branch is no longer open: it has already been merged or closed.404 BRANCH_NOT_FOUNDor404 POLICY_NOT_FOUND— the branch or the policy does not exist.
Seeing what is scheduled
Renewals run on a yearly cycle anchored on the policy's start date, and nothing notifies you when a step runs. Two scheduled tasks normally drive a renewal-enabled product:
renewal-creationrunsrenewal.renewalPeriodbefore the anniversary and opens the renewal branch.renewal-mergeruns on the anniversary and applies the decision as described above.
GET /policies/{policyId}/recurring-tasks lists the tasks planned for a policy, day by day
(reference); its permission comes with the
POLICY_ADMIN role. Pass from (today by default) and days (1 to
366, 1 by default) to choose the window. Each entry in plans carries the day in whenAt and the
planned tasks in tasks, whose task field names them; days with no task are left out, and a policy
that could not be planned appears in failures instead. The list is computed from the schedule, not
from what has already run, so a planned task can still find nothing to do — a renewal-creation run
on a policy that already has an open renewal branch, for instance.
End of term
Whether a policy continues past its term is governed by its renewal configuration rather than by any separate expiry mechanism. With tacit renewal, a policy renews automatically at its anniversary date unless the renewal is refused. Without tacit renewal, the renewal must be accepted for the policy to continue; otherwise it stops at its anniversary date. A policy can also be stopped explicitly, and a refused renewal stops it at the anniversary date.
On a product with renewal disabled (renewal.enabled is false) and renewal.stopAtTerm set, the
platform opens no renewal project: the policy is stopped automatically at the end of its term, with the
stop reason in renewal.stopConfig.policyStopReason. This runs as the renewal-disabled-stop task in
the planned tasks list. With renewal disabled and stopAtTerm unset, no renewal task runs at the
term: the policy is neither renewed nor stopped.
The exact end-of-term behavior depends on the product's renewal configuration, which you can read in the renewal object of GET /config/{productId}. There is no separate "expire at end date" behavior independent of renewals.