Create a usage-based billing

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Handle of usage-based billing product. Unique per account

pricing
object
required

Pricing for this usage-based billing product.

string
required
length ≥ 1

Name of usage-based billing product.

string

Optional description of usage-based billing product

entitlements
array of strings

Entitlements for this usage-based billing product.

entitlements
metadata
object

Custom metadata.

string
required
length ≥ 1

The method used to capture usage for this usage-based billing product.

boolean

Automatically add this product to a subscription when usage is recorded

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json