Purchase flow
Replace RentalCover Quote and Purchase with Create Offer and Confirm Offer.
On RentalCover you call Quote, then Purchase. On the Offers API you call Create Offer, render the offer, then call Confirm Offer or Opt-out.
Two things move:
Personal data moves to Confirm. Create Offer only describes the rental. Names, email and age are sent when the customer accepts.
The INS is issued at Confirm, not at quote time. Until then you work with an offer ID and quote IDs, which are UUIDs.
Create an offer
Send the rental context instead of a flat quote request.
{
"Type": "FullProtection",
"Currency": "EUR",
"Country": "NL",
"LanguageCode": "en",
"PartnerSite": "example-site",
"BWCookie": "CUST-0007654321",
"PartnerCollectingPayment": true,
"ContactCustomer": 0,
"ExpressCode": "EXAMPLE10",
"FirstName": "Alex",
"LastName": "Example",
"Email": "[email protected]",
"CustomerAge": 25,
"FromDate": "2027-03-12 10:00:00",
"ToDate": "2027-03-19 10:00:00",
"DestinationCountry": "DE",
"VehiclePickupTime": "2027-03-12T10:00:00+01:00",
"VehicleDropoffTime": "2027-03-19T10:00:00+01:00",
"VehiclePickupCity": "Frankfurt",
"VehiclePickupPostalCode": "60549",
"VehicleDropoffCity": "Frankfurt",
"VehicleRentalGross": 420,
"VehicleCode": "CDMR",
"VehicleClass": "Compact",
"CDWIncluded": 1,
"VehicleStdLiabilityHigh": 1500,
"VehicleStdLiabilityCurrency": "EUR",
"VehicleSupplierId": 1234,
"VehicleSupplierName": "Example Rental Co",
"MetaData": "{\"airport_pickup\":\"true\",\"experience_type\":\"standard\"}"
}The fields that matter most:
Currency
customer.currency
ISO 4217
Country
customer.country
Country of residence. Must match policyholder.country at Confirm
LanguageCode
customer.language
ISO 639-1
VehicleRentalGross
context.price
The car rental price, not the insurance price
FromDate + VehiclePickupTime
context.pickup.date
One RFC 3339 value with the local offset
ToDate + VehicleDropoffTime
context.dropoff.date
One RFC 3339 value with the local offset
CDWIncluded, SLIIncluded
context.coverage_charges[].rate_type
One entry per included cover
VehicleStdLiabilityHigh / Low
context.coverage_charges[].deductible
The excess under that cover
VehicleCode
context.vehicle_details.code
SIPP code. Cover Genius checks eligibility from it
PartnerReference (sent at Purchase)
partner.transaction_id
Your booking reference, now sent at Create Offer and returned as partner_transaction_id
BWCookie
partner.customer_id
Stable customer identifier
PartnerSite
partner.subsidiary
Your site or subsidiary
MetaData
partner.metadata
Free-form key-value pairs. Send an object, not a JSON-encoded string
Tax, commission, surcharge and benefit details are left out of the response unless you ask for them. Add ?extra_fields= with any of tax, commission, surcharge and benefits, for example ?extra_fields=tax,commission.
Render the offer
The response contains one or more products. Use these fields:
id
The offer ID. Used in the Confirm and Opt-out URLs
products[].id
The quote ID. Sent as quotes[].id at Confirm
products[].details.finance.price.total_amount
Price to charge. Use total_amount_formatted for display only
products[].details.pds_url, products[].details.files[]
Policy wording and documents to link
content.products[].title, description, benefits
Offer copy, if you use the content from the API
content.products[].disclaimer_html
Disclaimer to show next to the opt-in
Store the offer ID, the quote IDs and the total you displayed. You need them at Confirm.
Confirm the offer
When the customer accepts, confirm the offer. This is where personal data is sent and the INS is issued. Send an x-idempotency-key.
{
"AgentReference": "XXXX-XXXX-INS",
"PolicyCode": "RC001",
"PartnerReference": "TXN-0001234567",
"FromDate": "2027-03-12 10:00:00",
"ToDate": "2027-03-19 10:00:00",
"Country": "NL",
"FirstName": "Alex",
"LastName": "Example",
"Email": "[email protected]",
"CustomerAge": 25,
"PartnerCollectingPayment": true
}{
"quotes": [
{
"id": "{quote_id}",
"insured": [
{ "first_name": "Alex", "last_name": "Example", "email": "[email protected]" }
]
}
],
"policyholder": {
"first_name": "Alex",
"last_name": "Example",
"email": "[email protected]",
"phone": "+31 20 000 0000",
"country": "NL",
"age": 25,
"postcode": "1000 AA"
}
}AgentReference
{offer_id} in the URL
The offer ID from Create Offer
PolicyCode
quotes[].id
One entry per product the customer accepted
FirstName, LastName, Email
quotes[].insured[] and policyholder
One insured person per policy
CustomerAge
policyholder.age
Country
policyholder.country
Must equal customer.country from Create Offer
Phone, Address1, City
policyholder.phone, address1, address2, city, region, postcode
Whether you send an address is agreed in scoping
PolicyPrice
quotes[].partner_price
Optional, where agreed. Tax inclusive, within total_amount_min and total_amount_max
FromDate, ToDate, Currency, Type, LanguageCode
—
Not resent. Fixed at Create Offer
PartnerReference, BWCookie, PartnerSite
—
Sent at Create Offer as partner.transaction_id, partner.customer_id and partner.subsidiary
Then check the response:
idis the INS. Store it: it identifies the booking from now on.statusisCONFIRMED.total_pricematches the price you showed. If it differs, don't charge the customer.Use
pds_url,coi.url,account_urlandfnol_linkexactly as returned.
Record opt-outs
When the customer declines, call opt-out with the offer ID. There is no body, and the call returns 204. Opting out of the same offer twice returns 422. You no longer need to record an opt-in: Confirm does that.
{ "CoverOptIn": 0, "PartnerReference": "TXN-0001234567" }POST /partners/{partner_code}/offers/{offer_id}/opt_out/Products
RentalCover product
context.product
Markets
Full Protection
full_protection
EU, UK and other excess markets
Extra Cover (Roadside Assistance)
extra_cover
EU and UK
SLI
sli
US and Canada as destination. Not sold to EU residents
CDW, Excess Reduction, Comprehensive
Agreed in scoping
—
Baggage
Not requested
Bundled automatically where the market includes it
The final product mix also depends on residency, pickup and drop-off country, included covers, bundled, increased_limit, channel and the SIPP code.
Payments
Single payment: unchanged. You collect the premium with the rental. Confirm carries no payment details. See Single Payment.
Dual payment: card details are no longer sent to the booking API. Tokenise the card with XPay and pass the token on Confirm in
payment_details.customer_token_id. See Dual Payment using XPay Token.Mixed: each payment model has its own partner code. Use the same partner code for every call on a booking.
See also
Last updated
Was this helpful?

