Create Usage-based Billing Product

Create a customizable usage-based billing product for usage-based charging

This endpoint allows you to create a new usage-based billing product that charges customers based on their actual consumption. This flexible billing model can be customized with various settings to define how consumption is tracked, billed, and reported.

Key Features

  • Create products with usage-based pricing
  • Specify units of measurement
  • Choose from multiple pricing models
  • Define applicable usage ranges

Special Considerations for Percentage and Percentage-step Models

In the percentage and percentage-step models, unit ranges and the number of used units represent monetary values in their smallest denomination (e.g., cents, øre). The platform supports currencies with up to three decimal places, including BHD, JOD, KWD, OMR, and TND.

Important Note on Currency Precision

When using currencies with three decimal places, amounts must be rounded to the nearest ten units of the smallest denomination. For example:

  • A value of 10,234.254 TND should be rounded to either 10,234.25 or 10,234.26
  • These values should then be converted to their smallest denomination: 1023425 or 1023426

Ensure that you report the correctly rounded and converted values when using these pricing models.

By leveraging this endpoint, you can create sophisticated usage-based billing products that accurately reflect your customers' usage patterns and provide fair, transparent pricing across various scenarios.

Related Endpoints

Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!