InstantBooking
Instant policy purchase
The instant booking endpoint enables the purchase of a policy by creating a quote and confirming the booking instantly with a single API request.
This endpoint can be used when the partner wants to purchase a policy without the need for a Quote.
Endpoint: /insurances/instantBooking
/insurances/instantBooking
Method: POST
POST
Request Parameters
FromDate
date [yyyy-mm-dd hh:mm:ss] required
Date/time of vehicle pickup.
ToDate
date [yyyy-mm-dd hh:mm:ss] required
Date/time of vehicle drop-off.
CustomerAge
integer required
Customer age.
Email
string required
Customer email.
FirstName
string required
Customer first name.
LastName
string required
Customer last name.
Country
string [varchar(2)] required
ISO 3166 two character country code for customer country of residence or IP.
DestinationCountry
string [varchar(2)] required
ISO 3166 two character country code for country of travel.
PolicyCode
string required
Policy code of available policy in RentalCover Platform.
LanguageCode
string [varchar(2)] required
Currency
string [varchar(3)] required
AgentReference
string
partner can provide their INS for a booking. A unique booking reference ending with -INS
that is created for each policy booked. If nothing is provided, booking reference will be generated
Address1
string
Customer street address line 1 (50 character limit).
City
string
Customer suburb/city.
PostalCode
string|integer
Customer post code or zip code.
Phone
string
Customer phone.
Region
string
PolicyPrice
float
Price of partner policy (if partner sets price).
VehicleRentalGross
float
The retail price of the vehicle.
PhoneNumber
string
Customer phone number
VehicleTypes
string [100]
Comma-separated list of vehicle types. Codes here:
car,motorhome,campervan,4x4,
minibus,lighttruck,bus
PartnerCollectingPayment
boolean
Indicates whether the partner is collecting the payment. Only true OR NULL is accepted
Response Attributes
Response properties with the text Formatted
appended are formatted with the relevant currency code and symbol.
BookingId
integer
Internal ID of the booking (primary key)
Reference
string
This is the sole identifier for all claims and support requests. A unique booking reference ending with -INS
that is created for each policy booked. Customers will receive this reference in confirmation emails. Also used in update and cancel requests.
Status
string
FromDate
datetime
Start date/time of booking.
ToDate
datetime
End date/time of booking.
ConfirmedOn
datetime
Datetime of when the booking was confirmed
TotalAmount
float
Total amount the customer is to pay for the policy (already includes discounts & markups).
TotalAmountFormatted
string
Total amount customer must pay for the policy (already includes discounts & markups). Includes currency formatting. e.g US$39.82
InsuranceCoverAmount
float
Amount of cover the policy includes.
InsuranceCoverAmountFormatted
string
Amount of cover the policy includes.
Disclaimer
string
Policy disclaimer.
VehicleTypes.freecancellationcover
boolean
Whether the policy covers free cancellation cover
VehicleTypes.freetravelinsurance
boolean
Whether the policy covers free travel insurance
VehicleTypes.car
boolean
Whether the policy covers car
VehicleTypes.motorhome
boolean
Whether the policy covers motorhome
VehicleTypes.campervan
boolean
Whether the policy covers campervan
VehicleTypes.4X4
boolean
Whether the policy covers 4X4
VehicleTypes.minibus
boolean
Whether the policy covers minibus
VehicleTypes.lighttruck
boolean
Whether the policy covers lighttruck
VehicleTypes.bus
boolean
Whether the policy covers bus
VehicleTypes.caravan
boolean
Whether the policy covers caravan
Logos.DarkFontPng.Type
string
Type of logo
Logos.DarkFontPng.Url
string
Link to the logo
Logos.DarkFontSvg.Type
string
Type of logo
Logos.DarkFontSvg.Url string
Link to the logo
Logos.LightFontPng.Type
string
Type of logo
Logos.LightFontPng.Url
string
Link to the logo
Logos.LightFontSvg.Type
string
Type of logo
Logos.LightFontSvg.Url
string
Link to the logo
Policy.Code
string
Policy code.
Policy.Name
string
Name of the policy.
Policy.Type
string
Type of the Policy.
Policy.PdsUrl
string
URL to the policy PDS PDF.
Customer.CustomerId
Integer
Id of the customer.
Customer.FirstName
string
First name of customer.
Customer.LastName
string
Last name of customer.
Customer.Email
string
Email address of customer.
Customer.BackupEmail
string
Backup email address of customer.
DateOfBirth
string
Customer 'sDate of birth.
Customer.Age
integer
Age of customer.
Customer.Phone
string
Customer's phone number.
Customer.Address1
string
Customer's street address line 1.
Customer.Address2
string
Customer's street address line 2.
Customer.City
string
Customer's city.
Customer.Region
string
Customer's region.
Customer.PostalCode
string
Customer's PostalCode.
Customer.Country
string
Customer's country name.
Last updated