An organization’s active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.
The Scrums.com API is planned and not yet publicly available. Endpoints and behaviour are subject to change before release.
A subscription (SUB-*) represents an organization’s active commitment to a Plan. Subscriptions are the commercial activation layer: when an organization subscribes to a plan, it unlocks the permitted product lines and usage limits across all its workspaces.Every Service Line is created against a subscription. This is how usage metering and billing trace back to the commercial contract. When a billing period closes, Invoices are generated from the subscription’s accrued usage.
An organization may hold multiple subscriptions if it has different commercial arrangements for different product lines or billing entities. Each subscription maps to one Plan and generates its own invoice series.
trialing -> active -> past_due -> cancelled | ^ +---> active ---------+ (if payment received)
A subscription transitions to past_due if the invoice is not settled by the due date. past_due subscriptions remain functional for a grace period before Service Lines are suspended.
A LIN-* always references a SUB-*. This ensures every unit of work has a clear commercial owner. Creating a Service Line requires a subscription_id referencing an active subscription on the same organization.
# Current period accrual vs forecastGET /v1/subscriptions/SUB-26-001122# Verify no invoices are past dueGET /v1/billing/invoices?subscription_id=SUB-26-001122&status=past_due
Validating a subscription before creating a Service Line
# Check the subscription is active and the product line is permittedGET /v1/subscriptions/SUB-26-001122# Verify plan allows the product lineGET /v1/plans/plan_enterprise_annual
Always reference the correct subscription_id on Service Lines. If an organization has multiple subscriptions, ensure each Service Line references the correct one. Misaligned subscriptions cause incorrect invoice attribution.
Monitor accrued_this_period against forecast. Significant divergence between accrual and forecast usually means a new Service Line was activated unexpectedly. Set up webhooks for service_line.activated events to catch this in real time.
Do not cancel subscriptions to pause work. Use PATCH /v1/service-lines/{lin_code}/transitions to pause individual Service Lines. Cancelling the subscription closes all Service Lines and invoices immediately.
Last modified on October 2, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scrums.com Docs","description":"Documentation for the Scrums.com Enterprise AI Software Engineering Orchestration Platform (SEOP). Scrums.com is the enterprise AI platform for software engineering: deploy AI agents, models, AI engineers and infrastructure from one catalog, then govern and measure all of it on one platform. Software Engineering. Sorted.","colors":{"primary":"#145aff","light":"#4a7fff","dark":"#0d3eb3"},"logo":{"light":"https://mintcdn.com/scrumscom/n1nBGJuSy2RrQUfP/logo/docs-logo-white.svg?fit=max\u0026auto=format\u0026n=n1nBGJuSy2RrQUfP\u0026q=85\u0026s=b817f112d42f537094394d0e00455074","dark":"https://mintcdn.com/scrumscom/n1nBGJuSy2RrQUfP/logo/docs-logo-white.svg?fit=max\u0026auto=format\u0026n=n1nBGJuSy2RrQUfP\u0026q=85\u0026s=b817f112d42f537094394d0e00455074","href":"https://www.scrums.com"},"favicon":"https://mintcdn.com/scrumscom/6AP6JVTPk022p4QK/favicon.png?fit=max\u0026auto=format\u0026n=6AP6JVTPk022p4QK\u0026q=85\u0026s=ce075766557211d58afb1225e9b1ede7","appearance":{"default":"system"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://status.scrums.com","label":"Status"},{"href":"mailto:support@scrums.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.scrums.com/sign-up"}},"footer":{"socials":{"x":"https://x.com/scrumsdotcom","linkedin":"https://www.linkedin.com/company/scrumsdotcom","youtube":"https://www.youtube.com/@scrumsdotcom"},"links":[{"header":"Enterprise AI Platform","items":[{"label":"Platform (SEOP)","href":"https://www.scrums.com/platform"},{"label":"AI Agent Gateway","href":"https://www.scrums.com/platform/ai-gateway"},{"label":"DORA Metrics","href":"https://www.scrums.com/platform/dora-metrics"},{"label":"Developer Productivity","href":"https://www.scrums.com/platform/developer-productivity"},{"label":"Engineering Capacity Planning","href":"https://www.scrums.com/platform/engineering-capacity-planning"},{"label":"AI Agent Harness","href":"https://www.scrums.com/platform/agent-harness"},{"label":"Pricing","href":"https://www.scrums.com/pricing"}]},{"header":"AI Development","items":[{"label":"AI Development Services","href":"https://www.scrums.com/ai-development"},{"label":"AI Agent Development","href":"https://www.scrums.com/ai-development/ai-agent-development"},{"label":"Generative AI Development","href":"https://www.scrums.com/ai-development/generative-ai-development"},{"label":"Custom Software Development","href":"https://www.scrums.com/ai-development/custom-software-development"},{"label":"Mobile App Development","href":"https://www.scrums.com/ai-development/mobile-app-development"},{"label":"Scopes","href":"https://www.scrums.com/ai-development/scopes"}]},{"header":"Hire Engineers","items":[{"label":"Hire AI Developers","href":"https://www.scrums.com/hire"},{"label":"Engineers","href":"https://www.scrums.com/hire/engineers"},{"label":"Dedicated Development Team","href":"https://www.scrums.com/hire/teams"},{"label":"Staff Augmentation","href":"https://www.scrums.com/hire/staff-augmentation"},{"label":"Forward Deployed Engineers","href":"https://www.scrums.com/hire/forward-deployed-engineers"},{"label":"AI Catalog","href":"https://www.scrums.com/catalog"}]},{"header":"Company","items":[{"label":"About Us","href":"https://www.scrums.com/about-us"},{"label":"Contact Us","href":"https://www.scrums.com/contact-us"},{"label":"Blog","href":"https://www.scrums.com/blog"},{"label":"Careers","href":"https://www.scrums.com/careers"},{"label":"Legal Policies","href":"https://www.scrums.com/legal"},{"label":"Scrums.com Status","href":"https://status.scrums.com"}]}]},"search":{"prompt":"Search the Scrums.com Enterprise AI Platform docs"},"seo":{"metatags":{"og:site_name":"Scrums.com Docs","keywords":"Scrums.com, enterprise AI platform for software engineering, Software Engineering Orchestration Platform, SEOP, AI gateway, DORA metrics, developer productivity platform, engineering capacity planning, AI agent harness, MCP gateway, AI development services, hire AI engineers"},"organization":{"name":"Scrums.com","url":"https://www.scrums.com","sameAs":["https://x.com/scrumsdotcom","https://www.linkedin.com/company/scrumsdotcom","https://www.youtube.com/@scrumsdotcom"]},"indexing":"navigable"},"fonts":{"heading":{"family":"IBM Plex Mono"},"body":{"family":"IBM Plex Sans"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"markdown":{"instructions":["Scrums.com is the enterprise AI platform for software engineering. SEOP, the Enterprise AI Software Engineering Orchestration Platform, is the architecture of the platform: one control plane for AI agents, models, engineers and infrastructure.","Write the entity name as Scrums.com. Never write the bare word Scrums.","Platform capabilities are documented under /platform. AI Development services and Hire Engineers are documented under Platform Services. The AI Catalog is documented under /catalog. Each docs page links to its page on https://www.scrums.com."]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scrumscom","hasAudioNarration":false,"actualSubdomain":"scrumscom","customDomains":["www.scrums.com"],"gitSource":{"type":"github","owner":"scrumsdotcom","repo":"scrums","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aee44b6b98b01cdb40d77a7","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API \u0026 CLI","count":47},{"language":"default","tag":"Platform Services","count":25},{"language":"default","tag":"Core Platform","count":24},{"language":"default","tag":"Integrations","count":21},{"language":"default","tag":"Get Started","count":17},{"language":"default","tag":"Enterprise AI Platform","count":16},{"language":"default","tag":"AI Development services","count":12},{"language":"default","tag":"AI Catalog","count":10},{"language":"default","tag":"Overview","count":8},{"language":"default","tag":"Hire Engineers","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--navbar-bg: #0d46db;--footer-bg: #041745;--navbar-fg-muted: rgba(255, 255, 255, 0.8);--navbar-border: rgba(255, 255, 255, 0.18);--footer-fg-muted: rgba(255, 255, 255, 0.72);--navbar-underline: #fff;--font-mono: \"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, monospace}#navbar-transition{background-color:var(--navbar-bg)!important;border-bottom-color:var(--navbar-border)!important}#navbar{color:#fff}#navbar [class*=\"text-gray-\"]{color:var(--navbar-fg-muted)!important}#navbar [class*=\"fill-gray-\"]{fill:var(--navbar-fg-muted)!important}#navbar a:hover [class*=\"text-gray-\"],#navbar button:hover [class*=\"text-gray-\"],#navbar [class*=\"text-gray-\"]:hover{color:#fff!important}#navbar .font-semibold[class*=\"text-gray-9\"]{color:#fff!important}#navbar .nav-tabs-item{color:var(--navbar-fg-muted)!important}#navbar .nav-tabs-item:hover,#navbar .nav-tabs-item[data-active=\"true\"]{color:#fff!important}#navbar .nav-tabs-item[data-active=\"true\"]>div,#navbar .nav-tabs-item:hover>div{background-color:var(--navbar-underline)!important}#search-bar-entry{background-color:rgba(255, 255, 255, 0.12)!important;color:var(--navbar-fg-muted)!important;filter:none!important;--tw-ring-color: rgba(255, 255, 255, 0.25) !important}#search-bar-entry:hover{background-color:rgba(255, 255, 255, 0.18)!important;--tw-ring-color: rgba(255, 255, 255, 0.4) !important}#theme-preference-menu-trigger:hover svg{color:#fff!important}#topbar-cta-button a>span:first-child{background-color:#fff!important}#topbar-cta-button a span,#topbar-cta-button a svg{color:var(--navbar-bg)!important}#footer{background-color:var(--footer-bg)!important;border-top-color:rgba(255, 255, 255, 0.12)!important}#footer [class*=\"text-gray-\"]{color:var(--footer-fg-muted)!important}#footer [class~=\"text-gray-950\"]{color:#fff!important}#footer a:hover,#footer a:hover [class*=\"text-gray-\"]{color:#fff!important}#footer [class~=\"bg-gray-100\"]{background-color:rgba(255, 255, 255, 0.12)!important}#footer svg[class*=\"bg-gray-\"]{background-color:var(--footer-fg-muted)!important}#footer a:hover svg[class*=\"bg-gray-\"]{background-color:#fff!important}#footer button[class~=\"bg-gray-200\"]{background-color:rgba(255, 255, 255, 0.14)!important}#footer [class~=\"text-gray-950\"]{font-family:var(--font-mono)}#footer p[class*=\"font-semibold\"]{white-space:normal!important;overflow-wrap:anywhere}#footer .footer-tagline{font-family:var(--font-mono);max-width:30rem}#footer .footer-tagline-title{font-size:1.0625rem;line-height:1.4;font-weight:600;color:#fff;margin:0 0 0.5rem}#footer .footer-tagline-sub{font-size:0.8125rem;line-height:1.6;font-weight:400;color:var(--footer-fg-muted);margin:0}@media (min-width: 768px){#footer .footer-brand-col{justify-content:flex-start!important;row-gap:1.75rem!important}}@media (min-width: 1024px){#footer .footer-tagline{max-width:20rem}}@media (max-width: 1023px){#footer .footer-brand-row{flex-direction:column!important}}@media (max-width: 767px){#footer .footer-brand-col{flex-wrap:wrap;row-gap:1.5rem}#footer .footer-tagline{flex-basis:100%;text-align:center}}"}],"page":{"pagePath":"api-reference/core/subscriptions","slug":"/api-reference/core/subscriptions","pageMetadata":{"title":"Subscriptions","description":"An organization's active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.","href":"/api-reference/core/subscriptions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"An organization’s active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[`The Scrums.com API is `,_jsx(_components.strong,{children:`planned and not yet publicly available`}),`. Endpoints and behaviour are subject to change before release.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`A subscription (`,_jsx(_components.code,{children:`SUB-*`}),`) represents an organization’s active commitment to a `,_jsx(_components.a,{href:`/api-reference/core/plans`,children:`Plan`}),`. Subscriptions are the commercial activation layer: when an organization subscribes to a plan, it unlocks the permitted product lines and usage limits across all its workspaces.`]}),`\n`,_jsxs(_components.p,{children:[`Every `,_jsx(_components.a,{href:`/api-reference/core/service-lines`,children:`Service Line`}),` is created against a subscription. This is how usage metering and billing trace back to the commercial contract. When a billing period closes, `,_jsx(_components.a,{href:`/api-reference/core/billing-invoices`,children:`Invoices`}),` are generated from the subscription’s accrued usage.`]}),`\n`,_jsx(Heading,{level:`2`,id:`core-concepts`,children:`Core Concepts`}),`\n`,_jsx(Heading,{level:`3`,id:`one-or-more-subscriptions-per-organization`,children:`One or more subscriptions per organization`}),`\n`,_jsx(_components.p,{children:`An organization may hold multiple subscriptions if it has different commercial arrangements for different product lines or billing entities. Each subscription maps to one Plan and generates its own invoice series.`}),`\n`,_jsx(Heading,{level:`3`,id:`subscription-lifecycle`,children:`Subscription lifecycle`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`trialing -> active -> past_due -> cancelled`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` | ^`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` +---> active ---------+ (if payment received)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`A subscription transitions to `,_jsx(_components.code,{children:`past_due`}),` if the invoice is not settled by the due date. `,_jsx(_components.code,{children:`past_due`}),` subscriptions remain functional for a grace period before Service Lines are suspended.`]}),`\n`,_jsx(Heading,{level:`3`,id:`subscription-and-service-line-relationship`,children:`Subscription and Service Line relationship`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`LIN-*`}),` always references a `,_jsx(_components.code,{children:`SUB-*`}),`. This ensures every unit of work has a clear commercial owner. Creating a Service Line requires a `,_jsx(_components.code,{children:`subscription_id`}),` referencing an active subscription on the same organization.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoints`,children:`Endpoints`}),`\n`,_jsx(Heading,{level:`3`,id:`get-/v1/subscriptions`,children:`GET /v1/subscriptions`}),`\n`,_jsx(_components.p,{children:`List subscriptions for an organization.`}),`\n`,_jsx(Heading,{level:`4`,id:`request`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/subscriptions?organization_id=ORG-26-090500`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`toke`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUB-26-001122\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"organization_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORG-26-090500\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"plan_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"plan_enterprise_annual\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"plan_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Enterprise\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_period_start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_period_end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-31T23:59:59Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cancel_at_period_end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"active_service_lines\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`11`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accrued_this_period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`142650.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-01T00:00:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`post-/v1/subscriptions`,children:`POST /v1/subscriptions`}),`\n`,_jsx(_components.p,{children:`Create a new subscription for an organization.`}),`\n`,_jsx(Heading,{level:`4`,id:`request-2`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"organization_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORG-26-090500\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"plan_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"plan_enterprise_annual\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billing_email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"billing@apexdigital.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment_method_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pm_1234567890\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`response-2`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns the created subscription. Status is `,_jsx(_components.code,{children:`trialing`}),` if the plan has a trial period, otherwise `,_jsx(_components.code,{children:`active`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Only org `,_jsx(_components.code,{children:`owner`}),` or `,_jsx(_components.code,{children:`billing`}),` role can create subscriptions.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`payment_method_id`}),` references a payment method stored in the billing system.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`get-/v1/subscriptions/`,children:`GET /v1/subscriptions/`}),`\n`,_jsx(_components.p,{children:`Retrieve a subscription with current period accruals.`}),`\n`,_jsx(Heading,{level:`4`,id:`response-3`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUB-26-001122\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"organization_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORG-26-090500\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"plan_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"plan_enterprise_annual\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"plan_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Enterprise\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_period_start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_period_end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-31T23:59:59Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cancel_at_period_end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"active_service_lines\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`11`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"service_line_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"LIN-26-084729\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"LIN-26-088401\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"LIN-26-091100\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accrued_this_period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`142650.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"forecast_this_period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`298400.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoice_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INV-26-000881\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-01T00:00:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`patch-/v1/subscriptions/`,children:`PATCH /v1/subscriptions/`}),`\n`,_jsx(_components.p,{children:`Update a subscription. Used primarily to change plans, update billing email, or schedule cancellation.`}),`\n`,_jsx(Heading,{level:`4`,id:`request-3`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cancel_at_period_end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`notes-2`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Plan changes (`,_jsx(_components.code,{children:`plan_id`}),`) take effect at the start of the next billing period.`]}),`\n`,_jsxs(_components.li,{children:[`Setting `,_jsx(_components.code,{children:`cancel_at_period_end: true`}),` does not immediately cancel. The subscription continues until the period ends.`]}),`\n`,_jsxs(_components.li,{children:[`Changing to a plan with fewer `,_jsx(_components.code,{children:`allowed_product_lines`}),` may suspend active Service Lines that exceed the new plan’s limits.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`delete-/v1/subscriptions/`,children:`DELETE /v1/subscriptions/`}),`\n`,_jsx(_components.p,{children:`Cancel a subscription immediately. Outstanding usage is invoiced at the time of cancellation.`}),`\n`,_jsx(Heading,{level:`4`,id:`notes-3`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Requires explicit confirmation. Pass `,_jsx(_components.code,{children:`{ \"confirm\": true }`}),` in the request body.`]}),`\n`,_jsx(_components.li,{children:`All Service Lines referencing this subscription are closed on cancellation.`}),`\n`,_jsx(_components.li,{children:`This action cannot be undone.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-workflows`,children:`Common Workflows`}),`\n`,_jsx(Heading,{level:`3`,id:`checking-subscription-health-before-quarter-end`,children:`Checking subscription health before quarter-end`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Current period accrual vs forecast`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/subscriptions/SUB-26-001122`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Verify no invoices are past due`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/billing/invoices?subscription_id=SUB-26-001122`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`past_due`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`validating-a-subscription-before-creating-a-service-line`,children:`Validating a subscription before creating a Service Line`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Check the subscription is active and the product line is permitted`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/subscriptions/SUB-26-001122`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Verify plan allows the product line`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/plans/plan_enterprise_annual`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`objects`,children:`Objects`}),`\n`,_jsx(Heading,{level:`3`,id:`subscription`,children:`Subscription`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`SUB-*`}),` identifier`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`organization_id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Parent organization (`,_jsx(_components.code,{children:`ORG-*`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`plan_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Active plan reference`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`plan_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Plan display name`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`enum`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`trialing`}),`, `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`past_due`}),`, `,_jsx(_components.code,{children:`cancelled`}),`, `,_jsx(_components.code,{children:`paused`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`current_period_start`})}),_jsx(_components.td,{children:`datetime`}),_jsx(_components.td,{children:`Start of the current billing period`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`current_period_end`})}),_jsx(_components.td,{children:`datetime`}),_jsx(_components.td,{children:`End of the current billing period`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancel_at_period_end`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Whether cancellation is scheduled at period end`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`active_service_lines`})}),_jsx(_components.td,{children:`integer`}),_jsxs(_components.td,{children:[`Number of active `,_jsx(_components.code,{children:`LIN-*`}),` under this subscription`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service_line_ids`})}),_jsx(_components.td,{children:`array`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`LIN-*`}),` identifiers (returned on GET by ID)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`accrued_this_period`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Costs accrued in the current billing period`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`forecast_this_period`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Projected total for the current period`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ISO 4217 currency code`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invoice_ids`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Historical invoice references`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`created_at`})}),_jsx(_components.td,{children:`datetime`}),_jsx(_components.td,{children:`Subscription creation timestamp`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Always reference the correct `,_jsx(_components.code,{children:`subscription_id`}),` on Service Lines.`]}),` If an organization has multiple subscriptions, ensure each Service Line references the correct one. Misaligned subscriptions cause incorrect invoice attribution.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Monitor `,_jsx(_components.code,{children:`accrued_this_period`}),` against forecast.`]}),` Significant divergence between accrual and forecast usually means a new Service Line was activated unexpectedly. Set up webhooks for `,_jsx(_components.code,{children:`service_line.activated`}),` events to catch this in real time.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Do not cancel subscriptions to pause work.`}),` Use `,_jsx(_components.code,{children:`PATCH /v1/service-lines/{lin_code}/transitions`}),` to pause individual Service Lines. Cancelling the subscription closes all Service Lines and invoices immediately.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Subscriptions","description":"An organization's active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.","href":"/api-reference/core/subscriptions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Core Concepts","slug":"core-concepts","depth":2,"children":[{"title":"One or more subscriptions per organization","slug":"one-or-more-subscriptions-per-organization","depth":3,"children":[]},{"title":"Subscription lifecycle","slug":"subscription-lifecycle","depth":3,"children":[]},{"title":"Subscription and Service Line relationship","slug":"subscription-and-service-line-relationship","depth":3,"children":[]}]},{"title":"Endpoints","slug":"endpoints","depth":2,"children":[{"title":"GET /v1/subscriptions","slug":"get-/v1/subscriptions","depth":3,"children":[]},{"title":"Request","slug":"request","depth":4,"children":[]},{"title":"Response","slug":"response","depth":4,"children":[]},{"title":"POST /v1/subscriptions","slug":"post-/v1/subscriptions","depth":3,"children":[]},{"title":"Request","slug":"request-2","depth":4,"children":[]},{"title":"Response","slug":"response-2","depth":4,"children":[]},{"title":"Notes","slug":"notes","depth":4,"children":[]},{"title":"GET /v1/subscriptions/","slug":"get-/v1/subscriptions/","depth":3,"children":[]},{"title":"Response","slug":"response-3","depth":4,"children":[]},{"title":"PATCH /v1/subscriptions/","slug":"patch-/v1/subscriptions/","depth":3,"children":[]},{"title":"Request","slug":"request-3","depth":4,"children":[]},{"title":"Notes","slug":"notes-2","depth":4,"children":[]},{"title":"DELETE /v1/subscriptions/","slug":"delete-/v1/subscriptions/","depth":3,"children":[]},{"title":"Notes","slug":"notes-3","depth":4,"children":[]}]},{"title":"Common Workflows","slug":"common-workflows","depth":2,"children":[{"title":"Checking subscription health before quarter-end","slug":"checking-subscription-health-before-quarter-end","depth":3,"children":[]},{"title":"Validating a subscription before creating a Service Line","slug":"validating-a-subscription-before-creating-a-service-line","depth":3,"children":[]}]},{"title":"Objects","slug":"objects","depth":2,"children":[{"title":"Subscription","slug":"subscription","depth":3,"children":[]}]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/scrumscom/0cbbf323de558e79/footer-tagline.js"],"subdomain":"scrumscom","siteName":"Scrums.com Docs","title":"Subscriptions - Scrums.com Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-15T20:08:17.522Z","gitLastModified":"2026-10-02T13:13:09.000Z","originalFileLocation":"api-reference/core/subscriptions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"An organization\u0026#x27;s active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.\">\u003cmeta data-mint-head name=\"keywords\" content=\"Scrums.com, enterprise AI platform for software engineering, Software Engineering Orchestration Platform, SEOP, AI gateway, DORA metrics, developer productivity platform, engineering capacity planning, AI agent harness, MCP gateway, AI development services, hire AI engineers\">\u003cmeta data-mint-head name=\"application-name\" content=\"Scrums.com Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Subscriptions - Scrums.com Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"An organization\u0026#x27;s active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scrums.com Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.scrums.com/docs/api-reference/core/subscriptions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scrumscom.mintlify.site/docs/_mintlify/api/og/v2?division=Core+Platform\u0026amp;title=Subscriptions\u0026amp;description=An+organization%27s+active+plan+subscription.+Subscriptions+determine+which+Service+Lines+can+be+activated%2C+gate+usage+limits%2C+and+generate+invoices+at+the+end+of\u0026amp;theme=087ff90cf5503e09b7c27fb2\u0026amp;signature=9efcfd58b2ba1188e74ef9b14a840b5aefb77dc11afb390bb24af6540d181275\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Subscriptions - Scrums.com Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"An organization\u0026#x27;s active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scrumscom.mintlify.site/docs/_mintlify/api/og/v2?division=Core+Platform\u0026amp;title=Subscriptions\u0026amp;description=An+organization%27s+active+plan+subscription.+Subscriptions+determine+which+Service+Lines+can+be+activated%2C+gate+usage+limits%2C+and+generate+invoices+at+the+end+of\u0026amp;theme=087ff90cf5503e09b7c27fb2\u0026amp;signature=9efcfd58b2ba1188e74ef9b14a840b5aefb77dc11afb390bb24af6540d181275\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scrums.com Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#145aff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.scrums.com/docs/api-reference/core/subscriptions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/core/subscriptions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.scrums.com/#organization\",\"name\":\"Scrums.com\",\"url\":\"https://www.scrums.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scrumscom/n1nBGJuSy2RrQUfP/logo/docs-logo-white.svg?fit=max\u0026auto=format\u0026n=n1nBGJuSy2RrQUfP\u0026q=85\u0026s=b817f112d42f537094394d0e00455074\"},\"sameAs\":[\"https://x.com/scrumsdotcom\",\"https://www.linkedin.com/company/scrumsdotcom\",\"https://www.youtube.com/@scrumsdotcom\"]},{\"@type\":\"WebSite\",\"@id\":\"https://www.scrums.com/docs#website\",\"name\":\"Scrums.com Docs\",\"url\":\"https://www.scrums.com/docs\",\"publisher\":{\"@id\":\"https://www.scrums.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.scrums.com/docs/api-reference/core/subscriptions#webpage\",\"url\":\"https://www.scrums.com/docs/api-reference/core/subscriptions\",\"name\":\"Subscriptions\",\"description\":\"An organization's active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.\",\"dateModified\":\"2026-10-02T13:13:09.000Z\",\"isPartOf\":{\"@id\":\"https://www.scrums.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.scrums.com/docs/api-reference/core/subscriptions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.scrums.com/docs/api-reference/core/subscriptions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Platform\",\"item\":\"https://www.scrums.com/docs/api-reference/core/accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Subscriptions\",\"item\":\"https://www.scrums.com/docs/api-reference/core/subscriptions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.scrums.com/docs/api-reference/core/subscriptions#article\",\"headline\":\"Subscriptions\",\"name\":\"Subscriptions\",\"description\":\"An organization's active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.\",\"url\":\"https://www.scrums.com/docs/api-reference/core/subscriptions\",\"mainEntityOfPage\":{\"@id\":\"https://www.scrums.com/docs/api-reference/core/subscriptions#webpage\"},\"dateModified\":\"2026-10-02T13:13:09.000Z\",\"publisher\":{\"@id\":\"https://www.scrums.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.scrums.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Scrums.com Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Scrums.com Docs","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":""}]},{"tab":"Enterprise AI Platform","pages":[{"title":"Enterprise AI Platform","href":"/platform/overview"}]},{"tab":"AI Catalog","pages":[{"title":"AI Catalog","href":"/catalog/overview"}]},{"tab":"Platform Services","pages":[{"title":"Platform Services","href":"/ai-development/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/integrations"}]},{"tab":"API \u0026 CLI","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"Organizations","pages":[{"title":"Organizations","href":"/api-reference/core/organizations"},{"title":"List organizations","openapi":"GET /orgs","href":"/api-reference/endpoints/organizations/list-orgs"}]},{"group":"Workspaces","pages":[{"title":"Workspaces","href":"/api-reference/core/workspaces"},{"title":"List workspaces","openapi":"GET /workspaces","href":"/api-reference/endpoints/workspaces/list-workspaces"}]},{"group":"Service Lines","pages":[{"title":"Service Lines","href":"/api-reference/core/service-lines"},{"title":"List Service Lines","openapi":"GET /service-lines","href":"/api-reference/endpoints/service-lines/list-service-lines"},{"title":"Create a Service Line","openapi":"POST /service-lines","href":"/api-reference/endpoints/service-lines/create-service-line"},{"title":"Get a Service Line","openapi":"GET /service-lines/{lin_code}","href":"/api-reference/endpoints/service-lines/get-service-line"},{"title":"Get Service Line usage","openapi":"GET /service-lines/{lin_code}/usage","href":"/api-reference/endpoints/service-lines/get-service-line-usage"}]},{"group":"Core Platform","pages":[{"title":"Accounts","href":"/api-reference/core/accounts"},{"title":"Agents","href":"/api-reference/core/agents"},{"title":"API Keys","href":"/api-reference/core/api-keys"},{"title":"Artifacts","href":"/api-reference/core/artifacts"},{"title":"Audit Logs","href":"/api-reference/core/audit-logs"},{"title":"Billing \u0026 Invoices","href":"/api-reference/core/billing-invoices"},{"title":"Capacity \u0026 Allocation","href":"/api-reference/core/capacity"},{"title":"Environments","href":"/api-reference/core/environments"},{"title":"Events","href":"/api-reference/core/events"},{"title":"Execution API","href":"/api-reference/core/execution"},{"title":"Incidents \u0026 Alerts","href":"/api-reference/core/incidents"},{"title":"Integrations API","sidebarTitle":"Integrations","href":"/api-reference/core/integrations"},{"title":"Invoices","href":"/api-reference/core/invoices"},{"title":"Memberships","href":"/api-reference/core/memberships"},{"title":"Plans","href":"/api-reference/core/plans"},{"title":"Policies","href":"/api-reference/core/policies"},{"title":"Projects","href":"/api-reference/core/projects"},{"title":"Resources API","description":"Compute, storage, and service resources allocated to environments. Resources are the operational units tracked for usage and billing.","sidebarTitle":"Resources","href":"/api-reference/core/resources"},{"title":"Subscriptions","href":"/api-reference/core/subscriptions"},{"title":"Tasks \u0026 Work Items","description":"Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.","href":"/api-reference/core/tasks"},{"title":"Usage \u0026 Metering","href":"/api-reference/core/usage-metering"},{"title":"Usage Records","href":"/api-reference/core/usage-records"},{"title":"Users \u0026 Roles","href":"/api-reference/core/users"},{"title":"Webhooks","href":"/api-reference/core/webhooks"}]},{"group":"Observability \u0026 Metrics","pages":[{"title":"Observability \u0026 Metrics","href":"/api-reference/core/observability"},{"title":"Get workspace health","openapi":"GET /observability/health","href":"/api-reference/endpoints/observability/get-health"}]},{"group":"ODS","pages":[{"title":"ODS API","href":"/api-reference/product/ods"},{"title":"Submit an ODS request","openapi":"POST /capabilities/ods/requests","href":"/api-reference/endpoints/ods/create-ods-request"}]},{"group":"Talent Marketplace","pages":[{"title":"Talent Marketplace API","href":"/api-reference/product/talent"},{"title":"Create a talent request","openapi":"POST /talent/requests","href":"/api-reference/endpoints/talent/create-talent-request"}]},{"group":"AI Agent Gateway","pages":[{"title":"AI Agent Gateway API","href":"/api-reference/product/agent-gateway"},{"title":"Trigger an agent run","openapi":"POST /agents/{agent_id}/runs","href":"/api-reference/endpoints/agents/create-agent-run"}]},{"group":"Product Lines","pages":[{"title":"Managed Services API","href":"/api-reference/product/managed-services"},{"title":"Platforms \u0026 Infrastructure API","href":"/api-reference/product/infrastructure"},{"title":"Developer Intelligence API","href":"/api-reference/product/intelligence"}]},{"group":"Machine-Readable Company Data","pages":[{"title":"Scrums.com Entity Graph","href":"/company/entity-graph"}]},{"group":"CLI","pages":[{"title":"CLI","href":"/cli/introduction"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Subscriptions - Scrums.com Docs","buildId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","deploymentId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","dynamics":[],"chunks":[]}