Billing Subscription

Request

gethttps://api.cloudsmith.io/v2/billing/{owner}/subscription

Response

Responses

Retrieved the Subscription

object

object

amount
decimal
optional
bandwidth_allowance
integer
optional
bandwidth_unit
string
optional
length ≥ 1
billing_interval
string
optional
length ≥ 1
can_charge
boolean
optional
cancel_at_period_end
boolean
optional
currency
string
optional
length ≥ 1
identifier
string
required
length ≥ 1
is_delinquent
boolean
optional
is_trialing
boolean
optional
name
string
optional
length ≥ 1
next_payment_date
date-time
optional
on_demand_usage
object
optional
oss_bandwidth_allowance
integer
optional
oss_bandwidth_unit
string
optional
length ≥ 1
oss_storage_allowance
integer
optional
oss_storage_unit
string
optional
length ≥ 1
status
string
optional
length ≥ 1
storage_allowance
integer
optional
storage_unit
string
optional
length ≥ 1
trial_days
integer
optional
trial_end_date
date-time
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1

Unauthorized

object

object

detail
string
required
length ≥ 1

You don't have access to the specified Organization

object

object

detail
string
required
length ≥ 1

Owner namespace not found

object

object

detail
string
required
length ≥ 1

Privilege Escalation Required

object

object

detail
string
required
length ≥ 1

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1