Opt-out

POST /api/partners/{partner_id}/quotes/{quote_id}/opt-out

The Opt-Out API endpoint allows partners to report the conversion of the main product without ancillary insurance products. This endpoint requires a valid access token obtained from the Authentication

Path parameters

Headers

Body

{
  "customer": {
    "first_name": "Kaitlin",
    "last_name":  "Brown",
    "email": "[email protected]",
    "phone":  "+1-630-477-5267",
    "country": "US",
    "date_of_birth":  "2000-01-01",
    "address1": "123 My Street",
    "address2":  "Unit 12",
    "city": "New York",
    "region":  "Kingston",
    "postcode": "12401"
  }
}

Response

{
    "data": {
        "provider_reference": "NVFD3-DKJR6-INS",
        "currency": "AUD",
        "language": "en",
        "expires_at": "2024-09-20T04:16:41.000000Z",
        "created_at": "2024-07-22T04:16:41.000000Z",
        "updated_at": "2024-07-22T04:17:00.000000Z",
        "security_token": "wVIZd-8qfI0-JRti2-EMQyj",
        "is_fast_quote": false,
        "opted_out_at": "2024-07-22T04:17:00.000000Z",
        "source": null,
        "booking": null,
        "id": "483d2530-5d7a-4fce-b6ca-8f888c237340",
        "total_price": 81.8,
        "total_price_formatted": "A$81.80",
        "pds_url": "https://www.xcover.com/en/pds/NVFD3-DKJR6-INS"
    }
}

Last updated