Policy Loan Top-Up (MERL)

Process a loan top-up — a MERL (Mid-term Early Renewal Loan): the borrower clears their current loan partway through the term and immediately takes a fresh loan, and the insurance continues on the SAME policy. In one all-or-nothing transaction the active policy is resolved from the original loan reference, the current cover period is closed (superseded), a new cover period is opened for the new loan (family members carried forward unchanged), the policy end date is extended to the new loan end date, and the premium payment is booked. The new cover is priced by the product's normal pricing model with the product's configured top-up premium factor applied (default 50%).

The response body is the continued policy in the exact representation the policy-creation endpoint returns, so one parser serves both journeys. Requests are idempotent on the top-up loan reference: replaying an already-processed top-up returns the identical policy body again, with the informational response header X-Idempotent-Replay: true — nothing is created or charged twice.

Rejections return HTTP 400 with an ErrorResponse whose message carries one of these error keys:

Error keyMeaning
error.merl-policy-not-foundNo ACTIVE policy carries the original loan reference
error.merl-cover-not-foundThe policy has no active cover period to top up
error.merl-topup-not-supportedThe policy's product has not opted in to loan top-ups
error.organization-not-configuredThe calling API credential has no organization configured - contact Turaco support
error.merl-backdated-effective-dateThe effective date is backdated beyond the product's configured tolerance window
error.merl-invalid-end-dateThe new loan end date does not fall after the current cover's end date
error.merl-invalid-effective-dateThe effective date falls after the new loan end date or before the current cover's start date
error.merl-ineligible-week-windowThe loan is outside the product's configured eligible week window (default weeks 11–13)
error.merl-ineligible-loan-cycleThe borrower's loan cycle is below the product's configured minimum (default 3rd cycle)
error.merl-topup-failedThe top-up cover could not be created
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Loan top-up (MERL — Mid-term Early Renewal Loan) request

string
required

Loan reference of the loan being cleared — resolves the active policy being topped up

string | null

Loan account number of the new (top-up) loan. Recorded as sent and used as the duplicate-protection key; may be omitted or blank when the partner does not carry one

number
required

Principal of the new loan — sets the new credit-life sum insured and the top-up premium base. Must be positive

date
required

End date of the new loan — sets the new cover period end and the extended policy end date. Cover always tracks the loan; the term is never computed on our side

integer
required

The borrower's loan cycle number, used for the minimum-cycle eligibility rule. Supplied by the partner because it cannot be derived from our records

date | null

Effective date of the top-up cover; defaults to today when absent. May fall at most the product's configured backdating tolerance behind today

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json