Skip to content

Digital Insurance Infrastructure API for distributing insurance products through your digital touchpoints.

Contact

Servers

https://partner-dev-api.inshuwa.com/api/v1Development server

Individuals


Get all individuals

GET
/policyholders/individuals

Returns a paginated list of individual clients registered under your partner account.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Query Parameters

Query
Type
string
FirstName
Type
string
LastName
Type
string
IdNumber
Type
string
PhoneNumber
Type
string
Email
Type
string
PageNumber
Type
integer
PageSize
Type
integer

Responses

Paginated list of individuals

application/json
JSON
{
  
"totalItems": 0,
  
"pageSize": 0,
  
"pageNumber": 0,
  
"totalPages": 0,
  
"data": [
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Create Individual

POST
/policyholders/individuals

Register a new individual client (policyholder). Required fields: firstName, lastName, phoneNumber, email, idNumber, idType. The returned id is used when creating quotations.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"email": "string",
  
"phoneNumber": "26021312312",
  
"physicalAddress": "string",
  
"firstName": "string",
  
"lastName": "string",
  
"idNumber": "string",
  
"gender": "string",
  
"idType": "string"
}

Responses

Individual policyholder created

application/json
JSON
{
  
"id": "string",
  
"email": "string",
  
"phoneNumber": "string",
  
"physicalAddress": "string",
  
"firstName": "string",
  
"lastName": "string",
  
"idNumber": "string",
  
"idType": "string",
  
"gender": "string",
  
"type": "string",
  
"status": "string",
  
"createdAt": "string",
  
"updatedAt": "string"
}

Playground

Authorization
Body

Samples


Get individual by ID

GET
/policyholders/{id}/individuals

Returns a single individual client by hashed ID.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required

Responses

Individual policyholder

application/json
JSON
{
  
"id": "string",
  
"email": "string",
  
"phoneNumber": "string",
  
"physicalAddress": "string",
  
"firstName": "string",
  
"lastName": "string",
  
"idNumber": "string",
  
"idType": "string",
  
"gender": "string",
  
"type": "string",
  
"status": "string",
  
"createdAt": "string",
  
"updatedAt": "string"
}

Playground

Authorization
Variables
Key
Value

Samples


Corporates


Get all corporates

GET
/policyholders/corporates

Returns a paginated list of corporate clients registered under your partner account.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Query Parameters

Query
Type
string
PageNumber
Type
integer
PageSize
Type
integer

Responses

Paginated list of corporates

application/json
JSON
{
  
"totalItems": 0,
  
"pageSize": 0,
  
"pageNumber": 0,
  
"totalPages": 0,
  
"data": [
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Create Corporate

POST
/policyholders/corporates

Register a new corporate client (policyholder). Required fields: name, email, phoneNumber, taxPayerId (TPIN). The returned id is used when creating quotations.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"email": "string",
  
"bankDetail": {
  
  
"name": "string",
  
  
"branch": "string",
  
  
"accountNumber": "string",
  
  
"swiftCode": "string",
  
  
"accountName": "string"
  
},
  
"phoneNumber": "string",
  
"physicalAddress": "string",
  
"name": "string",
  
"taxPayerId": "string",
  
"postalAddress": "string",
  
"registrationNumber": "string",
  
"contactPerson": "string",
  
"contactPersonPhoneNumber": "string"
}

Responses

Corporate policyholder created

application/json
JSON
{
  
"id": "string",
  
"email": "string",
  
"phoneNumber": "string",
  
"physicalAddress": "string",
  
"name": "string",
  
"taxPayerId": "string",
  
"postalAddress": "string",
  
"registrationNumber": "string",
  
"contactPerson": "string",
  
"contactPersonPhoneNumber": "string",
  
"type": "string",
  
"status": "string",
  
"createdAt": "string"
}

Playground

Authorization
Body

Samples


Get corporate by ID

GET
/policyholders/{id}/corporates

Returns a single corporate client by hashed ID.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required

Responses

Corporate policyholder

application/json
JSON
{
  
"id": "string",
  
"email": "string",
  
"phoneNumber": "string",
  
"physicalAddress": "string",
  
"name": "string",
  
"taxPayerId": "string",
  
"postalAddress": "string",
  
"registrationNumber": "string",
  
"contactPerson": "string",
  
"contactPersonPhoneNumber": "string",
  
"type": "string",
  
"status": "string",
  
"createdAt": "string"
}

Playground

Authorization
Variables
Key
Value

Samples


Get client vehicles

GET
/policyholders/{id}/vehicles

Returns all vehicles registered under a client.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required

Query Parameters

Status
Type
string
Valid values
"HasPolicy""NoPolicy"
PageNumber
Type
integer
PageSize
Type
integer

Responses

List of vehicles

application/json
JSON
{
  
"totalItems": 0,
  
"pageSize": 0,
  
"pageNumber": 0,
  
"totalPages": 0,
  
"data": [
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Create vehicle

POST
/policyholders/{id}/vehicles

Register a new vehicle for a client. Required fields: make, model, yearOfManufacture, registrationNumber, chassisNumber, engineNumber, motorRiskCategoryId.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*

Client ID

Type
string
Required

Request Body

application/json
JSON
[
  
{
  
  
"make": "Toyota",
  
  
"model": "Hilux",
  
  
"yearOfManufacture": 2020,
  
  
"capacity": 1950,
  
  
"tonnage": 0,
  
  
"seatingCapacity": 5,
  
  
"photosUrls": [
  
  
  
"string"
  
  
],
  
  
"registrationNumber": "BCC1234",
  
  
"chassisNumber": "string",
  
  
"engineNumber": "string",
  
  
"color": "string",
  
  
"sumInsured": 0,
  
  
"motorRiskCategoryId": 0
  
}
]

Responses

Vehicle created

application/json
JSON
{
  
"id": "string",
  
"make": "string",
  
"model": "string",
  
"yearOfManufacture": 0,
  
"registrationNumber": "string",
  
"chassisNumber": "string",
  
"engineNumber": "string",
  
"capacity": 0,
  
"tonnage": 0,
  
"seatingCapacity": 0,
  
"sumInsured": 0,
  
"color": "string",
  
"photosUrls": [
  
  
"string"
  
]
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Search vehicles

GET
/policyholders/vehicles/search

Search for vehicles by registration number, chassis number, or engine number. Also returns insurance status.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Query Parameters

regNumber*

Vehicle registration number

Type
string
Required

Responses

Vehicle details

application/json
JSON
{
  
"id": "string",
  
"make": "string",
  
"model": "string",
  
"yearOfManufacture": 0,
  
"registrationNumber": "string",
  
"chassisNumber": "string",
  
"engineNumber": "string",
  
"capacity": 0,
  
"tonnage": 0,
  
"seatingCapacity": 0,
  
"sumInsured": 0,
  
"color": "string",
  
"photosUrls": [
  
  
"string"
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Get all products

GET
/products

Returns a paginated list of all insurance products available to your partner account, across all lines of business (motor, travel, general, life). Use the returned product id when creating quotations.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Query Parameters

Query
Type
string
PageNumber
Type
integer
PageSize
Type
integer

Responses

Paginated list of products

application/json
JSON
{
  
"totalItems": 0,
  
"pageSize": 0,
  
"pageNumber": 0,
  
"totalPages": 0,
  
"data": [
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Get all motor products

GET
/products/motor

Returns motor insurance products available to your partner account, including risk categories and premium rates. The response includes thirdPartyRates and comprehensiveRates arrays.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Query Parameters

PageNumber
Type
integer
PageSize
Type
integer

Responses

Motor products list

application/json
JSON
{
  
"totalItems": 0,
  
"pageSize": 0,
  
"pageNumber": 0,
  
"totalPages": 0,
  
"data": [
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Get product by ID

GET
/products/{productId}

Returns a single product by its hashed ID, including full package and benefit details.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

productId*
Type
string
Required

Responses

Product details

application/json
JSON
{
  
"id": "string",
  
"name": "string",
  
"description": "string",
  
"insurer": "string",
  
"packages": [
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Get all travel products

GET
/products/travel

Returns travel insurance products with package details and pricing tiers. Each product contains packages with destination coverage, benefits, and premium amounts.

Authorizations

BearerAuth
Type
HTTP (bearer)

Responses

Travel products

application/json
JSON
[
  
{
  
}
]

Playground

Authorization

Samples


Get all life products

GET
/products/life

Returns life/micro-insurance products available to your partner account. Each product contains benefit tiers, coverage amounts, and premium rates.

Authorizations

BearerAuth
Type
HTTP (bearer)

Responses

Life products

application/json
JSON
[
  
{
  
}
]

Playground

Authorization

Samples


Get life product by ID

GET
/products/life/{productId}

Returns a single life product by its hashed ID with full benefit and coverage details.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

productId*
Type
string
Required

Responses

Life product details

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value

Samples


Motor quotation inquiry

POST
/quotations/motor/inquiry

Get a quick premium estimate for a motor insurance product without creating a formal quotation.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"productId": "string",
  
"vehicleId": "string",
  
"startDate": "string",
  
"duration": 0,
  
"quarters": 0
}

Responses

Quotation inquiry result

application/json
JSON
{
}

Playground

Authorization
Body

Samples


Motor quotation comparison

POST
/quotations/motor/comparison

Compare premiums across multiple motor insurance products for the same vehicle and coverage period.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"vehicleId": "string",
  
"startDate": "string",
  
"duration": 0,
  
"quarters": 0
}

Responses

Comparison results

application/json
JSON
[
  
{
  
}
]

Playground

Authorization
Body

Samples


Get motor quotations

GET
/quotations/motor

Returns a paginated list of motor quotations.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Query Parameters

StartDate
Type
string
Format
"date-time"
EndDate
Type
string
Format
"date-time"
ClientId
Type
string
Query
Type
string
PageNumber
Type
integer
PageSize
Type
integer

Responses

Paginated list of motor quotations

application/json
JSON
{
  
"totalItems": 0,
  
"pageSize": 0,
  
"pageNumber": 0,
  
"totalPages": 0,
  
"data": [
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Create motor quotation

POST
/quotations/motor

Create a formal motor insurance quotation. Returns a quoteId used to issue a policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"productId": "string",
  
"vehicleId": "string",
  
"clientId": "string",
  
"startDate": "string",
  
"duration": 0,
  
"quarters": 0
}

Responses

Motor quotation created

application/json
JSON
{
  
"id": "string",
  
"premium": 0,
  
"status": "string"
}

Playground

Authorization
Body

Samples


Travel Quotations


Get travel quotations

GET
/quotations/travel

Returns a list of travel quotations.

Authorizations

BearerAuth
Type
HTTP (bearer)

Responses

List of travel quotations

application/json
JSON
[
  
{
  
}
]

Playground

Authorization

Samples


Create travel quotation

POST
/quotations/travel

Create a travel insurance quotation. Returns a quoteId used to issue a policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"packageId": "string",
  
"clientId": "string",
  
"destination": "string",
  
"startDate": "string",
  
"policyHolder": {
  
  
"firstName": "string",
  
  
"lastName": "string",
  
  
"email": "string",
  
  
"phoneNumber": "string",
  
  
"idNumber": "string",
  
  
"idType": "string",
  
  
"gender": "string",
  
  
"physicalAddress": "string"
  
},
  
"beneficiaries": [
  
  
{
  
  
}
  
]
}

Responses

Travel quotation created

application/json
JSON
{
}

Playground

Authorization
Body

Samples


Get travel quotation by ID

GET
/quotations/{quoteId}/travel

Returns a single travel quotation by its ID.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

quoteId*
Type
string
Required

Responses

Travel quotation

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value

Samples


Issue travel policy

POST
/quotations/{quoteId}/travel

Issue a travel policy by paying for a travel quotation.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

quoteId*
Type
string
Required

Request Body

application/json
JSON
{
  
"mobileMoneyAccountNumber": "string",
  
"cardDetails": {
  
},
  
"reference": "string"
}

Responses

Travel policy issued

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Instant issue travel policy

POST
/quotations/travel/instant-issue

Create, quote, and issue a travel policy in a single step with payment.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"packageId": "string",
  
"clientId": "string",
  
"destination": "string",
  
"startDate": "string",
  
"policyHolder": {
  
  
"firstName": "string",
  
  
"lastName": "string",
  
  
"email": "string",
  
  
"phoneNumber": "string",
  
  
"idNumber": "string",
  
  
"idType": "string",
  
  
"gender": "string",
  
  
"physicalAddress": "string"
  
},
  
"beneficiaries": [
  
  
{
  
  
}
  
],
  
"mobileMoneyAccountNumber": "string",
  
"cardDetails": {
  
},
  
"reference": "string"
}

Responses

Travel policy issued instantly

application/json
JSON
{
}

Playground

Authorization
Body

Samples


Renew and pay travel policy

POST
/policies/travel/{policyId}/renew/pay

Renew a travel insurance policy with payment.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Request Body

application/json
JSON
{
  
"startDate": "string",
  
"endDate": "string",
  
"destination": "string",
  
"reference": "string",
  
"payment": {
  
}
}

Responses

Travel policy renewed and paid

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Get travel policy certificate

GET
/quotations/{policyId}/travel/documents/certificate

Download the insurance certificate for a travel policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Responses

Travel policy certificate

application/pdf

Playground

Authorization
Variables
Key
Value

Samples


Get travel policies

GET
/quotations/travel/policies

Returns a list of issued travel insurance policies.

Authorizations

BearerAuth
Type
HTTP (bearer)

Responses

List of travel policies

application/json
JSON
[
  
{
  
}
]

Playground

Authorization

Samples


Get travel policy by ID

GET
/quotations/travel/policies/{policyId}

Returns a single travel insurance policy by its ID.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Responses

Travel policy details

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value

Samples


Life Quotations


Get life quotations

GET
/quotations/life

Returns a list of life insurance quotations.

Authorizations

BearerAuth
Type
HTTP (bearer)

Responses

List of life quotations

application/json
JSON
[
  
{
  
}
]

Playground

Authorization

Samples


Create life quotation

POST
/quotations/life

Create a life insurance quotation. Returns a quoteId used to issue a policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"startDate": "string",
  
"packageId": "string",
  
"clientId": "string",
  
"policyHolder": {
  
  
"firstName": "string",
  
  
"lastName": "string",
  
  
"email": "string",
  
  
"phoneNumber": "string",
  
  
"idNumber": "string",
  
  
"idType": "string",
  
  
"gender": "string",
  
  
"physicalAddress": "string"
  
},
  
"nextOfKin": {
  
},
  
"beneficiaries": [
  
  
{
  
  
}
  
],
  
"beneficiaryAddonAmmount": 0
}

Responses

Life quotation created

application/json
JSON
{
}

Playground

Authorization
Body

Samples


Get life quotation by ID

GET
/quotations/{quoteId}/life

Returns a single life insurance quotation by its ID.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

quoteId*
Type
string
Required

Responses

Life quotation

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value

Samples


Issue life policy

POST
/quotations/{quoteId}/life

Issue a life policy by paying for a life quotation.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

quoteId*
Type
string
Required

Request Body

application/json
JSON
{
  
"mobileMoneyAccountNumber": "string",
  
"cardDetails": {
  
},
  
"reference": "string"
}

Responses

Life policy issued

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Instant issue life policy

POST
/quotations/life/instant-issue

Create, quote, and issue a life policy in a single step with payment.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"startDate": "string",
  
"packageId": "string",
  
"clientId": "string",
  
"nextOfKin": {
  
},
  
"beneficiaries": [
  
  
{
  
  
}
  
],
  
"beneficiaryAddonAmmount": 0,
  
"mobileMoneyAccountNumber": "string",
  
"cardDetails": {
  
},
  
"reference": "string"
}

Responses

Life policy issued instantly

application/json
JSON
{
}

Playground

Authorization
Body

Samples


Renew and pay life policy

POST
/policies/life/{quoteId}/renew/pay

Renew a life insurance policy with payment.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

quoteId*
Type
string
Required

Request Body

application/json
JSON
{
  
"startDate": "string",
  
"endDate": "string",
  
"reference": "string",
  
"payment": {
  
}
}

Responses

Life policy renewed and paid

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Get life policy certificate

GET
/quotations/{policyId}/life/documents/certificate

Download the insurance certificate for a life policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Responses

Life policy certificate

application/pdf

Playground

Authorization
Variables
Key
Value

Samples


Get life policies

GET
/quotations/life/policies

Returns a list of issued life insurance policies.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Query Parameters

Statuses
Type
string

Responses

List of life policies

application/json
JSON
[
  
{
  
}
]

Playground

Authorization
Variables
Key
Value

Samples


Get life policy by ID

GET
/quotations/life/policies/{policyId}

Returns a single life insurance policy by its ID.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Responses

Life policy details

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value

Samples


Payments


Pay for quotation

POST
/payments/{quoteId}/pay

Initiate a payment for a motor insurance quotation. Supports mobile money (Airtel, MTN, Zamtel), card (Visa/Mastercard), and mobile banking.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

quoteId*
Type
string
Required

Request Body

application/json
JSON
{
  
"reference": "string",
  
"payment": {
  
  
"method": "string",
  
  
"mobileMoneyAccountNumber": "string",
  
  
"cardDetails": {
  
  
}
  
}
}

Responses

Payment initiated

application/json
JSON
{
  
"status": "string",
  
"reference": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Get transaction status

GET
/payments/transactions/{reference}/status

Check the status of a payment transaction by its reference number.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

reference*
Type
string
Required

Responses

Transaction status

application/json
JSON
{
  
"reference": "string",
  
"status": "string",
  
"amount": 0,
  
"currency": "string"
}

Playground

Authorization
Variables
Key
Value

Samples


Issue motor policy

POST
/policies/motor/{quoteId}/issue

Issue a motor insurance policy from an existing paid quotation.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

quoteId*
Type
string
Required

Query Parameters

reference
Type
string

Responses

Motor policy issued

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value

Samples


Instant issue motor policy

POST
/policies/motor/instant/issue

Create and issue a motor policy in a single step without a separate quotation.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"productId": "string",
  
"vehicleId": "string",
  
"clientId": "string",
  
"startDate": "string",
  
"duration": 0,
  
"quarters": 0
}

Responses

Motor policy issued instantly

application/json
JSON
{
}

Playground

Authorization
Body

Samples


Instant issue and pay motor policy

POST
/policies/motor/instant/issue/pay

Create, issue, and pay for a motor policy in a single step.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"productId": "string",
  
"vehicleId": "string",
  
"clientId": "string",
  
"startDate": "string",
  
"duration": 0,
  
"quarters": 0,
  
"reference": "string",
  
"payment": {
  
}
}

Responses

Motor policy issued and paid

application/json
JSON
{
}

Playground

Authorization
Body

Samples


Renew motor policy

POST
/policies/motor/{policyId}/renew

Renew an existing motor insurance policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Request Body

application/json
JSON
{
  
"quarters": 0,
  
"duration": 0,
  
"startDate": "string"
}

Responses

Motor policy renewed

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Renew and pay motor policy

POST
/policies/motor/{policyId}/renew/pay

Renew and pay for a motor insurance policy in a single step.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Request Body

application/json
JSON
{
  
"quarters": 0,
  
"duration": 0,
  
"startDate": "string",
  
"reference": "string",
  
"payment": {
  
}
}

Responses

Motor policy renewed and paid

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Extend motor policy

POST
/policies/motor/{policyId}/extend

Extend an existing motor insurance policy duration.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Request Body

application/json
JSON
{
  
"quarters": 0
}

Responses

Motor policy extended

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Extend and pay motor policy

POST
/policies/motor/{policyId}/extend/pay

Extend and pay for a motor insurance policy in a single step.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Request Body

application/json
JSON
{
  
"quarters": 0,
  
"reference": "string",
  
"payment": {
  
}
}

Responses

Motor policy extended and paid

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Get motor policies

GET
/policies/motor

Returns a paginated list of motor insurance policies.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Query Parameters

Statuses
Type
array
StartDate
Type
string
Format
"date-time"
EndDate
Type
string
Format
"date-time"
ClientId
Type
string
Query
Type
string
PageNumber
Type
integer
PageSize
Type
integer

Responses

Paginated list of motor policies

application/json
JSON
{
  
"totalItems": 0,
  
"pageSize": 0,
  
"pageNumber": 0,
  
"totalPages": 0,
  
"data": [
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Get motor policy by reference

GET
/policies/motor/{referenceId}

Returns a motor insurance policy by its reference ID.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

referenceId*
Type
string
Required

Responses

Motor policy details

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value

Samples


Get motor risk categories

GET
/policies/motor/risk-categories

Returns the list of motor insurance risk categories (e.g., private, commercial, PSV).

Authorizations

BearerAuth
Type
HTTP (bearer)

Responses

List of risk categories

application/json
JSON
[
  
{
  
}
]

Playground

Authorization

Samples


Get policy by vehicle registration

GET
/policies/motor/vehicle/{registrationNumber}

Returns the active motor policy for a vehicle by its registration number.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

registrationNumber*
Type
string
Required

Responses

Motor policy for vehicle

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value

Samples


Get policy schedule document

GET
/policies/motor/{id}/documents/schedule

Download the policy schedule PDF for a motor insurance policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required

Responses

Policy schedule PDF

application/pdf

Playground

Authorization
Variables
Key
Value

Samples


Get insurance certificate

GET
/policies/motor/{id}/documents/certificate

Download the insurance certificate PDF for a motor insurance policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required

Responses

Insurance certificate PDF

application/pdf

Playground

Authorization
Variables
Key
Value

Samples


Get payment receipt

GET
/policies/motor/{id}/documents/receipt

Download the payment receipt PDF for a motor insurance policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required

Responses

Payment receipt PDF

application/pdf

Playground

Authorization
Variables
Key
Value

Samples


Calculate extension premium

POST
/policies/motor/{policyId}/extension/premiums

Calculate the premium amount for a motor policy extension.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Request Body

application/json
JSON
{
  
"duration": 0,
  
"startDate": "string"
}

Responses

Extension premium calculation

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Calculate renewal premium

POST
/policies/motor/{policyId}/renew/premiums

Calculate the premium amount for a motor policy renewal.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Request Body

application/json
JSON
{
  
"duration": 0,
  
"startDate": "string"
}

Responses

Renewal premium calculation

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


General Policies


Issue general policy

POST
/policies/{policyId}/issue

Issue a general insurance policy from a quotation.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Request Body

application/json
JSON
{
  
"endDate": "string"
}

Responses

General policy issued

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Renew general policy

POST
/policies/{policyId}/renew

Renew an existing general insurance policy.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

policyId*
Type
string
Required

Request Body

application/json
JSON
{
  
"startDate": "string",
  
"endDate": "string"
}

Responses

General policy renewed

application/json
JSON
{
}

Playground

Authorization
Variables
Key
Value
Body

Samples


Instant issue general policy

POST
/policies/instant/issue

Create and issue a general insurance policy in a single step.

Authorizations

BearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"productId": "string",
  
"quarters": 0,
  
"currency": "ZMW",
  
"startDate": "string",
  
"policyHolder": {
  
  
"firstName": "string",
  
  
"lastName": "string",
  
  
"email": "string",
  
  
"phoneNumber": "string",
  
  
"idNumber": "string",
  
  
"idType": "string",
  
  
"gender": "string",
  
  
"physicalAddress": "string"
  
},
  
"risks": [
  
  
{
  
  
}
  
]
}

Responses

General policy issued instantly

application/json
JSON
{
}

Playground

Authorization
Body

Samples


Get all policies

GET
/policies

Returns a paginated list of all insurance policies.

Authorizations

BearerAuth
Type
HTTP (bearer)

Parameters

Query Parameters

PageNumber
Type
integer
PageSize
Type
integer

Responses

Paginated list of policies

application/json
JSON
{
  
"totalItems": 0,
  
"pageSize": 0,
  
"pageNumber": 0,
  
"totalPages": 0,
  
"data": [
  
]
}

Playground

Authorization
Variables
Key
Value

Samples


Insurers

Insurer information

Operations


Get all insurers

GET
/insurers

Returns the list of insurance companies available on the Inshuwa platform.

Authorizations

BearerAuth
Type
HTTP (bearer)

Responses

List of insurers

application/json
JSON
[
  
{
  
  
"id": "string",
  
  
"name": "string",
  
  
"code": "string"
  
}
]

Playground

Authorization

Samples


Built with ❤️ by Hobbiton Technologies