Get active subscription
cloudGET/v2/organizations/:organizationId/billing/subscription
Get active subscription
Request
Path Parameters
organizationId int64required
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
organizationId int64required
plan objectrequired
id int64required
name stringrequired
free booleanrequired
enabledFeatures string[]required
Possible values: [GRANULAR_PERMISSIONS
, PRIORITIZED_FEATURE_REQUESTS
, PREMIUM_SUPPORT
, DEDICATED_SLACK_CHANNEL
, ASSISTED_UPDATES
, DEPLOYMENT_ASSISTANCE
, BACKUP_CONFIGURATION
, TEAM_TRAINING
, ACCOUNT_MANAGER
, STANDARD_SUPPORT
, PROJECT_LEVEL_CONTENT_STORAGES
, WEBHOOKS
, MULTIPLE_CONTENT_DELIVERY_CONFIGS
, AI_PROMPT_CUSTOMIZATION
]
type stringrequired
Possible values: [PAY_AS_YOU_GO
, FIXED
, SLOTS_FIXED
]
prices objectrequired
perSeat numberrequired
perThousandTranslations number
perThousandMtCredits number
subscriptionMonthly numberrequired
subscriptionYearly numberrequired
includedUsage objectrequired
seats int64required
translationSlots int64required
translations int64required
mtCredits int64required
hasYearlyPrice booleanrequired
public booleanrequired
currentPeriodStart int64
currentPeriodEnd int64
currentBillingPeriod string
Possible values: [MONTHLY
, YEARLY
]
cancelAtPeriodEnd booleanrequired
estimatedCosts number
createdAt int64required
{
"organizationId": 0,
"plan": {
"id": 0,
"name": "string",
"free": true,
"enabledFeatures": [
"GRANULAR_PERMISSIONS"
],
"type": "PAY_AS_YOU_GO",
"prices": {
"perSeat": 0,
"perThousandTranslations": 0,
"perThousandMtCredits": 0,
"subscriptionMonthly": 0,
"subscriptionYearly": 0
},
"includedUsage": {
"seats": 0,
"translationSlots": 0,
"translations": 0,
"mtCredits": 0
},
"hasYearlyPrice": true,
"public": true
},
"currentPeriodStart": 0,
"currentPeriodEnd": 0,
"currentBillingPeriod": "MONTHLY",
"cancelAtPeriodEnd": true,
"estimatedCosts": 0,
"createdAt": 0
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...