Create subscription usage threshold
POST
/v1/subscriptions/{subscription_id}/usage_thresholds
Add a usage threshold to a subscription.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” subscription_id
required
Subscription Id
string format: uuid
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Successful Response
UsageThresholdResponse
object
id
required
Id
string format: uuid
amount_cents
required
Amount Cents
string
currency
required
Currency
string
recurring
required
Recurring
boolean
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
Unauthorized
Subscription not found
Validation error