Create metered usage record

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

Subscription handle

string
required

Usage-based billing handle

Body Params
int64
required
> 0

Number of units to record for the usage-based billing product.

string

Date the merchant selected as the usage record date.

string

Defines the pricing strategy for the usage-based billing product. Accepted values are: fixed or flexible. fixed - The subscription's usage-based billing product will not reflect any price changes applied to the base usage-based billing product. flexible - The subscription's usage-based billing product will dynamically reflect all price changes applied to the base usage-based billing product. This parameter is required if the 'Auto-add to Subscription on Usage' feature is enabled for the usage-based billing product.

string

Optional idempotency key scoped to the subscription metered billing product. Submitting the same handle again returns the existing record instead of creating a duplicate. Allowed characters: a-z, A-Z, 0-9, _, ., -, @

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