Skip to content

List plan usage thresholds

GET
/v1/plans/{plan_code}/usage_thresholds

List all usage thresholds for a plan.

plan_code
required
Plan Code
string

Successful Response

Response List Plan Usage Thresholds V1 Plans Plan Code 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

Plan 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