MyCoverGenius

The policy covers the risks of damage to the gadgets insured caused by screen damage, liquid spillage during the period of coverage.

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

Buy gadget insurance

Use this end-point to buy gadget insurance cover.

POST https://api.mycover.ai/v1/products/mcg/buy-gadget-cover

Request Body

NameTypeDescription

date_of_birth*

date

Supported format is "YYYY-MM-DD"

first_name*

string

Customer first name

last_name*

string

Customer last name

email*

string

Customer valid email address

phone_number*

string

Customer valid phone number

gender*

string

Supported values are "Male", "Female"

address*

string

Company's address

id_image_url*

string

Id image url gotten from uploading an image of the customer id. Check the miscellaneous section for file upload.

occupation*

string

Customer occupation

title*

string

Customer title eg. "Mr", "Mrs", "Miss", "Engr"

model_number*

string

Device model number

device_type*

string

Supported values are "Phone", "Laptop", "Others"

device_make*

string

Device make. eg Samsung

device_model*

string

Device model. eg. A50

device_color*

string

Color of the device. eg. black

imei_one*

string

Device imei number one

date_of_purchase*

date

Supported format is "YYYY-MM-DD"

device_value*

number

Price of the divice

device_serial_number*

string

Device serial number

imei_two

string

Device imei number two

device_about_image_url*

string

Screenshot of the device about image. Check the miscellaneous section for file upload.

{
    "responseCode": 1,
    "responseText": "Purchase Successful",
    "data": {
        "policy": {
            "id": "7dbdf1d1-f604-438b-954a-4194e97c225b",
            "app_mode": "test",
            "active": true,
            "first_name": "Wale",
            "last_name": "Jameson",
            "email": "dotunj@gmail.com",
            "dob": "2000-12-12",
            "phone": "08034567891",
            "start_date": "2023-09-14T10:16:16.000Z",
            "expiration_date": "2024-09-12T23:00:00.000Z",
            "activation_date": "2023-09-14T10:16:16.000Z",
            "distributor_id": "92e39bc5-6110-4dcb-8583-bc50c2e6922b",
            "customer_id": "3d4221c4-2b1c-40f4-ae22-cdab533d2f78",
            "buyer_id": "3d4221c4-2b1c-40f4-ae22-cdab533d2f78",
            "product_id": "ffb0711c-1e4a-453b-a26c-2726e0a1a7bb",
            "product_category_id": "1e87194d-5eb1-48b6-8837-a9cbc78d4ec3",
            "provider_id": "0ef7f726-19e1-438c-87aa-574ca1718726",
            "meta": {
                "payload": {
                    "dob": "2000-12-12",
                    "color": "Black",
                    "email": "dbn.dotunj@gmail.com",
                    "phone": "08034567891",
                    "gender": "male",
                    "address": "Lagos",
                    "id_image": "https://via.placeholder.com/300/09f/fff.png",
                    "imei_one": "590154203237519",
                    "last_name": "Jameson",
                    "first_name": "Wale",
                    "product_id": 5,
                    "owner_title": "Mr",
                    "gadget_value": 50000,
                    "model_number": "PSJGFH12",
                    "serial_number": "5CE0460D0F",
                    "gadget_brand_id": 1,
                    "gadget_model_id": 1,
                    "policy_start_date": "2023-09-13T10:16:14.858Z",
                    "gadget_category_id": 2,
                    "payment_interval_id": 1,
                    "about_device_screenshot": "https://via.placeholder.com/300/09f/fff.png"
                },
                "policy_number": null,
                "provider_policy_id": 19940,
                "device_serial_number": "5CE0460D0F"
            },
            "genius_price": 2000,
            "market_price": 2000,
            "purchase_id": "8b9cd914-ac96-45fd-bbbf-898b6d9e7cf6",
            "profit": 400,
            "submitted_to_provider": true,
            "updated_at": "2023-09-13T10:16:16.843Z",
            "created_at": "2023-09-13T10:16:16.843Z",
            "deleted_at": null,
            "inspection_id": null
        }
    }
}

Premium amount is 5% of the cost of the device for phones, 5% for laptops, and 5% for other devices.

