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 ✨

Marine Cover

The policy covers the risks of loss or damage to the packages insured during shipment by Sovereign Trust Insurance.

PreviousMyCoverGenius Import Marine CoverNextPolicies

Last updated 10 months ago

Was this helpful?

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

Buy Marine Cover By STI (Capped or Uncapped)

Use this end-point to buy Marine Cover by STI

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

Request Body

Name
Type
Description

first_name*

string

The first name

last_name*

string

The last name

email*

string

A valid email address

phone_number*

string

A valid phone number

cargo_details*

{ "description": string, "value": number, "quantity": number, "image": string }[]

List if the cargo items.

cargo_value*

number

The total value of the cargo items. It must tally with the sum of all the cargo_details.value's.

country_of_origin*

string

Country where the items are shipped from.

destination_country*

string

Country where the items are shipped to.

shipping_date*

string

When is it being shipped?

product_id*

string

UUID of the insurance product

{
    "responseCode": 1,
    "responseText": "Purchase Successful",
    "data": {
        "policy": {
            "id": "2e9de064-f07b-4f49-914a-63060847a7d8",
            "app_mode": "test",
            "active": true,
            "first_name": "Masue",
            "last_name": "Eden",
            "email": "masus323@gmail.com",
            "dob": null,
            "phone": "09044556744",
            "start_date": "2024-08-13T00:00:00.000Z",
            "expiration_date": "2024-09-13T00:00:00.000Z",
            "activation_date": "2024-08-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": "d2e1f4ad-0b8a-452f-a876-78bef8dde1d9",
            "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": 5000,
                    "cargo_details": [
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 5000,
                            "quantity": 1,
                            "description": "A container of leader"
                        }
                    ],
                    "shipping_date": "2024-08-13T13:35:51.143",
                    "country_of_origin": "Nigeria",
                    "destination_country": "China"
                },
                "mca_payload": {
                    "email": "masus323@gmail.com",
                    "last_name": "Eden",
                    "first_name": "Masue",
                    "product_id": "d2e1f4ad-0b8a-452f-a876-78bef8dde1d9",
                    "cargo_value": 5000,
                    "phone_number": "09044556744",
                    "cargo_details": [
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 5000,
                            "quantity": 1,
                            "description": "A container of leader"
                        }
                    ],
                    "shipping_date": "2024-08-13T13:35:51.143",
                    "country_of_origin": "Nigeria",
                    "destination_country": "China"
                },
                "policy_number": "MAR/MO/08/2024/HQ/1679",
                "certificate_url": "https://preview.pdfmonkey.io/pdf/web/viewer.html?file=https%3A%2F%2Fpreview.pdfmonkey.io%2Fdocument-render%2F940ddbe2-6431-4e09-a9c7-03652bd22ab9%2Fuva2TL7XujHdSk_5cszRQ5QBaUDG9__Y",
                "provider_policy_id": null
            },
            "genius_price": 1000,
            "market_price": 1000,
            "purchase_id": "afd16568-f87d-4a91-afba-604ab1045d2f",
            "profit": 260,
            "submitted_to_provider": true,
            "updated_at": "2024-08-07T12:24:43.794Z",
            "created_at": "2024-08-07T12:24:42.587Z",
            "history": null,
            "deleted_at": null
        }
    }
}
Sample Request Payload
{
    "first_name": "Masue",
    "last_name": "Eden",
    "email": "masus323@gmail.com",
    "phone_number": "09044556744",
    "cargo_details": [
        {
            "description": "A container of leader",
            "value": 5000,
            "quantity": 1,
            "image": "https://via.placeholder.com/300/09f/fff.png"
        }
    ],
    "cargo_value": 5000,
    "country_of_origin": "Nigeria",
    "destination_country": "China",
    "shipping_date": "2024-08-13T13:35:51.143",
    "product_id": "d2e1f4ad-0b8a-452f-a876-78bef8dde1d9"
    // "product_id": "252c66de-6e87-4109-a515-83ee142fe70c" // Capped
}

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

📦
🛳️
Auxiliary
Auxiliary
Auxiliary