Adding Usage Rules

Through the Billing API, you can add a usage rule to a product, order item, or service.

Usage rules can be added to subscription products which have a recurring charge set. In case the product that you order already has a usage rule (created with Gotransverse UI), you can override it when creating an order or by adding a usage rule to the service.

Note: This change requires that the product has the rule_override property set to true.

For more information on how to create Products and Orders using the Billing API, refer to API Samples.

Here you can find the details on the example product: