Vertical Insure
Examples

Refund Protection 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: {
          "registration-cancellation": [{
            "customer": {
              "email_address": "test01@verticalinsure.com",
              "first_name": "John",
              "last_name": "Doe",
              "state": "MN",
              "postal_code": "55414"
            },
            "policy_attributes": {
              "event_end_date": "YYYY-MM-DD",
              "event_start_date": "YYYY-MM-DD",
              "insurable_amount": 50000,
              "participant": {
                "first_name": "John",
                "last_name": "Doe"
              }
            }
          }],
        }
      }, function(offerState) {
         console.log(offerState)
      });
    </script>
  </body>
</html>

On this page