Get a hosted checkout link
get_buy_linkBuild the MIB hosted-checkout link for a chosen offer (from compare_insurance_quotes). MOTOR REQUIRES the full details collected via get_purchase_requirements (vehicle + insured + next_of_kin) — without them this tool returns an error telling you what to collect. With them, the customer lands on a review summary of everything gathered in chat and only signs in and pays with Paystack — the agent never handles payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| insured | No | Auto: insured details — title, gender, address, city, state (2-letter code). | |
| insurer | Yes | Insurer code from the compare results (e.g. nsia, uic, heirs, emple). | |
| premium | Yes | The quoted annual premium in NGN. | |
| vehicle | No | Auto: the vehicle details from get_purchase_requirements (make, model, year, body_type, color, use, plate_number, chassis_number, engine_number, seats). | |
| plan_code | No | Plan code from the offer, when present. | |
| attributes | No | Other lines: the quote inputs to carry to checkout (plan_code, lives, travellers, device_type…). | |
| cover_type | No | Auto: 'comprehensive' or 'third party'. | |
| next_of_kin | No | Auto: next of kin — first_name, last_name, gender, phone, relationship. | |
| sum_insured | No | The value quoted on (vehicle/device value in NGN). | |
| product_type | Yes |