Vertical Insure
Examples

Builder's Risk Example

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": {
              "property": {
                "street": "789 Property St",
                "city": "Minneapolis",
                "state": "MN",
                "postal_code": "55432",
                "county": "Anoka County"
              },
              "project_details": {
                "category": "NEW",
                "type": "FRAME",
                "start_date": "YYYY-MM-DD",
                "end_date": "YYYY-MM-DD",
                "construction_cost": 500000
              },
              "builder": {
                "name": "Best Builders LLC",
                "state": "MN",
                "street": "456 Builder St",
                "postal_code": "55432",
                "city": "Minneapolis",
                "phone_number": "2222222222",
                "email_address": "test01@verticalinsure.com",
                "fein": "12-3456789"
              },
              "loss_history": false,
              "years_building": 2
            }
          }],
        }
      }, function(offerState) {
         console.log(offerState)
      });
    </script>
  </body>
</html>

On this page