Goods In Transit (GIT) On-demand

The policy covers the risks of loss or damage to the goods insured in transit.

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

Buy Goods In Transit On-demand Insurance

Use this end-point to buy Goods in transit insurance by Sovereign Trust Insurance.

POST https://api.mycover.ai/v1/products/sti/buy-git-ondemand

Request Body

NameTypeDescription

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

address*

string

Address of the customer

pickup_location*

string

The pickup location

drop_off_location*

string

The dropoff location

shipping_date*

string

Date of shipping

vehicle_plate_number*

string

The plate number on the vehicle

vehicle_type*

string

vehicle_type must be one of the following values: Truck, Car, Bus, Motorcycle, Tricycle, Air Plane

item_value*

number

Total amount in value of the item

item_details*

object[]

An array of items in this format: [ { "description": string, "value": number, "quantity": number, "image": string } ]

product_id*

string

Product ID

Response

{
    "responseCode": 1,
    "responseText": "Purchase Successful",
    "data": {
        "policy": {
            "id": "a1a2a7ae-3f7d-4f0e-9ea4-25844dd6ca5e",
            "app_mode": "test",
            "active": true,
            "first_name": "Ken",
            "last_name": "Glitzy",
            "email": "glitzyken17@gmail.com",
            "dob": null,
            "phone": "09135104478",
            "start_date": "2024-07-02T01:16:40.000Z",
            "expiration_date": "2024-07-09T01:16:40.000Z",
            "activation_date": "2024-07-02T01:16:40.000Z",
            "distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
            "customer_id": "58f62ffb-6bb2-4612-85e1-d3dc91a88dba",
            "buyer_id": "58f62ffb-6bb2-4612-85e1-d3dc91a88dba",
            "product_id": "efb0811d-1e4b-453c-a26d-2726f0a1b7a7",
            "product_category_id": "14fb5968-48d2-49ac-88a8-0ee40e01fcca",
            "provider_id": "f13add1c-9eb8-41b3-82b1-a9cc26fde046",
            "meta": {
                "payload": {
                    "email": "glitzyken17@gmail.com",
                    "phone": "09135104478",
                    "address": "18, Providence, Lekki phase 1",
                    "last_name": "Glitzy",
                    "first_name": "Ken",
                    "item_value": 20000,
                    "item_details": [
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 5000,
                            "quantity": 1,
                            "description": "Remote Controller"
                        },
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 15000,
                            "quantity": 1,
                            "description": "LG Smart TV"
                        }
                    ],
                    "vehicle_type": "Truck",
                    "pickup_location": "18, Providence, Lekki phase 1",
                    "drop_off_location": "14, Aboh Avenue, Mebamu",
                    "vehicle_plate_number": "AGH-PHJ"
                },
                "mca_payload": {
                    "email": "glitzyken17@gmail.com",
                    "address": "18, Providence, Lekki phase 1",
                    "last_name": "Glitzy",
                    "first_name": "Ken",
                    "item_value": 20000,
                    "product_id": "efb0811d-1e4b-453c-a26d-2726f0a1b7a7",
                    "item_details": [
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 5000,
                            "quantity": 1,
                            "description": "Remote Controller"
                        },
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 15000,
                            "quantity": 1,
                            "description": "LG Smart TV"
                        }
                    ],
                    "phone_number": "09135104478",
                    "vehicle_type": "Truck",
                    "shipping_date": "2024-07-02",
                    "pickup_location": "18, Providence, Lekki phase 1",
                    "drop_off_location": "14, Aboh Avenue, Mebamu",
                    "vehicle_plate_number": "AGH-PHJ"
                },
                "policy_number": "MAR/MA/07/2024/HQ/0905",
                "certificate_url": null,
                "provider_policy_id": null
            },
            "genius_price": 1000,
            "market_price": 1000,
            "purchase_id": "39888689-1a33-40ac-9554-8bb96e60e54a",
            "profit": 200,
            "submitted_to_provider": true,
            "updated_at": "2024-07-02T13:16:40.933Z",
            "created_at": "2024-07-02T13:16:40.933Z",
            "history": null,
            "deleted_at": null
        }
    }
}
Sample Request Payload
{
    "first_name": "Ken",
    "last_name": "Glitzy",
    "email": "gliggaggy7@gmail.com",
    "phone_number": "09035100478",
    "address": "18, Providence, Lekki phase 1",
    "pickup_location": "18, Providence, Lekki phase 1",
    "drop_off_location": "14, Aboh Avenue, Mebamu",
    "shipping_date": "2024-07-02",
    "vehicle_plate_number": "AGH-PHJ",
    "vehicle_type": "Truck",
    "item_value": 20000,
    "item_details": [
        {
            "description": "Remote Controller",
            "value": 5000,
            "quantity": 1,
            "image": "https://via.placeholder.com/300/09f/fff.png"
        },
        {
            "description": "LG Smart TV",
            "value": 15000,
            "quantity": 1,
            "image": "https://via.placeholder.com/300/09f/fff.png"
        }
    ],
    "product_id": "efb0811d-1e4b-453c-a26d-2726f0a1b7a7"
}

