mycover.ai
  • Home
  • Distributor
  • 🚀Getting Started
    • Quickstart
    • Environments
    • Authentication
    • Testing
    • Errors
    • Go Live Checklist
    • FAQs
  • 🔌Libraries & SDKs
    • Javascript
    • Vue 2
    • Vue 3
    • React
    • Flutter
    • Android
    • React Native
    • iOS
  • 📦api reference
    • Products
      • 🚘Auto
        • Aiico
        • Leadway
        • MyCoverGenius
        • Sovereign Trust
        • Coronation
        • Tangerine
        • Sanlam
      • ♥️Health
        • Hygeia
          • Hyprime Insurance
          • Hybasic Insurance
        • Bastion
          • Bastion Health
          • MediSure
        • Malaria Cover
      • 💞Personal Accident Cover
        • Aiico
        • Leadway
        • Sanlam
      • 🏠Content (Home/Office)
        • Aiico
        • Coronation
        • Sanlam
      • ✈️Travel
        • Allianz
        • Aiico
      • 💵Life Insurance
        • Credit Life
        • SME Flex
        • Flex Life
      • 🚚Goods In Transit
        • Goods In Transit (GIT)
        • Goods In Transit (GIT) On-demand
      • 💻Gadget
        • Sovereign Trust Insurance
        • Coronation
        • Tangerine
      • 🛳️Marine Insurance ✨
        • MyCoverGenius Import Marine Cover
        • Marine Cover
    • Policies
    • Claims
      • Credit Life
    • Wallet
    • Transactions
    • Customers
    • Auxiliary
      • Products
        • Bulk Purchase
  • 🧳Services
    • Webhooks
      • Validation
      • Purchase Webhook
      • Renewal Webhook
    • Messaging
Powered by GitBook
On this page

Was this helpful?

  1. api reference
  2. Products
  3. Marine Insurance ✨

MyCoverGenius Import Marine Cover

The policy covers the risks of loss of or damage to the packages insured.

PreviousMarine Insurance ✨NextMarine Cover

Last updated 1 year ago

Was this helpful?

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

Buy MyCoverGenius Import Marine Cover

Use this end-point to buy MyCoverGenius Import Marine Cover.

POST https://api.mycover.ai/v1/products/heirs/buy-marine-import-cover

Request Body

Name
Type
Description

first_name*

string

Company's admin first name

last_name*

string

Company's admin last name

email*

string

Company's admin valid email address

phone_number*

string

Company's admin valid phone number

cargo_value*

number

Cost of the cargo

country_of_origin*

string

Where is the cargo shipped from?

product_id*

string

Product ID

cargo_description

string

Description of the cargo

destination_country*

string

Where is the cargo shipped to?

shipping_date*

string

When is it being shipped?

bill_of_lading*

string

Link to the Bill of Lading

certificate_of_origin*

string

Link to the certificate of origin

{
    "responseCode": 1,
    "responseText": "Purchase Successful",
    "data": {
        "policy": {
            "id": "9ce37263-da2e-48d5-9dec-f3afb1ad8484",
            "app_mode": "test",
            "active": true,
            "first_name": "Masue",
            "last_name": "Eden",
            "email": "masus323@gmail.com",
            "dob": null,
            "phone": "09044556744",
            "start_date": "2024-02-13T00:00:00.000Z",
            "expiration_date": "2025-02-13T00:00:00.000Z",
            "activation_date": "2024-02-13T00:00:00.000Z",
            "distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
            "customer_id": "02d02662-bcf5-461e-808b-a58df729fae7",
            "buyer_id": "02d02662-bcf5-461e-808b-a58df729fae7",
            "product_id": "fac0811f-1e4b-464c-a26f-2826f0a2b9a4",
            "product_category_id": "14fb5968-48d2-49ac-88a8-0ee40e01fcca",
            "provider_id": "63dbfce7-a743-47bd-bc49-b95703054aa1",
            "meta": {
                "payload": {
                    "email": "masus323@gmail.com",
                    "phone": "09044556744",
                    "last_name": "Eden",
                    "first_name": "Masue",
                    "cargo_value": 50000,
                    "shipping_date": "2024-02-13T13:35:51.143Z",
                    "bill_of_lading": "https://via.placeholder.com/300/09f/fff.png",
                    "cargo_description": "A container of leader",
                    "country_of_origin": "Germany",
                    "destination_country": "Nigeria",
                    "certificate_of_origin": "https://via.placeholder.com/300/09f/fff.png"
                },
                "policy_number": "HRS/MRN/2024/2/WJP266759",
                "certificate_url": null,
                "provider_policy_id": null
            },
            "genius_price": 225,
            "market_price": 225,
            "purchase_id": "fb2a7e5d-9ff5-40f8-96e1-cf3da70efec8",
            "profit": 45,
            "submitted_to_provider": true,
            "updated_at": "2024-02-13T14:01:20.310Z",
            "created_at": "2024-02-13T14:01:20.310Z",
            "deleted_at": null,
            "inspection_id": null
        }
    }
}
Sample Request Payload
{
    "first_name": "Masue",
    "last_name": "Eden",
    "email": "masus323@gmail.com",
    "phone_number": "09044556744",
    "cargo_value": 50000,
    "cargo_description": "A container of leader",
    "country_of_origin": "Germany",
    "destination_country": "Nigeria",
    "shipping_date": "2024-02-13T13:35:51.143Z",
    "bill_of_lading": "https://via.placeholder.com/300/09f/fff.png",
    "certificate_of_origin": "https://via.placeholder.com/300/09f/fff.png",
    "product_id": "fac0811f-1e4b-464c-a26f-2826f0a2b9a4"
}

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

📦
🛳️
Auxiliary
Auxiliary
Auxiliary