Get Insurance Premium

Retrieves total premium for insurance on a specific parcel.

/insurance/premium/?parcel=:parcel_id

GET https://api.terminal.africa/v1/insurance/premium

This endpoint allows you to retrieve premium charge for insurance coverage.

Query Parameters

NameTypeDescription

currency

String

Currency for insurance premium. Defaults to NGN. Available options are AED, AUD, CAD, CNY, EUR, GBP, GHS, HKD, KES, NGN, TZS, UGX, USD, ZAR.

parcel*

String

Unique parcel_id reference.

insurance_type

String

Type of insurance for which premium should be returned. Defaults to local. Available options are local, export.

Headers

NameTypeDescription

Authorization*

String

Set value to Bearer SECRET_KEY

Content-Type

String

Set value to application/json

{
    "status": true,
    "message": "Insurance premium for parcel retrieved successfully",
    "data": {
        "premium": 600,
        "currency": "NGN"
    }
}

Last updated