API document
API Endpoint
Endpoint (Staging)
https://gw-dev.saladin.vn/api/v1/flight-insurance
Endpoint (Production)
https://gw.saladin.vn/api/v1/flight-insurance
API Key & Authentication
External AuthenticationAPI Versions
The latest version of the API is v2
. Please always use the latest version with every API call
We strongly encourage our longtime customers to upgrade to the current version of the API. Which is qualitatively different from the older versions.
However, you can access the previous versions here.
API Details
API #1 - get insurance products
Purpose: This API allows the partner to retrieve available insurance products for the user's current flight booking.
Trigger when: We recommend calling this API when
Customers are booking flights to retrieve the insurance premium and advise them accordingly.
Recalculate the insurance premium after the booker issues the flight ticket.
API #2 - update policy
Purpose: his API allows the partner to update certain insurance contract details, such as passenger and flight information. Changes are accepted only up to 3 hours before the departure time.
The partner can also call the API API #5 - Check Update Policy to verify update rules, calculate the new premium, and enable the customer to confirm policy updates.
Body:
API #3 - Create policy
Purpose: This API enables the partner to send flight information to create a policy in the Saladin system.
Body:
API #4 - Get policy info
Purpose: This API returns the most up-to-date policy data.
API #5 - Check Update Policy
Purpose: This API is used to validate rules and retrieve the updated insurance premium before policy modification.
Policy ID will be responded when calling the API 'create policy'
Timestamp when calling request in second, cannot be more than 10 minutes before the present time
Client Key which is given to partner
Signature which is calculated by Saladin guide
The unique ID of the booking or transaction from the partner's system. For reconcilliation purpose.
Last updated