Страховые продукты (Insurance Products)
Получайте список доступных продуктов туристического страхования с деталями покрытия и ценами.
Список страховых продуктов
GET /products/insurance
Ответ
{
"data": [
{
"id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"slug": "travel-basic-europe",
"name": "Travel Basic Europe",
"description": "Basic travel insurance covering medical emergencies and trip cancellation across Europe.",
"coverageType": "BASIC",
"coverageRegion": "EUROPE",
"duration": 30,
"durationUnit": "DAYS",
"maxCoverage": {
"amount": 50000,
"currency": "EUR"
},
"price": {
"amount": 19.9,
"currency": "EUR"
},
"features": ["Medical emergency coverage", "Trip cancellation", "Lost luggage protection"]
},
{
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"slug": "travel-premium-worldwide",
"name": "Travel Premium Worldwide",
"description": "Comprehensive worldwide travel insurance with extended coverage.",
"coverageType": "PREMIUM",
"coverageRegion": "WORLDWIDE",
"duration": 90,
"durationUnit": "DAYS",
"maxCoverage": {
"amount": 200000,
"currency": "EUR"
},
"price": {
"amount": 79.9,
"currency": "EUR"
},
"features": [
"Medical emergency coverage",
"Trip cancellation and interruption",
"Lost and delayed luggage",
"Flight delay compensation",
"Emergency evacuation"
]
}
]
}
Получить страховой продукт по slug
GET /products/insurance/:slug
Параметры пути
| Имя | Тип | Обязательный | Описание |
|---|---|---|---|
slug | string | Да | Slug страхового продукта (например, travel-basic-europe) |
Ответ
Возвращает один объект страхового продукта с той же структурой, что и элементы в ответе списка.
{
"id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"slug": "travel-basic-europe",
"name": "Travel Basic Europe",
"description": "Basic travel insurance covering medical emergencies and trip cancellation across Europe.",
"coverageType": "BASIC",
"coverageRegion": "EUROPE",
"duration": 30,
"durationUnit": "DAYS",
"maxCoverage": {
"amount": 50000,
"currency": "EUR"
},
"price": {
"amount": 19.9,
"currency": "EUR"
},
"features": ["Medical emergency coverage", "Trip cancellation", "Lost luggage protection"]
}