Vertical Insure
Examples

Pet Insurance Example

Pet Insurance Example

<html>
  <head>
    <script src="https://cdn.jsdelivr.net/npm/@vertical-insure/embedded-offer"></script>
  </head>
  <body>
    <div id="offer"></div>

    <script>
      new VerticalInsure("#offer", {
        client_id: "test_********************************",
        payments: {
          enabled: true,
          button: true
        },
        product_config: {
          "pet": [{
              "customer": {
                "email_address": "test01@verticalinsure.com",
                "first_name": "James",
                "last_name": "Doe",
                "street": "123 main st",
                "city": "city"
                "state": "MN",
                "postal_code": "55401",
                "phone_number": "1234567890"
              },
              "attributes": {
                "pet_name": "Fido",
                "species": "DOG",
                "birth_date": "2023-01-01",
                "breed": "Poodle",
                "gender": "MALE",
                "zip_code": "55401"
              }
          }],
        }
      }, function(offerState) {
         console.log(offerState)
      });
    </script>
  </body>
</html>