VitalGuard

Get affordable health insurance plans with access to phamacies for your customers.

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

Buy VitalGuard

Use this endpoint to give your customers the VitalGuard insurance from Bastion

POST https://api.mycover.ai/v1/products/bastion/buy-vitalguard

Request Body

Name
Type
Description

first_name*

string

First name of the buyer

last_name*

string

Last name of the buyer

email*

string

Email address of the buyer

phone_number*

string

Phone number of the buyer

gender*

string

Male or Female

image_url*

string

The URL of buyers's passport image

date_of_birth*

string

Date of birth of the buyer

payment_plan*

number

The number of months or weeks you are paying for depending on the selected product

product_id*

string

This is the product id

The product id can be any of the following "31556935-2af4-4e1c-af45-35ccccc124eb" for VitalGuard Weekly, "31556935-2af4-4e1c-af45-35ccccc125fc" for VitalGuard Plus Weekly , "31556935-2af4-4e1c-af45-35ccccc123da" for VitalGuard Monthly and "31556935-2af4-4e1c-af45-35ccccc123db" for VitalGuard Plus Monthly.

{
    "responseCode": 1,
    "responseText": "Purchase Successful",
    "data": {
        "policy": {
            "id": "cb5cf399-88e8-4a82-9cdc-bc6f0cca9941",
            "app_mode": "test",
            "active": true,
            "first_name": "Ken",
            "last_name": "Jim",
            "email": "[email protected]",
            "dob": "1997-12-12",
            "phone": "09095104478",
            "start_date": "2025-07-02T09:35:08.000Z",
            "expiration_date": "2025-08-02T09:35:08.000Z",
            "activation_date": "2025-07-02T09:35:08.000Z",
            "distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
            "customer_id": "916c28bb-ec70-4a2d-b6ea-07794b139513",
            "buyer_id": "916c28bb-ec70-4a2d-b6ea-07794b139513",
            "product_id": "31556935-2af4-4e1c-af45-35ccccc124eb",
            "product_category_id": "9d78bc79-3fa8-447d-b688-e42c1c6838a0",
            "provider_id": "0ef7f726-19e1-438c-87aa-574ca1718726",
            "meta": {
                "id_image": "https://via.placeholder.com/300/09f/fff.png",
                "payment_plan": 1,
                "hmo_policy_id": "100005512",
                "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/269e57f2-f780-479a-9fc3-4fdd7d3a8371-Ken"
            },
            "genius_price": 55000,
            "market_price": 55000,
            "purchase_id": "696f1224-13f1-40ea-89dd-b0d2834d7737",
            "profit": 725,
            "submitted_to_provider": true,
            "updated_at": "2025-07-02T09:35:12.625Z",
            "created_at": "2025-07-02T09:35:08.014Z",
            "history": null,
            "deleted_at": null
        }
    }
}
// Sample Request Payload
{
    "first_name": "Ken",
    "last_name": "Jim",
    "email": "[email protected]",
    "phone_number": "09095104478",
    "gender": "Male",
    "image_url": "https://via.placeholder.com/300/09f/fff.png",
    "date_of_birth": "1997-12-12",
    "payment_plan": 1,
    "product_id": "fe672d5d-5038-4fab-a48e-833211023a37"
}

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

Last updated

Was this helpful?