Skip to content

General Insurance

This guide covers issuing general insurance policies using the Inshuwa API.

Every step below is runnable. Set your key once, fill in the request, press Try it out, and read the real response without leaving the page — see Running requests from the guide.

Set it once and every Try it out below is authenticated. It stays in this browser's local storage and is never sent anywhere but the API.

Overview

General insurance covers non-motor, non-life, non-travel products such as property, fire, engineering, and liability insurance.

Choose your issuance flow

General supports three of the four issuance flows.

Prepaid — Inshuwa collectsAccount-settled — PayLater / external
Quotation firstA. quotation → POST /payments/{quoteId}/payC. quotation → POST /policies/{quoteId}/issue
Instant (one call)D. POST /policies/instant/issue

The general issue endpoints never collect a premium — POST /policies/{quoteId}/issue always settles externally, and POST /policies/instant/issue carries no payment block. For the prepaid path, pay the quotation with POST /payments/{quoteId}/pay, which issues the policy once the payment confirms.

Step 1: Create a Policyholder

Register an individual
Reference →
POST/policyholders/individuals

Playground

Authorization
Body
Or register a company
Reference →
POST/policyholders/corporates

Playground

Authorization
Body

Step 2: Select a Product

Browse products
Reference →
GET/products

Playground

Authorization
Variables
Key
Value

Flow A: Pay the quotation (prepaid)

Paying issues the policy — there is no separate issue call on this path. The response is Pending until the payer approves; poll the reference and the transaction status returns the issued policy.

Pay for the quotation
Reference →
POST/payments/{quoteId}/pay

Playground

Authorization
Variables
Key
Value
Body
Check payment status
Reference →
GET/payments/transactions/{reference}/status

Playground

Authorization
Variables
Key
Value

Flow C: Issue a quotation (account-settled)

Issues immediately against your account's external settlement arrangement.

Issue from the quotation
Reference →
POST/policies/{quoteId}/issue

Playground

Authorization
Variables
Key
Value

Flow D: Instant issue (account-settled)

Supply the policyholder and risk inline. No payment block — the premium is settled outside the gateway.

Instant issue
Reference →
POST/policies/instant/issue

Playground

Authorization
Body

Renew a Policy

Renew the policy
Reference →
POST/policies/{policyId}/renew

Playground

Authorization
Variables
Key
Value
Body

View Policies

Lists all policies across all lines — motor, life, travel and general.

List all policies
Reference →
GET/policies

Playground

Authorization
Variables
Key
Value

Built with ❤️ by Hobbiton Technologies