Create subscription usage-based billing

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

Subscription handle

Body Params

Usage-based billing products to attach to subscription.

float

VAT percentage for the product. Defaults to the account's VAT

string
required

Handle of usage-based billing product that will be added to subscription

string
required

The strategy for unbilled usage for this usage-based billing product if it was previously added to the subscription.

string
required

The pricing strategy for this usage-based billing product. Accepted values: fixed, flexible, or custom. Fixed - the subscription usage-based billing product won't follow any price changes from the base usage-based billing product. Flexible - the subscription usage-based billing product will follow all changes from the base usage-based billing product. Custom - Custom - the subscription usage-based billing product will override the base product's pricing configuration using the provided custom values (e.g. unit ranges, pricing model, VAT, etc.).

string

Name of the unit

int64

Included units for free. Defaults to 0.

string

Minimum fee for the product. Defaults to 0.

string
enum

Pricing model for the product.

Allowed:
boolean

Whether the amount is including VAT. Defaults to true.

string

Tax policy handle for the product.

unit_ranges
array of objects

Unit ranges for this product

unit_ranges
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