Skip to content

List subscription usage thresholds

GET
/v1/subscriptions/{subscription_id}/usage_thresholds

List all usage thresholds for a subscription.

subscription_id
required
Subscription Id
string format: uuid

Successful Response

Response List Subscription Usage Thresholds V1 Subscriptions Subscription Id Usage Thresholds Get
Array<object>
UsageThresholdResponse
object
id
required
Id
string format: uuid
plan_id
Any of:
string format: uuid
subscription_id
Any of:
string format: uuid
amount_cents
required
Amount Cents
string
/^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$/
currency
required
Currency
string
recurring
required
Recurring
boolean
threshold_display_name
Any of:
string
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time

Unauthorized

Subscription not found

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object