added

Bound Coverage Premiums Now Available

We have now exposed premiumInCents for each coverage on our get_policy endpoint! This extra attribute is not available on through the quoting flow, but only for bound policies.

What's Changed

When a GET is called to the bind_api/v3/policies/policy/{policy_id} endpoint, each coverage object will contain one more additional field: premiumInCents

📘

Note: the sum of premiumInCents on coverages may not always equal the totalPremium for a policy due to endorsements or rounding. The premiumInCents is the cost of a currently bound particular coverage for the full duration of the policy term - regardless of when that coverage was added or modified; the totalPremium is the prorated written premium on the policy. Care should be taken to explain these numbers to prevent confusion.

A truncated example output is below:

{
  "policy": {
    ...,
      "coverages": {
        "policy": [
          {
            "attributes": [...],
            ...,
            "premiumInCents": 0,
            "symbol": "umpd"
          },
          {
            "attributes": [...],
            ...,
            "premiumInCents": 2000,
            "symbol": "umuim"
          }
        ],
          "vehicles": [
            {
              "vin": "1GNKRJKD8EJ204803",
              "coverages": [
                {
                  "attributes": [...],
          			  ...,
                  "premiumInCents": 36000,
                  "symbol": "bi"
               	},
                ...
              ]
            }
          ]
        }
      }
    ...
  },
  ...
}

How to use it

No further configuration is required! All consumers of v3 get policy endpoint will receive this extra data.