Sanlam

Certain properties obtain their values from supplementary endpoints. Refer to the Auxiliary page for a list of these additional endpoints.

Buy Personal Accident Cover Insurance

POST https://api.mycover.ai/v1/products/sanlam/buy-personal-accident

Request Body

NameTypeDescription

plan*

string

The coverage plan is one of FlexiGuard-Silver, FlexiGuard-Gold, and FlexiGuard-Platinum

address*

string

Customer's address of recidence

first_name*

string

Customer's legal first name

last_name*

string

Customer's legal last name

email*

string

Customer's valid email address

phone_number*

string

Customer's valid phone number

date_of_birth*

string

Customer's date of birth

gender*

string

Customer's gender

product_id*

string

ID of the product

state*

string

Customer's state of residence

identification_name*

string

Type of identity. Must be one of [Drivers License, NIN, International Passport, Phone number]

identification_url*

string

Link to the identification file. Must be a picture file (jpg, png)

{
    "responseCode": 1,
    "responseText": "policy purchase successful",
    "data": {
        "id": "c3ce4f6f-105f-41e9-9485-124e0dbe665c",
        "app_mode": "test",
        "active": true,
        "first_name": "John",
        "last_name": "Doe",
        "email": "jon41413302@gmail.com",
        "dob": "1992-04-01",
        "phone": "07114378506",
        "start_date": "2023-12-20T00:00:00.000Z",
        "expiration_date": "2024-12-20T00:00:00.000Z",
        "activation_date": "2023-12-20T00:00:00.000Z",
        "distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
        "customer_id": "43af8e11-afbb-40ec-beb4-85486ff438f1",
        "buyer_id": "43af8e11-afbb-40ec-beb4-85486ff438f1",
        "product_id": "c94e6f5e-e868-4782-bb35-df6e3344ae7d",
        "product_category_id": "9d78bc79-3fa8-447d-b688-e42c1c6838a0",
        "provider_id": "63dbfce7-a743-47bd-bc49-b95703054aa1",
        "meta": {
            "payload": {
                "Dob": "1992-04-01",
                "KYC": null,
                "Email": "kbc.jon41413302@gmail.com",
                "Fname": "John",
                "Lname": "Doe",
                "Mname": "N/A",
                "Phone": "07114378506",
                "Gender": "Male",
                "PmtRef": "e44148c2-9139-4b36-a6fc-6483ad0911bf",
                "UserId": "iim.jon41413302@gmail.com",
                "Address": "Surulere, Lagos, Lagos",
                "AgentId": "001",
                "AmtPaid": 1500,
                "PayDate": "2023-12-20",
                "RiskDetl": "e600c270-ea25-4d6b-993f-b1dc10decb26",
                "ChannelId": "WEB",
                "CoverType": "Comprehensive - FlexiGuard Silver",
                "ProductId": "FGS0001",
                "Occupation": "N/A",
                "Nationality": "Nigerian",
                "ProductClassId": "PA"
            },
            "policy_number": "12/P/WEB/PA/00000207/23/20",
            "certificate_url": "https://www.fbngi-ecosystem.com/Apps/Test/webservice/pa_ecertificate.php?MyPolNum=12/P/WEB/PA/00000207/23/20&MyEmail=kbc.jon41413302@gmail.com"
        },
        "genius_price": 1500,
        "market_price": 1500,
        "purchase_id": "2c2a144b-52a4-4b7d-8135-7e712a1c61e5",
        "profit": 300,
        "submitted_to_provider": true,
        "updated_at": "2023-12-20T12:24:15.439Z",
        "created_at": "2023-12-20T12:24:15.439Z",
        "deleted_at": null,
        "inspection_id": null
    }
}
Sample payload
{
    "first_name": "John",
    "last_name": "Doe",
    "email": "jon41413302@gmail.com",
    "phone_number": "07114378506",
    "date_of_birth": "1992-04-01",
    "gender": "Male",
    "address": "Surulere, Lagos",
    "state": "Lagos",
    "plan": "FlexiGuard-Silver",
    "identification_name": "Drivers License",
    "identification_url": "https://via.placeholder.com/300/09f/fff.png",
    "product_id": "c94e6f5e-e868-4782-bb35-df6e3344ae7d"
}

Certain properties obtain their values from supplementary endpoints. Refer to the Auxiliary page for a list of these additional endpoints.

Last updated