Travel Premium
V6
post /insurance/product/v6/travel/premiums
This endpoint to get travel plan premiums
Request Header
Name | Type | Required | Description |
---|---|---|---|
authorization | string | Required | Bearer token |
content-type | string | Required | application/json |
Request Body
Name | Type | Required | Description |
---|---|---|---|
lang | string | Required |
Response Language
|
sale_channel | string | Required |
Sales channel code to collect transactions.
|
agent_code | string | Required | Intermediary code |
product | string | Required |
Types of Tourism.
|
policy_type | string | Required |
Types of Policy Type.
|
travel_plan | string | Required |
Types of Travel Plan.
|
plan_code | string | Optional | Plan code. Provided by AXA |
origins | array[string] | Conditional |
Array of starting point of the journey. Provided by AXA
Max : 10 origins
|
destinations | array[string] | Conditional |
Array of destination of the trip. Provided by AXA
Max : 10 destinations
|
inception_date | date | Required |
Policy effective date.
Format: yyyy-mm-dd |
expiry_date | date | Required |
Policy expiration date.
Format: yyyy-mm-dd |
add_on | array[string] | Optional |
Array of starting point of the journey. Provided by AXA
Max : 3 add_on
|
travellers | array[object] | Optional |
Json object containing details of the Travellers
MIn : 1 travellers Max : 10 travellers |
promo | string | Optional | |
offset | int | Required | Specifying where to start a page |
limit | int | Required | Specifying the page size |
Example request
Request Body
Travellers Request
Name | Type | Description | |
---|---|---|---|
order | int | Specifying where order starts with n + 1 | |
date_of_birth | date | Required |
Date of birth e.g. 1985-09-27
Format: yyyy-mm-dd
|
pre_existing | bool | pre_existing is exsiting or not |
Response
Name | Type | Description |
---|---|---|
pagination | object | Json object containing details of the Pagination |
data | object | Json object containing details of the Premium |
Example response
Pagination
Name | Type | Description |
---|---|---|
offset | int | Specifying where to start a page |
limit | int | Specifying the page size in the query |
size | int | Total records |
Premium
Name | Type | Description |
---|---|---|
lang | string | Types of language |
type_of_coverage_code | string | Types of coverage |
type_of_coverage_name | string | Types of coverage |
policy_type | string | Types of Policy Type. |
travel_plan_code | string | Types of Travel Plan. |
travel_plan | string | Types of Travel Plan. |
product_code | string | Unique string that the client can refer to product premium |
product_name | string | Product name |
plan_code | string | Unique string that the client can refer to plan premium |
plan_name | string | Plan name |
plan_description | string | Plan description |
maximum_trip_length | int | Duration |
origin | string | Origin |
destination | string | Destination |
journey | string | Journey |
duration | int | Duration |
promo | string | Promo |
before_net_premium | decimal(18,2) | Net premium before discount |
before_stamp | decimal(18,2) | Stamp before discount |
before_vat | decimal(18,2) | Vat before discount |
before_total_premium | decimal(18,2) | Total premium before discount |
net_premium | decimal(18,2) | Net premium |
stamp | decimal(18,2) | Stamp |
vat | decimal(18,2) | Vat |
total_premium | decimal(18,2) | Total premium |
coverages | array[object] | Array of json object containing details of the Coverage |
travellers | array[object] | Array of json object containing details of the Traveller |
localized | object | It's same data but different language |
Coverages Reference
Name | Type | Description |
---|---|---|
group_order | int | group order number |
group_code | string | code of coverage eg. Travel Delay |
group_name | string | name of coverage eg. Travel Delay |
before_net_premium | decimal(18,2) | Net premium before discount |
before_stamp | decimal(18,2) | Stamp before discount |
before_vat | decimal(18,2) | Vat before discount |
before_total_premium | decimal(18,2) | Total premium before discount |
net_premium | decimal(18,2) | Net premium |
stamp | decimal(18,2) | Stamp |
vat | decimal(18,2) | Vat |
total_premium | decimal(18,2) | Total premium |
benefits | array[object] | Array of json object containing details of the benefits |
Benefits Reference
Name | Type | Description |
---|---|---|
order | int | Order number |
name | string | name of coverage eg. |
before_net_premium | decimal(18,2) | Net premium before discount |
before_stamp | decimal(18,2) | Stamp before discount |
before_vat | decimal(18,2) | Vat before discount |
before_total_premium | decimal(18,2) | Total premium before discount |
net_premium | decimal(18,2) | Net premium |
stamp | decimal(18,2) | Stamp |
vat | decimal(18,2) | Vat |
total_premium | decimal(18,2) | Total premium |
Travellers Reference
Name | Type | Description |
---|---|---|
order | int | Order number |
date_of_birth | date | birth date of travller |
before_net_premium | decimal(18,2) | Net premium before discount |
before_stamp | decimal(18,2) | Stamp before discount |
before_vat | decimal(18,2) | Vat before discount |
before_total_premium | decimal(18,2) | Total premium before discount |
net_premium | decimal(18,2) | Net premium |
stamp | decimal(18,2) | Stamp |
vat | decimal(18,2) | Vat |
total_premium | decimal(18,2) | Total premium |
coverage_premiums | array[object] | Array of json object containing details of the Coverage Premiums |
schedule_texts | array[string] | Array of json object containing details of the schedule texts |
Coverage Premiums Reference
Name | Type | Description |
---|---|---|
group_order | int | group order number |
group_code | string | code of coverage premiums |
group_name | string | name of coverage premiums |
before_net_premium | decimal(18,2) | Net premium before discount |
before_stamp | decimal(18,2) | Stamp before discount |
before_vat | decimal(18,2) | Vat before discount |
before_total_premium | decimal(18,2) | Total premium before discount |
net_premium | decimal(18,2) | Net premium |
stamp | decimal(18,2) | Stamp |
vat | decimal(18,2) | Vat |
total_premium | decimal(18,2) | Total premium |