MyCoverGenius

Get affordable health insurance plans with access to over 1000 hospitals for your customers.

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

Buy Flexicare/Zencare Plan

Use this endpoint to give your customers healthcare insurance on your integration.

Please be aware that whether you intend to purchase Flexicare or Zencare plan, you should send the corresponding API calls to identical endpoints using the same payloads.

POST https://api.mycover.ai/v1/products/mcg/buy-flexi-care

Request Body

Name
Type
Description

payment_plan*

number

The number of months you are buying for

gender*

string

Male or Female

image_url*

string

The URL of buyers's passport image

first_name*

string

First name of the buyer

last_name*

string

Last name of the buyer

email*

string

Email address of the buyer

dob*

string

Date of birth of the buyer

phone*

string

Phone number of the buyer

product_id*

string

This is the ID of the insurance plan.

{
    "responseCode": 1,
    "responseText": "Purchase Successful",
    "data": {
        "policy": {
            "id": "dbd95ad2-14f9-4491-b8a6-b4e97f0d7b72",
            "app_mode": "test",
            "active": true,
            "first_name": "Vic",
            "last_name": "Man",
            "email": "glitzyken17@gmail.com",
            "dob": "2013-06-06",
            "phone": "09030601468",
            "start_date": "2024-07-03T02:17:57.000Z",
            "expiration_date": "2024-08-01T02:17:57.000Z",
            "activation_date": "2024-07-03T02:17:57.000Z",
            "distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
            "customer_id": "58f62ffb-6bb2-4612-85e1-d3dc91a88dba",
            "buyer_id": "58f62ffb-6bb2-4612-85e1-d3dc91a88dba",
            "product_id": "901dca29-d514-415d-abd9-1d2b9c532828",
            "product_category_id": "9d78bc79-3fa8-447d-b688-e42c1c6838a0",
            "provider_id": "0ef7f726-19e1-438c-87aa-574ca1718726",
            "meta": {
                "payload": {
                    "plan_id": "39",
                    "customer": {
                        "dob": "2013-06-06",
                        "city": 1,
                        "phone": "09030601468",
                        "state": 1,
                        "gender": "Male",
                        "address": "My residential address",
                        "country": 164,
                        "lastName": "Man",
                        "relation": "Self",
                        "firstName": "Vic",
                        "maritalStatus": 1
                    },
                    "policyId": "2058",
                    "reference": "GLEFYNDDCP"
                },
                "id_image": "https://via.placeholder.com/300/09f/fff.png",
                "payment_plan": 1,
                "hmo_policy_id": "100005514",
                "provider_expiry": "2025-05-08 23:59:59",
                "provider_policy_id": "2058",
                "id_card_url": "https://s3.eu-west-2.amazonaws.com/staging.mycover.ai/734975ee-bdbd-45cf-ba58-eb1ae228b860-Vic"
            },
            "genius_price": 18000,
            "market_price": 18000,
            "purchase_id": "23335520-e705-44e8-b51c-914e3e43bdb0",
            "profit": 7110,
            "submitted_to_provider": true,
            "updated_at": "2024-07-02T14:17:59.893Z",
            "created_at": "2024-07-02T14:17:57.460Z",
            "history": null,
            "deleted_at": null
        }
    }
}
Sample Request Payload

{
  "payment_plan": 1,   
  "gender": "Male",
  "image_url": "https://via.placeholder.com/300/09f/fff.png",
  "first_name": "Vic",
  "last_name": "Man",
  "email": "glitzyken17@gmail.com",
  "dob": "2013-06-06",
  "phone": "09030601468",
  "product_id": "901dca29-d514-415d-abd9-1d2b9c532828" // Bastion
  // "product_id": "e6b4bca1-b870-4648-8704-11c1802a51d0" // Hygeia
}

View Healthcare Hospitals (Hygeia)

Call this API to list all the hospitals supported by Flexicare/Zencare.

GET https://api.mycover.ai/v1/products/mcg/flexi-care-hospitals

{
    "responseCode": 1,
    "responseText": "Hospitals Retrieved",
    "data": {
        "hospitals": [
            {
                "id": 15026,
                "name": "1325 Pharmacy (CPN NEXUS)",
                "location": "Oyo",
                "address": "Oyo",
                "type": 5
            },
            {
                "id": 14926,
                "name": "3-J Dental Clinic Limited",
                "location": "Rivers",
                "address": "Plot 101, East-West Road, Rumuodara, Port Harcourt, Rivers.",
                "type": 4
            },
            {
                "id": 13976,
                "name": "45 NAF Hospital, Makurdi",
                "location": "Benue",
                "address": "Airforce base, Gboko road, Makurdi",
                "type": 2
            }
            ...

View Healthcare Hospitals (Bastion)

For Bastion hospital list, see Get Hospital List.

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

Last updated