Purchase Flow
///// Parameters - format as JSON string
{
"product_code": "INTER_TRAVEL_E",
"premium_amount": 65164,
"order_id": "",
"pnr": "string",
"flights": [
{
"depart_at": "2022-11-28 09:00",
"arrive_at": "2022-11-28 11:00",
"airline": {
"code": "",
"name": ""
},
"flight_no": "" ,
"departure_station": {
"code": "",
"name": "",
"city": ""
},
"destination_station": {
"code": "",
"name": "",
"city": ""
}
}
],
"customer": {
"full_name": "Nolan TO",
"dob": "1994-06-25",
"nationality": "Vietnam",
"civil_id": "079094444444",
"email": "[email protected]",
"phone_no": "0367587583"
},
"passengers": [
{
"full_name": "Nolan TO",
"dob": "1994-06-25",
"nationality": "Vietnam",
"civil_id": "079094444444",
"email": "[email protected]",
"phone_no": "0367587583",
"pax_group": "adult"
}
],
"token": ""
} as JSON string
/// respond to the partner system after users completed the policy
{
"policy_id": "ce2o1t4u8n36lo7hkci0NM",
"policy_number": "",
"product_code": "",
"req_claim_url": ""
}Last updated