Allianz

Buy Allianz Travel Cover Insurance

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

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

Request Body

NameTypeDescription

nok_full_name*

String

Next of kin full name

nok_address*

String

Next of kin address

nok_relationship*

String

Relationship with next of kin

title*

String

Your personal title e.g Chief.

Head over to the auxiliary section and GET titles.

gender*

Boolean

Your gender. Can be one of [Male, Female]

passport_number*

String

International passport number

first_name*

String

Your first name

last_name*

String

Your last name

email*

String

Your email

phone_number*

String

Your phone number

date_of_birth*

String

Your date of birth

departure_date*

String

This is the date you want the insurance and start (Departure date)

arrival_date*

String

This is the date you want the insurance to end (Return date)

destination*

String

The destination country. Head over to the auxiliary section and GET /countries.

product_id*

String

The product id. Head over to the products page and GET all produts.

address*

String

Your home address

state*

String

Your state of residence e.g Lagos State. Head over to the auxiliary section and GET states.

nationality*

String

Your country of residence e.g Nigeria. Head over to the auxiliary section and GET /countries.

occupation*

String

Your occupation

marital_status*

String

Your marital status. Can be any of [Single, Married, Divorced, Widowed, Separated]

nok_phone_number*

String

Next of kin phone number

num_of_passengers*

Number

How many people are traveling

{
    "responseCode": 1,
    "responseText": "Price computed successfully",
    "data": {
        "id": "5d283f0e-2abe-46c7-b931-ca4b5400dc54",
        "app_mode": "test",
        "active": true,
        "first_name": "Wale",
        "last_name": "Adenuga",
        "email": "lo.wale9023@gmail.com",
        "dob": "1996-03-11",
        "phone": "08034567891",
        "start_date": "2023-12-14T00:00:00.000Z",
        "expiration_date": "2024-12-14T00:00:00.000Z",
        "activation_date": "2023-12-14T00:00:00.000Z",
        "distributor_id": "92e39bc5-6110-4dcb-8583-bc50c2e6922b",
        "customer_id": "03130bc1-51aa-4dc6-9dcf-647b2e2b62d1",
        "buyer_id": "03130bc1-51aa-4dc6-9dcf-647b2e2b62d1",
        "product_id": "c0e104ad-0b8a-452f-a876-78bef8dde1db",
        "product_category_id": "f3933c0d-ef7c-4287-90bd-744cf00c8426",
        "provider_id": "63dbfce7-a743-47bd-bc49-b95703054aa1",
        "meta": {
            "payload": {
                "Email": "lo.wale9023@gmail.com",
                "Address": "32, Ajewole Street, Igando Road",
                "QuoteId": 26765,
                "StateId": 25,
                "Surname": "Adenuga",
                "TitleId": 7,
                "ZipCode": "100252",
                "GenderId": 1,
                "FirstName": "Wale",
                "NextOfKin": {
                    "Address": "32, Ajewole Street, Igando Road",
                    "FullName": "Kehinde Adenuga",
                    "Telephone": "09134526789",
                    "Relationship": "Wife"
                },
                "Telephone": "08034567891",
                "MiddleName": "Wale",
                "Occupation": "Business man",
                "PassportNo": "B50485649",
                "DateOfBirth": "11-Mar-1996",
                "Nationality": "Nigeria",
                "MaritalStatusId": 2,
                "MedicalCondition": null,
                "IdentificationPath": null,
                "PreExistingMedicalCondition": false
            },
            "policy_number": "VASNGS200000568",
            "certificate_url": null,
            "provider_policy_id": null
        },
        "genius_price": 2641,
        "market_price": 2641,
        "purchase_id": "bfaca5e5-fc33-470b-bb98-75e83ed3f6c6",
        "profit": 528.2,
        "submitted_to_provider": true,
        "updated_at": "2023-12-14T11:46:22.440Z",
        "created_at": "2023-12-14T11:46:22.440Z",
        "deleted_at": null,
        "inspection_id": null
    }
}
Sample Payload
{
    "first_name": "Wale",
    "last_name": "Adenuga",
    "phone_number": "08034567891",
    "email": "lo.wale9023@gmail.com",
    "gender": "Male",
    "date_of_birth": "1996-03-11",
    "title": "Chief",
    "address": "32, Ajewole Street, Igando Road",
    "state": "Lagos State",
    "nationality": "Nigeria",
    "passport_number": "B50485649",
    "occupation": "Businessman",
    "marital_status": "Married",
    "nok_full_name": "Kehinde Adenuga",
    "nok_address": "32, Ajewole Street, Igando Road",
    "nok_relationship": "Wife",
    "nok_phone_number": "09134526789",
    "departure_date": "2023-12-15",
    "arrival_date": "2023-12-16",
    "destination": "France",
    "num_of_passengers": 1,
    "product_id": "c0e104ad-0b8a-452f-a876-78bef8dde1db"
}

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

Last updated