Vertical Insure
Examples

Accident and Injury Example

Basic 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_********************************",
        product_config: {
          "gap-medical": [{
            "customer": {
              "email_address": "test01@verticalinsure.com",
              "first_name": "James",
              "last_name": "Doe",
              "state": "MN",
              "postal_code": "55432"
            },
            "policy_attributes": {
              "coverage_end_date": "YYYY-MM-DD",
              "coverage_start_date": "YYYY-MM-DD",
              "coverage_type": "SOCCER",
              "covered_person": {
                "birth_date": "YYYY-MM-DD",
                "state": "MN",
                "first_name": "John",
                "last_name": "Doe"
              }
            }
          }],
        }
      }, function(offerState) {
         console.log(offerState)
      });
    </script>
  </body>
</html>

On this page