Sample Request Payload
{
    "product_id": "ffb0711c-1e4a-453b-a26c-2726e0a1a7bb",
    "first_name": "Wale",
    "last_name": "Jameson",
    "phone_number": "08034567891",
    "email": "dotunj@gmail.com",
    "gender": "Male",
    "date_of_birth": "2000-12-12",
    "title": "Mr",
    "occupation": "Engineer",
    "address": "Lagos",
    "id_image_url": "https://via.placeholder.com/300/09f/fff.png",
    "device_type": "Phone",
    "device_make": "samsung",
    "device_model": "A13BT",
    "device_color": "Black",
    "device_about_image_url": "https://via.placeholder.com/300/09f/fff.png",
    "imei_one": "590154203237519",
    "imei_two": "774580203237581",
    "date_of_purchase": "2020-01-10",
    "device_value": 50000,
    "device_serial_number": "5CE0460D0F",
    "model_number": "PSJGFH12"
}

♻️ Renew gadget insurance policy

POST https://api.mycover.ai/v1/products/mcg/renew-mcg-gadget

Endpoint for renewing gadget insurance policy

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <YOUR_TOKEN>

Body

NameTypeDescription
policy_id

string

UUID of the policy

id_image_url

string

Id image url gotten from uploading an image of the customer id. Check the auxiliary section for the file upload endpoint.

device_about_image_url

string

Screenshot of the device about image. Check the miscellaneous section for file upload.

Response

{
    "responseCode": 1,
    "responseText": "renewal Successful",
    "data": {
        "policy": {
            "id": "bfd0232b-99bb-4ee0-8b60-196b7e6008f7",
            "app_mode": "test",
            "first_name": "Wale",
            "last_name": "Jameson",
            "email": "glitzyken17@gmail.com",
            "phone": "08034567891",
            "dob": "2000-12-12",
            "product_category_id": "1e87194d-5eb1-48b6-8837-a9cbc78d4ec3",
            "activation_date": "2024-02-27T00:00:00.000Z",
            "start_date": "2024-02-27T00:00:00.000Z",
            "expiration_date": "2026-02-26T00:00:00.000Z",
            "market_price": 2500,
            "genius_price": 2500,
            "profit": 500,
            "meta": {
                "payload": {
                    "email": "tbr.glitzyken17@gmail.com",
                    "gender": "male",
                    "address": "Lagos",
                    "last_name": "Jameson",
                    "first_name": "Wale",
                    "device_make": "samsung",
                    "device_type": "Phone",
                    "imei_number": "10410020230519",
                    "owner_title": "Mr",
                    "device_color": "Black",
                    "device_model": "AK3BLZ",
                    "device_value": 50000,
                    "id_image_url": "https://via.placeholder.com/300/09f/fff.png",
                    "model_number": "ZV1GQL15",
                    "phone_number": "08034567891",
                    "date_of_birth": "2000-12-12",
                    "device_serial_number": "ZVZ8460D0F",
                    "about_device_screenshot": "https://via.placeholder.com/300/09f/fff.png"
                },
                "policy_number": "ACC/AR/02/2024/HQ/8622",
                "certificate_url": "https://preview.pdfmonkey.io/pdf/web/viewer.html?file=https%3A%2F%2Fpreview.pdfmonkey.io%2Fdocument-render%2F67d1a3ab-b29c-4b8e-8faf-68cc6516e4d8%2FxyL299om32tSyHeNdKf-5-pwRiwsEJxw",
                "provider_policy_id": null,
                "device_serial_number": "ZVZ8460D0F"
            },
            "active": true,
            "submitted_to_provider": true,
            "created_at": "2024-02-27T11:51:54.295Z",
            "updated_at": "2024-02-27T11:55:08.380Z",
            "deleted_at": null,
            "product_id": "ffb0711c-1e4a-453b-a26c-2726e0a1a7bb",
            "customer_id": "a335e043-cfa8-4049-853a-a47d89813ea2",
            "buyer_id": "a335e043-cfa8-4049-853a-a47d89813ea2",
            "distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
            "provider_id": "63dbfce7-a743-47bd-bc49-b95703054aa1",
            "inspection_id": null,
            "purchase_id": "f7b2bc0c-3e2f-4c3b-85e4-b3d4c6d4c797"
        }
    }
}

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

Auxiliary

Last updated