Calculate Premium

Calculate the premium and fee.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≤ 100

Partnership Product Id given to partner.

passengers
array of objects
required
length ≤ 20

Passengers under the same order ID. Refer to Passenger Object. Max 20 passengers.

passengers*
trips
array of objects
required
length ≤ 10

List of trips included under the same order ID. A single trip may consist of at least 1 leg for transit flight, for trains this consist of 1 leg. Max 10 trips.

trips*
string
required
length ≤ 20

Type of the trip:

  • One-way,
  • Round-trip,
  • Multiple stops,
  • Smart trip
  • Other, please specify
origin
object
required

Location origin.

destination
object
required

Location destination.

number
required
≥ 0

Total price paid after discount for all passengers, trips, add-ons, and taxes (exclude premium) in IDR, amount >= 0.

number
required
≥ 0

Total discount in IDR, amount >= 0.

additionalParameters
object

Extra parameters applicable to the product. The expected fields depend on the product ID.

Response

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json