Buy Goods In Transit On-demand Insurance (Capped)

Use this end-point to buy Goods in transit insurance by Sovereign Trust Insurance (capped).

POST https://api.mycover.ai/v1/products/sti/buy-git-ondemand

Request Body

NameTypeDescription

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

address*

string

Address of the customer

pickup_location*

string

The pickup location

drop_off_location*

string

The dropoff location

shipping_date*

string

Date of shipping

vehicle_plate_number*

string

The plate number on the vehicle

vehicle_type*

string

vehicle_type must be one of the following values: Truck, Car, Bus, Motorcycle, Tricycle, Air Plane

item_value*

number

Total amount in value of the item

item_details*

object[]

An array of items in this format: [ { "description": string, "value": number, "quantity": number, "image": string } ]

product_id*

string

Product ID

Response

{
    "responseCode": 1,
    "responseText": "Purchase Successful",
    "data": {
        "policy": {
            "id": "7bb0d953-7dca-4c97-b594-cc6d22122e44",
            "app_mode": "test",
            "active": true,
            "first_name": "Ken",
            "last_name": "Glitzy",
            "email": "glitzyken17@gmail.com",
            "dob": null,
            "phone": "09135104478",
            "start_date": "2024-07-02T01:20:11.000Z",
            "expiration_date": "2024-07-09T01:20:11.000Z",
            "activation_date": "2024-07-02T01:20:11.000Z",
            "distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
            "customer_id": "58f62ffb-6bb2-4612-85e1-d3dc91a88dba",
            "buyer_id": "58f62ffb-6bb2-4612-85e1-d3dc91a88dba",
            "product_id": "6180f02b-98b5-4571-9780-5ae60a2e6d63",
            "product_category_id": "14fb5968-48d2-49ac-88a8-0ee40e01fcca",
            "provider_id": "f13add1c-9eb8-41b3-82b1-a9cc26fde046",
            "meta": {
                "payload": {
                    "email": "glitzyken17@gmail.com",
                    "phone": "09135104478",
                    "address": "18, Providence, Lekki phase 1",
                    "last_name": "Glitzy",
                    "first_name": "Ken",
                    "item_value": 20000,
                    "item_details": [
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 5000,
                            "quantity": 1,
                            "description": "Remote Controller"
                        },
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 15000,
                            "quantity": 1,
                            "description": "LG Smart TV"
                        }
                    ],
                    "vehicle_type": "Truck",
                    "pickup_location": "18, Providence, Lekki phase 1",
                    "drop_off_location": "14, Aboh Avenue, Mebamu",
                    "vehicle_plate_number": "AGH-PHJ"
                },
                "mca_payload": {
                    "email": "glitzyken17@gmail.com",
                    "address": "18, Providence, Lekki phase 1",
                    "last_name": "Glitzy",
                    "first_name": "Ken",
                    "item_value": 20000,
                    "product_id": "6180f02b-98b5-4571-9780-5ae60a2e6d63",
                    "item_details": [
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 5000,
                            "quantity": 1,
                            "description": "Remote Controller"
                        },
                        {
                            "image": "https://via.placeholder.com/300/09f/fff.png",
                            "value": 15000,
                            "quantity": 1,
                            "description": "LG Smart TV"
                        }
                    ],
                    "phone_number": "09135104478",
                    "vehicle_type": "Truck",
                    "shipping_date": "2024-07-02",
                    "pickup_location": "18, Providence, Lekki phase 1",
                    "drop_off_location": "14, Aboh Avenue, Mebamu",
                    "vehicle_plate_number": "AGH-PHJ"
                },
                "policy_number": "MAR/MA/07/2024/HQ/9653",
                "certificate_url": null,
                "provider_policy_id": null
            },
            "genius_price": 1000,
            "market_price": 1000,
            "purchase_id": "4d0a559e-99ed-4370-a4e8-c77fcc4268a9",
            "profit": 200,
            "submitted_to_provider": true,
            "updated_at": "2024-07-02T13:20:11.042Z",
            "created_at": "2024-07-02T13:20:11.042Z",
            "history": null,
            "deleted_at": null
        }
    }
}
// Sample Request Payload

{
    "first_name": "Ken",
    "last_name": "Glitzy",
    "email": "glitzyken17@gmail.com",
    "phone_number": "09135104478",
    "address": "18, Providence, Lekki phase 1",
    "pickup_location": "18, Providence, Lekki phase 1",
    "drop_off_location": "14, Aboh Avenue, Mebamu",
    "shipping_date": "2024-07-02",
    "vehicle_plate_number": "AGH-PHJ",
    "vehicle_type": "Truck",
    "item_value": 20000,
    "item_details": [
        {
            "description": "Remote Controller",
            "value": 5000,
            "quantity": 1,
            "image": "https://via.placeholder.com/300/09f/fff.png"
        },
        {
            "description": "LG Smart TV",
            "value": 15000,
            "quantity": 1,
            "image": "https://via.placeholder.com/300/09f/fff.png"
        }
    ],
    "product_id": "6180f02b-98b5-4571-9780-5ae60a2e6d63"
}

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

Auxiliary

Last updated