Sanlam

Connect the following endpoint to buy and manage content insurance from Sanlam.

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

Buy Home Content Cover

Buy Sanlam home content cover for your customers.

POST https://api.mycover.ai/v1/products/sanlam/buy-home-content

Request Body

NameTypeDescription

plan*

string

The coverage plan is one of FlexiHome-Bronze, FlexiHome-Silver, FlexiHome-Gold, FlexiHome-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": "50a67b6e-f38d-4626-8d18-121ef437a127",
        "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": "da5f7f6f-e868-4782-bb35-df6e3344ae7d",
        "product_category_id": "9e9d5fe0-2129-41a5-9f44-9c9fe90b3855",
        "provider_id": "63dbfce7-a743-47bd-bc49-b95703054aa1",
        "meta": {
            "payload": {
                "Dob": "1992-04-01",
                "KYC": null,
                "Email": "baj.jon41413302@gmail.com",
                "Fname": "John",
                "Lname": "Doe",
                "Mname": "N/A",
                "Phone": "07114378506",
                "Gender": "Male",
                "PmtRef": "ec61edb2-b5b5-4603-a3cb-2083ef4d6b3e",
                "UserId": "uec.jon41413302@gmail.com",
                "Address": "Surulere, Lagos, Lagos",
                "AgentId": "001",
                "AmtPaid": 7500,
                "PayDate": "2023-12-20",
                "RiskDetl": "6c3f8d27-2622-4dbd-828d-eba86ed248f1",
                "ChannelId": "WEB",
                "CoverType": "Comprehensive - FlexiHome Bronze",
                "ProductId": "FHB0001",
                "Occupation": "N/A",
                "Nationality": "Nigerian",
                "ProductClassId": "HH"
            },
            "policy_number": "12/P/WEB/HH/00000176/23/20",
            "certificate_url": "https://www.fbngi-ecosystem.com/Apps/webservice/Test/hh_ecertificate.php?MyPolNum=12/P/WEB/HH/00000176/23/20&MyEmail=baj.jon41413302@gmail.com"
        },
        "genius_price": 7500,
        "market_price": 7500,
        "purchase_id": "8615c711-ab2e-4d54-b6db-a4cf0d9178c5",
        "profit": 1500,
        "submitted_to_provider": true,
        "updated_at": "2023-12-20T15:46:23.089Z",
        "created_at": "2023-12-20T15:46:23.089Z",
        "deleted_at": null,
        "inspection_id": null
    }
}
Sample Request 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": "FlexiHome-Bronze",
    "identification_name": "Drivers License",
    "identification_url": "https://via.placeholder.com/300/09f/fff.png",
    "product_id": "da5f7f6f-e868-4782-bb35-df6e3344ae7d"
}
Auxiliary

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

Last updated