Link
✎

What is the difference between the warning level and valid?

Question

The validation result has both valid and warningLevel. Which one should my application use?

Answer

Use valid to decide whether something is allowed right now. It’s calculated for each product module every time you validate.

The warning level is more of an early-warning light for you as the vendor. GREEN means fully licensed, YELLOW means the customer is getting close to the limit (most credits used, subscription ending soon), and RED means they’re under-licensed. It’s useful for nudging the customer in your UI, starting renewal campaigns or keeping an eye on accounts. Each licensing model has its own rules for it, and changes can be sent to you as webhook notifications.

Last updated · Edit this page on GitHub