Skip to main content
GET
/
api
/
v1
/
products
/
{product_name}
Retrieve a product by name
curl --request GET \
  --url https://dev.superpool.unyte.africa/api/v1/products/{product_name}/ \
  --header 'X-API-Key: <api-key>'
{
  "id": "de210257-05d4-41fe-8e99-66f4b1a4b759",
  "coverages": [],
  "provider": {
    "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
    "provider_name": "SimpleServer Insurance Group",
    "email": "[email protected]"
  },
  "created_at": "2025-02-12 17:21",
  "updated_at": "2025-02-12 17:21",
  "is_trashed": "false",
  "trashed_at": "null",
  "restored_at": "null",
  "name": "Life Insurance",
  "description": "Long-term life insurance scheme.",
  "product_type": "Life",
  "base_premium": "5000.00",
  "is_live": "true",
  "origin_product_id": 2147483647,
  "product_plan": "Standard",
  "pricing": {
    "amount": "5000.00",
    "tax": "500.00",
    "surcharges": "0.00",
    "total_price": "5500.00"
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

product_name
string
required

Response

Product details

Serializer for the Product model

id
string<uuid>
required

Unique identifier for the package

name
string
required

Name of the package offered by the insurance provider

Maximum string length: 255
product_type
enum<string>
required

Type of insurance package

  • Life - Life Insurance
  • Health - Health Insurance
  • Auto - Auto Insurance
  • Cargo - Cargo (Shipment) Insurance
  • Gadget - Gadget Insurance
  • Travel - Travel Insurance
  • Home - Home Insurance
  • Student_Protection - Student Protection
  • Accident - Accident Insurance
  • Personal_Accident - Personal Accident Insurance
  • CreditLife - Credit Life Insurance
  • PetCare - PetCare Insurance
  • General - General Insurance
  • Other - Other
Available options:
Life,
Health,
Auto,
Cargo,
Gadget,
Travel,
Home,
Student_Protection,
Accident,
Personal_Accident,
CreditLife,
PetCare,
General,
Other
product_plan
string | null
required

The plan or tier of the product (e.g., Basic, Premium, or any custom plan)

Maximum string length: 255
coverages
object[]
required
pricing
object
required

Serializer for the Price model with limited fields (only amount and currency)

provider
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null

Description of the package

base_premium
string<decimal>

Base premium (Estimate) price if no tiers or tenures are defined