Malaria Cover

Purchase and manage affordable Malaria health cover.

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

Buy Malaria Cover

Use this endpoint to buy affordable and convenient Malaria health cover

POST https://api.mycover.ai/v1/products/wella/buy-health-malaria

Request Body

NameTypeDescription

date_of_birth*

String

Customer's date of birth

gender*

String

Male or Female

address*

String

Customer's home address

image_url*

String

Passport image url

beneficiaries

Object

If the customer is adding additional beneficiaries to the policy. This field is optional.

first_name*

String

Customer's first name

last_name*

String

Customer's last name

email*

String

Customer's email

phone_number*

String

Customer's phone number

payment_plan*

String

Set a payment plan. Available options are Monthly, Quarterly, Bianually, Yearly

product_id*

String

Product id

number_of_beneficiaries

Number

The total number of beneficiaries set by the customer. The maximum is 5. This field is dependent on the "beneficiaries" field.

Sample Request Payload
{
  "date_of_birth": "1978-05-04",
  "gender": "Male",
  "address": "14th street, Lagos",
  "image_url": "https://via.placeholder.com/300/09f/fff.png",
  "beneficiaries": [
    {
      "first_name": "Sandra",
      "last_name": "Jones",
      "email": "sandrajones@example.org",
      "phone_number": "+2348026378277",
      "date_of_birth": "1989-05-04",
      "gender": "Female"
    }
  ],
  "first_name": "Emerson",
  "last_name": "Craig",
  "email": "johndoe@gmail.com",
  "phone_number": "+2349026378299",
  "payment_plan": "Monthly",
  "number_of_beneficiaries": 4,
  "product_id": "fab6bda1-b870-4648-8704-11c1802a51d0"
}

Renew Malaria Cover

POST https://api.mycover.ai/v1/products/wella/renew-wella-health

This endpoint renews a malaria cover by WellHealth

Body

NameTypeDescription

policy_id

string

UUID of the policy

Response

{
    "responseCode": 1,
    "responseText": "renewal Successful",
    "data": {
        "policy": {
            "id": "363c9658-32b4-4d97-a820-f63a163b528b",
            "app_mode": "test",
            "first_name": "Ken",
            "last_name": "Glitzy",
            "email": "glitzyken17@gmail.com",
            "phone": "+2349000000197",
            "dob": "1985-05-04",
            "product_category_id": "9d78bc79-3fa8-447d-b688-e42c1c6838a0",
            "activation_date": "2024-07-26T00:00:00.000Z",
            "start_date": "2024-07-26T00:00:00.000Z",
            "expiration_date": "2025-12-26T00:00:00.000Z",
            "market_price": 600,
            "genius_price": 600,
            "profit": 120,
            "meta": {
                "payload": {
                    "email": "glitzyken17@gmail.com",
                    "phone": "09000000197",
                    "amount": 600,
                    "gender": "Male",
                    "product": "Malaria",
                    "id_image": "https://via.placeholder.com/300/09f/fff.png",
                    "lastName": "Glitzy",
                    "location": "14th street, Lagos",
                    "agentCode": "WHPXTest10068",
                    "firstName": "Ken",
                    "dateCreated": "2024-07-26",
                    "dateOfBirth": "1985-05-04",
                    "paymentPlan": "Monthly",
                    "isBeneficiary": true,
                    "beneficiaryList": [],
                    "acquisitionChannel": "Agent"
                },
                "policy_number": "WEL/MLR/2024/7/LJJ217457",
                "certificate_url": null,
                "provider_policy_id": "1823032a338"
            },
            "history": null,
            "active": true,
            "submitted_to_provider": true,
            "created_at": "2024-07-26T21:16:58.905Z",
            "updated_at": "2024-07-29T07:32:42.372Z",
            "deleted_at": null,
            "product_id": "fab6bda1-b870-4648-8704-11c1802a51d0",
            "customer_id": "58f62ffb-6bb2-4612-85e1-d3dc91a88dba",
            "buyer_id": "58f62ffb-6bb2-4612-85e1-d3dc91a88dba",
            "distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
            "provider_id": "63dbfce7-a743-47bd-bc49-b95703054aa1",
            "purchase_id": "5a6b23d4-7926-418f-80d8-6c2b7c5c90a0",
            "product": {
                "route_name": "wella-health-malaria",
                "id": "fab6bda1-b870-4648-8704-11c1802a51d0"
            }
        }
    }
}
// Sample Request Payload

{
    "policy_id": "363c9658-32b4-4d97-a820-f63a163b528b"
}

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

Last updated