InstantBooking
What it does: Creates a quote and confirms the booking in a single API call.
When to call it: When you want to purchase a policy without a separate Quote step. For example, in a streamlined checkout where the protection price is already known.
POST /insurances/instantBookingExample request
curl -i -X POST \
-H "X_API_KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"FromDate": "2025-08-01 00:00:00",
"ToDate": "2025-08-08 00:00:00",
"CustomerAge": 29,
"Email": "[email protected]",
"FirstName": "Jane",
"LastName": "Smith",
"Country": "NZ",
"DestinationCountry": "NZ",
"PolicyCode": "FP-NZ-ROW",
"LanguageCode": "en",
"Currency": "AUD",
"PartnerCollectingPayment": true,
"City": "Auckland",
"Address1": "1 Queen Street",
"PostalCode": "1010"
}' \
https://api-staging.rentalcover.com/insurances/instantBookingRequest parameters
InstantBooking accepts Group A (Core booking), Group B (Customer), and Group F (Partner & integration), plus the differences listed below.
Differences from Quote
PolicyCode
Required
Policy code to purchase. No Quote step means this must be supplied explicitly. Provided by your CSE.
LanguageCode
Required
Required here; optional in Quote.
Currency
Required
Required here; optional in Quote.
AgentReference
Optional
Partner-supplied booking reference ending in -INS. Auto-generated if omitted.
PartnerReference
Optional
Your internal booking reference for customer service lookup.
Response
Booking
Reference
string
Unique booking reference ending in -INS. Use this for Update and Cancel.
BookingId
integer
Internal booking ID.
Status
string
InstantBooking returns Confirmed directly.
ConfirmedOn
datetime
Timestamp of when the booking was confirmed.
PartnerReference
string
Partner reference from the request, if supplied.
Pricing
TotalAmount
float
Total premium charged.
TotalAmountFormatted
string
Formatted total premium.
InsuranceCoverAmount
float
Total cover amount.
InsuranceCoverAmountFormatted
string
Formatted cover amount.
Disclaimer
string
Product disclaimer text.
Vehicle coverage
VehicleTypes.*
boolean
Flags indicating which vehicle types this product covers. Keys: car, motorhome, campervan, 4x4, minibus, lighttruck, bus, caravan, freecancellationcover, freetravelinsurance.
Logos
Logos.DarkFontPng.Url
string
URL to the dark-font PNG logo.
Logos.DarkFontSvg.Url
string
URL to the dark-font SVG logo.
Logos.LightFontPng.Url
string
URL to the light-font PNG logo.
Logos.LightFontSvg.Url
string
URL to the light-font SVG logo.
Nested objects
Last updated
Was this helpful?

