Whether to automatically charge invoices for this subscription to the associated payment gateway. Requires a valid Stripe connection. Only compatible with a Stripe payment gateway.
The net terms for this subscription; applies only if autoChargeInvoice is false. Determines the number of days after the invoice is issued before the payment is due.
Whether to charge for usage-based prices during the trial period. Only applies if isTrial is true.
Example:
false
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Atlas","colors":{"primary":"#9A47D5","light":"#c498e3","dark":"#9A47D5"},"logo":{"light":"https://mintcdn.com/atlas-e6c381cc/CZyope2K7u39JYzl/logo/atlas-lightmode.png?fit=max\u0026auto=format\u0026n=CZyope2K7u39JYzl\u0026q=85\u0026s=8936437d0db9d56dba50ba9b17d3f4aa","dark":"https://mintcdn.com/atlas-e6c381cc/CZyope2K7u39JYzl/logo/atlas-darkmode.png?fit=max\u0026auto=format\u0026n=CZyope2K7u39JYzl\u0026q=85\u0026s=a47eb49a72beae5a86f8e2a12ed85a23"},"favicon":"/favicon.ico","api":{"playground":{"display":"interactive"},"examples":{"prefill":true}},"navbar":{"links":[{"href":"https://www.runonatlas.com/contact-us","label":"Support"}],"primary":{"type":"button","label":"Application","href":"https://app.runonatlas.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/runonatlas","discord":"https://discord.gg/ZjejsUX7"}},"contextual":{"options":["copy","chatgpt","claude","view"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/ZjejsUX7"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"atlas-e6c381cc","hasAudioNarration":false,"actualSubdomain":"atlas-e6c381cc","customDomains":["docs.runonatlas.com"],"gitSource":{"type":"github","owner":"runonatlas","repo":"atlas-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21f63eb595a58a20e51b55","collectionId":"a3937cec-6d4d-43f6-a185-34f34756a96a","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21f63eb595a58a20e51b55:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":19},{"language":"default","tag":"Get Started","count":10},{"language":"default","tag":"Customers","count":9},{"language":"default","tag":"Subscriptions","count":8},{"language":"default","tag":"Developer Portal","count":6},{"language":"default","tag":"Getting Started with Atlas","count":5},{"language":"default","tag":"SDK Documentation","count":4},{"language":"default","tag":"Advanced Atlas","count":3},{"language":"default","tag":"Events","count":1},{"language":"default","tag":"Invoices","count":1}]},"assistantConfig":{},"basePath":"","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/subscriptions/get-subscription-by-id-with-expanded-data","slug":"/api-reference/subscriptions/get-subscription-by-id-with-expanded-data","pageMetadata":{"title":"Get subscription by ID with expanded data","description":"Get a subscription by ID with expanded plan data including prices and billables.","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/subscriptions/{id}/expanded","href":"/api-reference/subscriptions/get-subscription-by-id-with-expanded-data","autogeneratedByOpenApi":true,"hidden":false},"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: \"Get a subscription by ID with expanded plan data including prices and billables.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get subscription by ID with expanded data","description":"Get a subscription by ID with expanded plan data including prices and billables.","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/subscriptions/{id}/expanded","href":"/api-reference/subscriptions/get-subscription-by-id-with-expanded-data","autogeneratedByOpenApi":true,"hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Get a subscription by ID with expanded plan data including prices and billables.","summary":"Get subscription by ID with expanded data","tags":["Subscriptions"],"security":["e30622d9-9011-4a83-9254-f749e1140561"],"parameters":["065e2e3d-969a-4df1-abf2-e45f6c5160df"],"responses":{"200":"a7aa85a6-0612-472c-af4f-90239eecee75","401":"a4d69df7-e780-4e7d-abf0-419d75019e36","404":"d0421b4f-5079-496d-b357-01483e3fb376"},"method":"get","type":"path","servers":["3c9753c2-e6e2-45af-9d3e-d3e995223724"],"path":"/external/subscriptions/{id}/expanded","baseUrlOptions":["https://platform.runonatlas.com"],"title":"Get subscription by ID with expanded data","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"065e2e3d-969a-4df1-abf2-e45f6c5160df":{"schema":{"type":"string","minLength":1,"description":"The Atlas subscription ID","example":"atlas-internal-subscription-id-123","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The Atlas subscription ID","name":"id","in":"path"}},"responses":{"a7aa85a6-0612-472c-af4f-90239eecee75":{"description":"The subscription that has been retrieved with expanded plan data including prices and billables.","content":{"application/json":{"schema":{"type":"object","properties":{"createdAt":{"type":"string","format":"date","description":"The date and time the subscription was created","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate>"},"id":{"type":"string","minLength":1,"description":"The Atlas subscription ID","example":"atlas-internal-subscription-id-123","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"startDate":{"oneOf":[{"type":"string","description":"The start date of the subscription","format":"date","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"startDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"string","description":"The start date of the subscription","format":"date-time","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"startDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"isRequired":true,"uniqueKey":"startDate","typeLabel":"string\u003cdate> | string\u003cdate-time>"},"status":{"type":"string","enum":["draft","pendingActivation","active","ended","deleted"],"description":"The status of the subscription","example":"active","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"updatedAt":{"type":"string","format":"date","description":"The date and time the subscription was last updated","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate>"},"allowCustomerChanges":{"type":"boolean","description":"Whether the customer can change the subscription, for example by cancelling it or creating another.","example":true,"isRequired":true,"uniqueKey":"allowCustomerChanges","typeLabel":"boolean"},"autoChargeInvoice":{"type":"boolean","description":"Whether to automatically charge invoices for this subscription to the associated payment gateway. Requires a valid Stripe connection. Only compatible with a Stripe payment gateway.","example":false,"isRequired":true,"uniqueKey":"autoChargeInvoice","typeLabel":"boolean"},"autoSyncInvoice":{"type":"boolean","description":"Whether to automatically sync invoices for this subscription to the associated payment gateway.","example":true,"isRequired":true,"uniqueKey":"autoSyncInvoice","typeLabel":"boolean"},"autoSendInvoice":{"type":"boolean","description":"Whether to automatically send invoices for this subscription from the associated payment gateway to the customers email address.","example":true,"isRequired":true,"uniqueKey":"autoSendInvoice","typeLabel":"boolean"},"paymentGateway":{"oneOf":[{"type":"string","enum":["Stripe","QuickBooks","Xero"],"description":"The selected payment gateway for this subscription","example":"Stripe","isRequired":true,"uniqueKey":"paymentGateway.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["Stripe","QuickBooks","Xero"],"description":"The selected payment gateway for this subscription","example":"Stripe","isRequired":true,"uniqueKey":"paymentGateway.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"paymentGateway","typeLabel":"enum\u003cstring> | null"},"isTrial":{"type":"boolean","description":"Whether this subscription is a trial subscription","example":false,"isRequired":true,"uniqueKey":"isTrial","typeLabel":"boolean"},"customerId":{"type":"string","minLength":1,"description":"The Atlas customer ID","example":"atlas-internal-customer-id-123","isRequired":true,"uniqueKey":"customerId","typeLabel":"string"},"planId":{"type":"string","minLength":1,"description":"The Atlas plan ID","example":"atlas-internal-plan-id-123","isRequired":true,"uniqueKey":"planId","typeLabel":"string"},"merchantId":{"type":"string","minLength":1,"description":"The Atlas merchant ID","example":"atlas-internal-merchant-id-123","isRequired":true,"uniqueKey":"merchantId","typeLabel":"string"},"plan":{"type":"object","properties":{"createdAt":{"type":"string","format":"date","description":"The date and time the plan was created","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.createdAt","typeLabel":"string\u003cdate>"},"crossEnvironmentId":{"type":"string","minLength":1,"description":"The cross environment ID of the plan","example":"plan-cross-env-id-123","isRequired":true,"uniqueKey":"plan.crossEnvironmentId","typeLabel":"string"},"currency":{"type":"string","enum":["USD"],"description":"The currency for this plan","example":"USD","isRequired":true,"uniqueKey":"plan.currency","typeLabel":"enum\u003cstring>"},"description":{"type":"string","minLength":1,"description":"The description of the plan","example":"A great plan for your needs","isRequired":true,"uniqueKey":"plan.description","typeLabel":"string"},"id":{"type":"string","minLength":1,"description":"The Atlas plan ID","example":"atlas-internal-plan-id-123","isRequired":true,"uniqueKey":"plan.id","typeLabel":"string"},"isPrivate":{"type":"boolean","description":"Whether the plan is private","example":false,"isRequired":true,"uniqueKey":"plan.isPrivate","typeLabel":"boolean"},"name":{"type":"string","minLength":1,"description":"The name of the plan","example":"Pro","isRequired":true,"uniqueKey":"plan.name","typeLabel":"string"},"netTerms":{"type":"string","enum":["uponReceipt","net30","net60","net90"],"description":"The net terms for this plan","example":"net30","isRequired":true,"uniqueKey":"plan.netTerms","typeLabel":"enum\u003cstring>"},"purchasable":{"type":"boolean","description":"Whether the plan is purchasable","example":true,"isRequired":true,"uniqueKey":"plan.purchasable","typeLabel":"boolean"},"requestPricingText":{"type":"string","minLength":0,"default":"Request pricing","description":"The text to display when requesting pricing for non-purchasable plans","example":"Contact us for pricing","isRequired":true,"uniqueKey":"plan.requestPricingText","typeLabel":"string"},"requestPricingUrl":{"type":"string","minLength":0,"description":"The URL to redirect to when requesting pricing for non-purchasable plans","example":"https://example.com/request-pricing","isRequired":true,"uniqueKey":"plan.requestPricingUrl","typeLabel":"string"},"status":{"type":"string","enum":["available","draft","archived","deleted"],"description":"The status of the plan","example":"available","isRequired":true,"uniqueKey":"plan.status","typeLabel":"enum\u003cstring>"},"updatedAt":{"type":"string","format":"date","description":"The date and time the plan was last updated","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.updatedAt","typeLabel":"string\u003cdate>"},"merchantId":{"type":"string","minLength":1,"description":"The Atlas merchant ID","example":"atlas-internal-merchant-id-123","isRequired":true,"uniqueKey":"plan.merchantId","typeLabel":"string"},"prices":{"type":"array","items":{"type":"object","properties":{"price":{"type":"object","properties":{"billingCadence":{"type":"string","enum":["oneTime","monthly","quarterly","annually"],"description":"The billing cadence for this price","example":"monthly","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billingCadence","typeLabel":"enum\u003cstring>"},"billingMode":{"type":"string","enum":["advance","arrears","realTime"],"description":"The billing mode for this price","example":"advance","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billingMode","typeLabel":"enum\u003cstring>"},"blockOverage":{"type":"boolean","default":false,"description":"Whether to block overage for this price; applies only to real-time credit-based features","example":false,"isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.blockOverage","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date","description":"The date and time the price was created","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.createdAt","typeLabel":"string\u003cdate>"},"entityType":{"type":"string","enum":["entitlement","metric"],"description":"The entity type for this price","example":"entitlement","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.entityType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","minLength":1,"description":"The Atlas price ID","example":"atlas-internal-price-id-123","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.id","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"The name of the price. Inherited from the feature that this price is for.","example":"Pro Price","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.name","typeLabel":"string"},"priceType":{"type":"string","enum":["bulk","matrix","none","package","tier","unit","fixed"],"description":"The price type for this price","example":"unit","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.priceType","typeLabel":"enum\u003cstring>"},"rules":{"type":"object","properties":{},"additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"plan.prices.items.[INDEX].price.rules.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.prices.items.[INDEX].price.rules.additionalProperties","typeLabel":"null"},"description":"The pricing rules for this price","example":{"quantity":1,"price":10},"isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.rules","typeLabel":"object"},"status":{"type":"string","enum":["active","deleted"],"description":"The status of the price","example":"active","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.status","typeLabel":"enum\u003cstring>"},"usesCustomPricingUnit":{"type":"boolean","default":false,"description":"Whether this price uses a custom pricing unit","example":false,"isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.usesCustomPricingUnit","typeLabel":"boolean"},"billableId":{"type":"string","minLength":1,"description":"The Atlas billable ID","example":"atlas-internal-billable-id-123","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billableId","typeLabel":"string"},"merchantId":{"type":"string","minLength":1,"description":"The Atlas merchant ID","example":"atlas-internal-merchant-id-123","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.merchantId","typeLabel":"string"},"billable":{"type":"object","properties":{"createdAt":{"type":"string","description":"The billable creation date","example":"2022-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.createdAt","typeLabel":"string"},"updatedAt":{"type":"string","description":"The billable update date","example":"2022-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.updatedAt","typeLabel":"string"},"description":{"type":"string","description":"The billable description","example":"Access our beautiful API","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.description","typeLabel":"string"},"eventQueryRules":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"plan.prices.items.[INDEX].price.billable.eventQueryRules.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.prices.items.[INDEX].price.billable.eventQueryRules.additionalProperties","typeLabel":"null"},"description":"The event query rules","example":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"},"isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.eventQueryRules","typeLabel":"object"},"id":{"type":"string","description":"The billable ID","example":"123","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.id","typeLabel":"string"},"name":{"type":"string","description":"The billable name","example":"API Access","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.name","typeLabel":"string"},"status":{"type":"string","enum":["available","draft","archived","deleted"],"description":"The billable status","example":"available","isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.status","typeLabel":"enum\u003cstring>"},"billableType":{"type":"string","enum":["entitlement","metric"],"deprecated":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.billableType","typeLabel":"enum\u003cstring>"},"externalFlagId":{"type":"string","deprecated":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.externalFlagId","typeLabel":"string"},"includedLabel":{"type":"string","description":"On pricing components, this label will be shown to display that this billable is included","example":"Included","uniqueKey":"plan.prices.items.[INDEX].price.billable.includedLabel","typeLabel":"string"},"singleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for a single unit","example":"API call","uniqueKey":"plan.prices.items.[INDEX].price.billable.singleUnitLabel","typeLabel":"string"},"multipleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for multiple units","example":"API calls","uniqueKey":"plan.prices.items.[INDEX].price.billable.multipleUnitLabel","typeLabel":"string"},"isPrivate":{"type":"boolean","default":false,"description":"Whether the billable is private. It will never be shown on the pricing model or pricing pages","example":false,"uniqueKey":"plan.prices.items.[INDEX].price.billable.isPrivate","typeLabel":"boolean"},"showOnInvoice":{"type":"boolean","default":true,"description":"Whether the billable should be shown on the invoice","example":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable.showOnInvoice","typeLabel":"boolean"},"slug":{"type":"string","description":"Used to identify this billable in your systems","example":"api-access","uniqueKey":"plan.prices.items.[INDEX].price.billable.slug","typeLabel":"string"},"hidden":{"type":"boolean","default":false,"description":"Whether the billable is hidden","example":false,"uniqueKey":"plan.prices.items.[INDEX].price.billable.hidden","typeLabel":"boolean"},"displayOrder":{"oneOf":[{"type":"integer","description":"The display order for sorting billables","example":0,"uniqueKey":"plan.prices.items.[INDEX].price.billable.displayOrder.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The display order for sorting billables","example":0,"uniqueKey":"plan.prices.items.[INDEX].price.billable.displayOrder.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.prices.items.[INDEX].price.billable.displayOrder","typeLabel":"integer | null"}},"required":["createdAt","updatedAt","description","eventQueryRules","id","name","status"],"additionalProperties":false,"isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price.billable","typeLabel":"object"},"limit":{"oneOf":[{"type":"integer","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100,"uniqueKey":"plan.prices.items.[INDEX].price.limit.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100,"uniqueKey":"plan.prices.items.[INDEX].price.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.prices.items.[INDEX].price.limit","typeLabel":"integer | null"},"maxUsage":{"oneOf":[{"type":"integer","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000,"uniqueKey":"plan.prices.items.[INDEX].price.maxUsage.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000,"uniqueKey":"plan.prices.items.[INDEX].price.maxUsage.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.prices.items.[INDEX].price.maxUsage","typeLabel":"integer | null"},"customPricingUnitId":{"oneOf":[{"type":"string","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123","uniqueKey":"plan.prices.items.[INDEX].price.customPricingUnitId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123","uniqueKey":"plan.prices.items.[INDEX].price.customPricingUnitId.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.prices.items.[INDEX].price.customPricingUnitId","typeLabel":"string | null"}},"required":["billingCadence","billingMode","blockOverage","createdAt","entityType","id","name","priceType","rules","status","usesCustomPricingUnit","billableId","merchantId","billable"],"isRequired":true,"uniqueKey":"plan.prices.items.[INDEX].price","typeLabel":"object"}},"required":["price"],"uniqueKey":"plan.prices.items.[INDEX]","typeLabel":"object"},"description":"The prices associated with the plan","isRequired":true,"uniqueKey":"plan.prices","typeLabel":"object[]"},"externalId":{"oneOf":[{"type":"string","minLength":1,"description":"The external ID of the plan (e.g. the plan ID in your system)","example":"external-plan-id-123","uniqueKey":"plan.externalId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The external ID of the plan (e.g. the plan ID in your system)","example":"external-plan-id-123","uniqueKey":"plan.externalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.externalId","typeLabel":"string | null"},"basePlanPriceId":{"oneOf":[{"type":"string","minLength":1,"description":"The ID of the monthly base plan price","example":"atlas-internal-price-id-123","uniqueKey":"plan.basePlanPriceId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The ID of the monthly base plan price","example":"atlas-internal-price-id-123","uniqueKey":"plan.basePlanPriceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceId","typeLabel":"string | null"},"basePlanPriceQuarterlyId":{"oneOf":[{"type":"string","minLength":1,"description":"The ID of the quarterly base plan price","example":"atlas-internal-price-id-123","uniqueKey":"plan.basePlanPriceQuarterlyId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The ID of the quarterly base plan price","example":"atlas-internal-price-id-123","uniqueKey":"plan.basePlanPriceQuarterlyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceQuarterlyId","typeLabel":"string | null"},"basePlanPriceAnnuallyId":{"oneOf":[{"type":"string","minLength":1,"description":"The ID of the annual base plan price","example":"atlas-internal-price-id-123","uniqueKey":"plan.basePlanPriceAnnuallyId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The ID of the annual base plan price","example":"atlas-internal-price-id-123","uniqueKey":"plan.basePlanPriceAnnuallyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceAnnuallyId","typeLabel":"string | null"},"basePlanPriceMonthlyStatus":{"oneOf":[{"type":"string","enum":["active","archived"],"description":"The status of the monthly base plan price","example":"active","uniqueKey":"plan.basePlanPriceMonthlyStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["active","archived"],"description":"The status of the monthly base plan price","example":"active","uniqueKey":"plan.basePlanPriceMonthlyStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceMonthlyStatus","typeLabel":"enum\u003cstring> | null"},"basePlanPriceQuarterlyStatus":{"oneOf":[{"type":"string","enum":["active","archived"],"description":"The status of the quarterly base plan price","example":"active","uniqueKey":"plan.basePlanPriceQuarterlyStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["active","archived"],"description":"The status of the quarterly base plan price","example":"active","uniqueKey":"plan.basePlanPriceQuarterlyStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceQuarterlyStatus","typeLabel":"enum\u003cstring> | null"},"basePlanPriceAnnuallyStatus":{"oneOf":[{"type":"string","enum":["active","archived"],"description":"The status of the annual base plan price","example":"active","uniqueKey":"plan.basePlanPriceAnnuallyStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["active","archived"],"description":"The status of the annual base plan price","example":"active","uniqueKey":"plan.basePlanPriceAnnuallyStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceAnnuallyStatus","typeLabel":"enum\u003cstring> | null"},"basePlanPrice":{"oneOf":[{"type":"object","properties":{"billingCadence":{"type":"string","enum":["oneTime","monthly","quarterly","annually"],"description":"The billing cadence for this price","example":"monthly","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billingCadence","typeLabel":"enum\u003cstring>"},"billingMode":{"type":"string","enum":["advance","arrears","realTime"],"description":"The billing mode for this price","example":"advance","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billingMode","typeLabel":"enum\u003cstring>"},"blockOverage":{"type":"boolean","default":false,"description":"Whether to block overage for this price; applies only to real-time credit-based features","example":false,"isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.blockOverage","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date","description":"The date and time the price was created","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.createdAt","typeLabel":"string\u003cdate>"},"entityType":{"type":"string","enum":["entitlement","metric"],"description":"The entity type for this price","example":"entitlement","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.entityType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","minLength":1,"description":"The Atlas price ID","example":"atlas-internal-price-id-123","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"The name of the price. Inherited from the feature that this price is for.","example":"Pro Price","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.name","typeLabel":"string"},"priceType":{"type":"string","enum":["bulk","matrix","none","package","tier","unit","fixed"],"description":"The price type for this price","example":"unit","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.priceType","typeLabel":"enum\u003cstring>"},"rules":{"type":"object","properties":{},"additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"plan.basePlanPrice.oneOf.0.rules.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPrice.oneOf.0.rules.additionalProperties","typeLabel":"null"},"description":"The pricing rules for this price","example":{"quantity":1,"price":10},"isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.rules","typeLabel":"object"},"status":{"type":"string","enum":["active","deleted"],"description":"The status of the price","example":"active","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.status","typeLabel":"enum\u003cstring>"},"usesCustomPricingUnit":{"type":"boolean","default":false,"description":"Whether this price uses a custom pricing unit","example":false,"isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.usesCustomPricingUnit","typeLabel":"boolean"},"billableId":{"type":"string","minLength":1,"description":"The Atlas billable ID","example":"atlas-internal-billable-id-123","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billableId","typeLabel":"string"},"merchantId":{"type":"string","minLength":1,"description":"The Atlas merchant ID","example":"atlas-internal-merchant-id-123","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.merchantId","typeLabel":"string"},"billable":{"type":"object","properties":{"createdAt":{"type":"string","description":"The billable creation date","example":"2022-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.createdAt","typeLabel":"string"},"updatedAt":{"type":"string","description":"The billable update date","example":"2022-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.updatedAt","typeLabel":"string"},"description":{"type":"string","description":"The billable description","example":"Access our beautiful API","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.description","typeLabel":"string"},"eventQueryRules":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"plan.basePlanPrice.oneOf.0.billable.eventQueryRules.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.eventQueryRules.additionalProperties","typeLabel":"null"},"description":"The event query rules","example":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"},"isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.eventQueryRules","typeLabel":"object"},"id":{"type":"string","description":"The billable ID","example":"123","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.id","typeLabel":"string"},"name":{"type":"string","description":"The billable name","example":"API Access","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.name","typeLabel":"string"},"status":{"type":"string","enum":["available","draft","archived","deleted"],"description":"The billable status","example":"available","isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.status","typeLabel":"enum\u003cstring>"},"billableType":{"type":"string","enum":["entitlement","metric"],"deprecated":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.billableType","typeLabel":"enum\u003cstring>"},"externalFlagId":{"type":"string","deprecated":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.externalFlagId","typeLabel":"string"},"includedLabel":{"type":"string","description":"On pricing components, this label will be shown to display that this billable is included","example":"Included","uniqueKey":"plan.basePlanPrice.oneOf.0.billable.includedLabel","typeLabel":"string"},"singleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for a single unit","example":"API call","uniqueKey":"plan.basePlanPrice.oneOf.0.billable.singleUnitLabel","typeLabel":"string"},"multipleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for multiple units","example":"API calls","uniqueKey":"plan.basePlanPrice.oneOf.0.billable.multipleUnitLabel","typeLabel":"string"},"isPrivate":{"type":"boolean","default":false,"description":"Whether the billable is private. It will never be shown on the pricing model or pricing pages","example":false,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.isPrivate","typeLabel":"boolean"},"showOnInvoice":{"type":"boolean","default":true,"description":"Whether the billable should be shown on the invoice","example":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.showOnInvoice","typeLabel":"boolean"},"slug":{"type":"string","description":"Used to identify this billable in your systems","example":"api-access","uniqueKey":"plan.basePlanPrice.oneOf.0.billable.slug","typeLabel":"string"},"hidden":{"type":"boolean","default":false,"description":"Whether the billable is hidden","example":false,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.hidden","typeLabel":"boolean"},"displayOrder":{"oneOf":[{"type":"integer","description":"The display order for sorting billables","example":0,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.displayOrder.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The display order for sorting billables","example":0,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.displayOrder.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPrice.oneOf.0.billable.displayOrder","typeLabel":"integer | null"}},"required":["createdAt","updatedAt","description","eventQueryRules","id","name","status"],"additionalProperties":false,"isRequired":true,"uniqueKey":"plan.basePlanPrice.oneOf.0.billable","typeLabel":"object"},"limit":{"oneOf":[{"type":"integer","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100,"uniqueKey":"plan.basePlanPrice.oneOf.0.limit.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100,"uniqueKey":"plan.basePlanPrice.oneOf.0.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPrice.oneOf.0.limit","typeLabel":"integer | null"},"maxUsage":{"oneOf":[{"type":"integer","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000,"uniqueKey":"plan.basePlanPrice.oneOf.0.maxUsage.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000,"uniqueKey":"plan.basePlanPrice.oneOf.0.maxUsage.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPrice.oneOf.0.maxUsage","typeLabel":"integer | null"},"customPricingUnitId":{"oneOf":[{"type":"string","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123","uniqueKey":"plan.basePlanPrice.oneOf.0.customPricingUnitId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123","uniqueKey":"plan.basePlanPrice.oneOf.0.customPricingUnitId.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPrice.oneOf.0.customPricingUnitId","typeLabel":"string | null"}},"required":["billingCadence","billingMode","blockOverage","createdAt","entityType","id","name","priceType","rules","status","usesCustomPricingUnit","billableId","merchantId","billable"],"description":"The monthly base plan price","uniqueKey":"plan.basePlanPrice.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"billingCadence":{"type":"string","enum":["oneTime","monthly","quarterly","annually"],"description":"The billing cadence for this price","example":"monthly"},"billingMode":{"type":"string","enum":["advance","arrears","realTime"],"description":"The billing mode for this price","example":"advance"},"blockOverage":{"type":"boolean","default":false,"description":"Whether to block overage for this price; applies only to real-time credit-based features","example":false},"createdAt":{"type":"string","format":"date","description":"The date and time the price was created","example":"2021-01-01T00:00:00.000Z"},"entityType":{"type":"string","enum":["entitlement","metric"],"description":"The entity type for this price","example":"entitlement"},"id":{"type":"string","minLength":1,"description":"The Atlas price ID","example":"atlas-internal-price-id-123"},"limit":{"oneOf":[{"type":"integer","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100},{"type":"null","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100}]},"maxUsage":{"oneOf":[{"type":"integer","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000},{"type":"null","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000}]},"name":{"type":"string","minLength":1,"description":"The name of the price. Inherited from the feature that this price is for.","example":"Pro Price"},"priceType":{"type":"string","enum":["bulk","matrix","none","package","tier","unit","fixed"],"description":"The price type for this price","example":"unit"},"rules":{"type":"object","properties":{},"additionalProperties":{"oneOf":[{},{"type":"null"}]},"description":"The pricing rules for this price","example":{"quantity":1,"price":10}},"status":{"type":"string","enum":["active","deleted"],"description":"The status of the price","example":"active"},"usesCustomPricingUnit":{"type":"boolean","default":false,"description":"Whether this price uses a custom pricing unit","example":false},"billableId":{"type":"string","minLength":1,"description":"The Atlas billable ID","example":"atlas-internal-billable-id-123"},"customPricingUnitId":{"oneOf":[{"type":"string","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123"},{"type":"null","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123"}]},"merchantId":{"type":"string","minLength":1,"description":"The Atlas merchant ID","example":"atlas-internal-merchant-id-123"},"billable":{"type":"object","properties":{"billableType":{"type":"string","enum":["entitlement","metric"],"deprecated":true},"createdAt":{"type":"string","description":"The billable creation date","example":"2022-01-01T00:00:00.000Z"},"updatedAt":{"type":"string","description":"The billable update date","example":"2022-01-01T00:00:00.000Z"},"description":{"type":"string","description":"The billable description","example":"Access our beautiful API"},"eventQueryRules":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]},"description":"The event query rules","example":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"}},"externalFlagId":{"type":"string","deprecated":true},"id":{"type":"string","description":"The billable ID","example":"123"},"includedLabel":{"type":"string","description":"On pricing components, this label will be shown to display that this billable is included","example":"Included"},"singleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for a single unit","example":"API call"},"multipleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for multiple units","example":"API calls"},"name":{"type":"string","description":"The billable name","example":"API Access"},"isPrivate":{"type":"boolean","default":false,"description":"Whether the billable is private. It will never be shown on the pricing model or pricing pages","example":false},"showOnInvoice":{"type":"boolean","default":true,"description":"Whether the billable should be shown on the invoice","example":true},"slug":{"type":"string","description":"Used to identify this billable in your systems","example":"api-access"},"status":{"type":"string","enum":["available","draft","archived","deleted"],"description":"The billable status","example":"available"},"hidden":{"type":"boolean","default":false,"description":"Whether the billable is hidden","example":false},"displayOrder":{"oneOf":[{"type":"integer","description":"The display order for sorting billables","example":0},{"type":"null","description":"The display order for sorting billables","example":0}]}},"required":["createdAt","updatedAt","description","eventQueryRules","id","name","status"],"additionalProperties":false}},"required":["billingCadence","billingMode","blockOverage","createdAt","entityType","id","name","priceType","rules","status","usesCustomPricingUnit","billableId","merchantId","billable"],"description":"The monthly base plan price","uniqueKey":"plan.basePlanPrice.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPrice","typeLabel":"object | null"},"basePlanPriceQuarterly":{"oneOf":[{"type":"object","properties":{"billingCadence":{"type":"string","enum":["oneTime","monthly","quarterly","annually"],"description":"The billing cadence for this price","example":"monthly","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billingCadence","typeLabel":"enum\u003cstring>"},"billingMode":{"type":"string","enum":["advance","arrears","realTime"],"description":"The billing mode for this price","example":"advance","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billingMode","typeLabel":"enum\u003cstring>"},"blockOverage":{"type":"boolean","default":false,"description":"Whether to block overage for this price; applies only to real-time credit-based features","example":false,"isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.blockOverage","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date","description":"The date and time the price was created","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.createdAt","typeLabel":"string\u003cdate>"},"entityType":{"type":"string","enum":["entitlement","metric"],"description":"The entity type for this price","example":"entitlement","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.entityType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","minLength":1,"description":"The Atlas price ID","example":"atlas-internal-price-id-123","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"The name of the price. Inherited from the feature that this price is for.","example":"Pro Price","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.name","typeLabel":"string"},"priceType":{"type":"string","enum":["bulk","matrix","none","package","tier","unit","fixed"],"description":"The price type for this price","example":"unit","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.priceType","typeLabel":"enum\u003cstring>"},"rules":{"type":"object","properties":{},"additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.rules.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.rules.additionalProperties","typeLabel":"null"},"description":"The pricing rules for this price","example":{"quantity":1,"price":10},"isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.rules","typeLabel":"object"},"status":{"type":"string","enum":["active","deleted"],"description":"The status of the price","example":"active","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.status","typeLabel":"enum\u003cstring>"},"usesCustomPricingUnit":{"type":"boolean","default":false,"description":"Whether this price uses a custom pricing unit","example":false,"isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.usesCustomPricingUnit","typeLabel":"boolean"},"billableId":{"type":"string","minLength":1,"description":"The Atlas billable ID","example":"atlas-internal-billable-id-123","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billableId","typeLabel":"string"},"merchantId":{"type":"string","minLength":1,"description":"The Atlas merchant ID","example":"atlas-internal-merchant-id-123","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.merchantId","typeLabel":"string"},"billable":{"type":"object","properties":{"createdAt":{"type":"string","description":"The billable creation date","example":"2022-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.createdAt","typeLabel":"string"},"updatedAt":{"type":"string","description":"The billable update date","example":"2022-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.updatedAt","typeLabel":"string"},"description":{"type":"string","description":"The billable description","example":"Access our beautiful API","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.description","typeLabel":"string"},"eventQueryRules":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.eventQueryRules.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.eventQueryRules.additionalProperties","typeLabel":"null"},"description":"The event query rules","example":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"},"isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.eventQueryRules","typeLabel":"object"},"id":{"type":"string","description":"The billable ID","example":"123","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.id","typeLabel":"string"},"name":{"type":"string","description":"The billable name","example":"API Access","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.name","typeLabel":"string"},"status":{"type":"string","enum":["available","draft","archived","deleted"],"description":"The billable status","example":"available","isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.status","typeLabel":"enum\u003cstring>"},"billableType":{"type":"string","enum":["entitlement","metric"],"deprecated":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.billableType","typeLabel":"enum\u003cstring>"},"externalFlagId":{"type":"string","deprecated":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.externalFlagId","typeLabel":"string"},"includedLabel":{"type":"string","description":"On pricing components, this label will be shown to display that this billable is included","example":"Included","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.includedLabel","typeLabel":"string"},"singleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for a single unit","example":"API call","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.singleUnitLabel","typeLabel":"string"},"multipleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for multiple units","example":"API calls","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.multipleUnitLabel","typeLabel":"string"},"isPrivate":{"type":"boolean","default":false,"description":"Whether the billable is private. It will never be shown on the pricing model or pricing pages","example":false,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.isPrivate","typeLabel":"boolean"},"showOnInvoice":{"type":"boolean","default":true,"description":"Whether the billable should be shown on the invoice","example":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.showOnInvoice","typeLabel":"boolean"},"slug":{"type":"string","description":"Used to identify this billable in your systems","example":"api-access","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.slug","typeLabel":"string"},"hidden":{"type":"boolean","default":false,"description":"Whether the billable is hidden","example":false,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.hidden","typeLabel":"boolean"},"displayOrder":{"oneOf":[{"type":"integer","description":"The display order for sorting billables","example":0,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.displayOrder.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The display order for sorting billables","example":0,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.displayOrder.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable.displayOrder","typeLabel":"integer | null"}},"required":["createdAt","updatedAt","description","eventQueryRules","id","name","status"],"additionalProperties":false,"isRequired":true,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.billable","typeLabel":"object"},"limit":{"oneOf":[{"type":"integer","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.limit.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.limit","typeLabel":"integer | null"},"maxUsage":{"oneOf":[{"type":"integer","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.maxUsage.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000,"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.maxUsage.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.maxUsage","typeLabel":"integer | null"},"customPricingUnitId":{"oneOf":[{"type":"string","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.customPricingUnitId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.customPricingUnitId.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0.customPricingUnitId","typeLabel":"string | null"}},"required":["billingCadence","billingMode","blockOverage","createdAt","entityType","id","name","priceType","rules","status","usesCustomPricingUnit","billableId","merchantId","billable"],"description":"The quarterly base plan price","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"billingCadence":{"type":"string","enum":["oneTime","monthly","quarterly","annually"],"description":"The billing cadence for this price","example":"monthly"},"billingMode":{"type":"string","enum":["advance","arrears","realTime"],"description":"The billing mode for this price","example":"advance"},"blockOverage":{"type":"boolean","default":false,"description":"Whether to block overage for this price; applies only to real-time credit-based features","example":false},"createdAt":{"type":"string","format":"date","description":"The date and time the price was created","example":"2021-01-01T00:00:00.000Z"},"entityType":{"type":"string","enum":["entitlement","metric"],"description":"The entity type for this price","example":"entitlement"},"id":{"type":"string","minLength":1,"description":"The Atlas price ID","example":"atlas-internal-price-id-123"},"limit":{"oneOf":[{"type":"integer","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100},{"type":"null","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100}]},"maxUsage":{"oneOf":[{"type":"integer","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000},{"type":"null","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000}]},"name":{"type":"string","minLength":1,"description":"The name of the price. Inherited from the feature that this price is for.","example":"Pro Price"},"priceType":{"type":"string","enum":["bulk","matrix","none","package","tier","unit","fixed"],"description":"The price type for this price","example":"unit"},"rules":{"type":"object","properties":{},"additionalProperties":{"oneOf":[{},{"type":"null"}]},"description":"The pricing rules for this price","example":{"quantity":1,"price":10}},"status":{"type":"string","enum":["active","deleted"],"description":"The status of the price","example":"active"},"usesCustomPricingUnit":{"type":"boolean","default":false,"description":"Whether this price uses a custom pricing unit","example":false},"billableId":{"type":"string","minLength":1,"description":"The Atlas billable ID","example":"atlas-internal-billable-id-123"},"customPricingUnitId":{"oneOf":[{"type":"string","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123"},{"type":"null","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123"}]},"merchantId":{"type":"string","minLength":1,"description":"The Atlas merchant ID","example":"atlas-internal-merchant-id-123"},"billable":{"type":"object","properties":{"billableType":{"type":"string","enum":["entitlement","metric"],"deprecated":true},"createdAt":{"type":"string","description":"The billable creation date","example":"2022-01-01T00:00:00.000Z"},"updatedAt":{"type":"string","description":"The billable update date","example":"2022-01-01T00:00:00.000Z"},"description":{"type":"string","description":"The billable description","example":"Access our beautiful API"},"eventQueryRules":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]},"description":"The event query rules","example":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"}},"externalFlagId":{"type":"string","deprecated":true},"id":{"type":"string","description":"The billable ID","example":"123"},"includedLabel":{"type":"string","description":"On pricing components, this label will be shown to display that this billable is included","example":"Included"},"singleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for a single unit","example":"API call"},"multipleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for multiple units","example":"API calls"},"name":{"type":"string","description":"The billable name","example":"API Access"},"isPrivate":{"type":"boolean","default":false,"description":"Whether the billable is private. It will never be shown on the pricing model or pricing pages","example":false},"showOnInvoice":{"type":"boolean","default":true,"description":"Whether the billable should be shown on the invoice","example":true},"slug":{"type":"string","description":"Used to identify this billable in your systems","example":"api-access"},"status":{"type":"string","enum":["available","draft","archived","deleted"],"description":"The billable status","example":"available"},"hidden":{"type":"boolean","default":false,"description":"Whether the billable is hidden","example":false},"displayOrder":{"oneOf":[{"type":"integer","description":"The display order for sorting billables","example":0},{"type":"null","description":"The display order for sorting billables","example":0}]}},"required":["createdAt","updatedAt","description","eventQueryRules","id","name","status"],"additionalProperties":false}},"required":["billingCadence","billingMode","blockOverage","createdAt","entityType","id","name","priceType","rules","status","usesCustomPricingUnit","billableId","merchantId","billable"],"description":"The quarterly base plan price","uniqueKey":"plan.basePlanPriceQuarterly.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceQuarterly","typeLabel":"object | null"},"basePlanPriceAnnually":{"oneOf":[{"type":"object","properties":{"billingCadence":{"type":"string","enum":["oneTime","monthly","quarterly","annually"],"description":"The billing cadence for this price","example":"monthly","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billingCadence","typeLabel":"enum\u003cstring>"},"billingMode":{"type":"string","enum":["advance","arrears","realTime"],"description":"The billing mode for this price","example":"advance","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billingMode","typeLabel":"enum\u003cstring>"},"blockOverage":{"type":"boolean","default":false,"description":"Whether to block overage for this price; applies only to real-time credit-based features","example":false,"isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.blockOverage","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date","description":"The date and time the price was created","example":"2021-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.createdAt","typeLabel":"string\u003cdate>"},"entityType":{"type":"string","enum":["entitlement","metric"],"description":"The entity type for this price","example":"entitlement","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.entityType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","minLength":1,"description":"The Atlas price ID","example":"atlas-internal-price-id-123","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"The name of the price. Inherited from the feature that this price is for.","example":"Pro Price","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.name","typeLabel":"string"},"priceType":{"type":"string","enum":["bulk","matrix","none","package","tier","unit","fixed"],"description":"The price type for this price","example":"unit","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.priceType","typeLabel":"enum\u003cstring>"},"rules":{"type":"object","properties":{},"additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.rules.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.rules.additionalProperties","typeLabel":"null"},"description":"The pricing rules for this price","example":{"quantity":1,"price":10},"isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.rules","typeLabel":"object"},"status":{"type":"string","enum":["active","deleted"],"description":"The status of the price","example":"active","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.status","typeLabel":"enum\u003cstring>"},"usesCustomPricingUnit":{"type":"boolean","default":false,"description":"Whether this price uses a custom pricing unit","example":false,"isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.usesCustomPricingUnit","typeLabel":"boolean"},"billableId":{"type":"string","minLength":1,"description":"The Atlas billable ID","example":"atlas-internal-billable-id-123","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billableId","typeLabel":"string"},"merchantId":{"type":"string","minLength":1,"description":"The Atlas merchant ID","example":"atlas-internal-merchant-id-123","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.merchantId","typeLabel":"string"},"billable":{"type":"object","properties":{"createdAt":{"type":"string","description":"The billable creation date","example":"2022-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.createdAt","typeLabel":"string"},"updatedAt":{"type":"string","description":"The billable update date","example":"2022-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.updatedAt","typeLabel":"string"},"description":{"type":"string","description":"The billable description","example":"Access our beautiful API","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.description","typeLabel":"string"},"eventQueryRules":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.eventQueryRules.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.eventQueryRules.additionalProperties","typeLabel":"null"},"description":"The event query rules","example":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"},"isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.eventQueryRules","typeLabel":"object"},"id":{"type":"string","description":"The billable ID","example":"123","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.id","typeLabel":"string"},"name":{"type":"string","description":"The billable name","example":"API Access","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.name","typeLabel":"string"},"status":{"type":"string","enum":["available","draft","archived","deleted"],"description":"The billable status","example":"available","isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.status","typeLabel":"enum\u003cstring>"},"billableType":{"type":"string","enum":["entitlement","metric"],"deprecated":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.billableType","typeLabel":"enum\u003cstring>"},"externalFlagId":{"type":"string","deprecated":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.externalFlagId","typeLabel":"string"},"includedLabel":{"type":"string","description":"On pricing components, this label will be shown to display that this billable is included","example":"Included","uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.includedLabel","typeLabel":"string"},"singleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for a single unit","example":"API call","uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.singleUnitLabel","typeLabel":"string"},"multipleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for multiple units","example":"API calls","uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.multipleUnitLabel","typeLabel":"string"},"isPrivate":{"type":"boolean","default":false,"description":"Whether the billable is private. It will never be shown on the pricing model or pricing pages","example":false,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.isPrivate","typeLabel":"boolean"},"showOnInvoice":{"type":"boolean","default":true,"description":"Whether the billable should be shown on the invoice","example":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.showOnInvoice","typeLabel":"boolean"},"slug":{"type":"string","description":"Used to identify this billable in your systems","example":"api-access","uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.slug","typeLabel":"string"},"hidden":{"type":"boolean","default":false,"description":"Whether the billable is hidden","example":false,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.hidden","typeLabel":"boolean"},"displayOrder":{"oneOf":[{"type":"integer","description":"The display order for sorting billables","example":0,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.displayOrder.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The display order for sorting billables","example":0,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.displayOrder.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable.displayOrder","typeLabel":"integer | null"}},"required":["createdAt","updatedAt","description","eventQueryRules","id","name","status"],"additionalProperties":false,"isRequired":true,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.billable","typeLabel":"object"},"limit":{"oneOf":[{"type":"integer","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.limit.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.limit","typeLabel":"integer | null"},"maxUsage":{"oneOf":[{"type":"integer","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.maxUsage.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000,"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.maxUsage.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.maxUsage","typeLabel":"integer | null"},"customPricingUnitId":{"oneOf":[{"type":"string","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123","uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.customPricingUnitId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123","uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.customPricingUnitId.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceAnnually.oneOf.0.customPricingUnitId","typeLabel":"string | null"}},"required":["billingCadence","billingMode","blockOverage","createdAt","entityType","id","name","priceType","rules","status","usesCustomPricingUnit","billableId","merchantId","billable"],"description":"The annual base plan price","uniqueKey":"plan.basePlanPriceAnnually.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"billingCadence":{"type":"string","enum":["oneTime","monthly","quarterly","annually"],"description":"The billing cadence for this price","example":"monthly"},"billingMode":{"type":"string","enum":["advance","arrears","realTime"],"description":"The billing mode for this price","example":"advance"},"blockOverage":{"type":"boolean","default":false,"description":"Whether to block overage for this price; applies only to real-time credit-based features","example":false},"createdAt":{"type":"string","format":"date","description":"The date and time the price was created","example":"2021-01-01T00:00:00.000Z"},"entityType":{"type":"string","enum":["entitlement","metric"],"description":"The entity type for this price","example":"entitlement"},"id":{"type":"string","minLength":1,"description":"The Atlas price ID","example":"atlas-internal-price-id-123"},"limit":{"oneOf":[{"type":"integer","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100},{"type":"null","minimum":0,"description":"The limit for this price; applies only to limit-based features","example":100}]},"maxUsage":{"oneOf":[{"type":"integer","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000},{"type":"null","minimum":0,"description":"The maximum usage for this price; applies only to usage-based features","example":1000}]},"name":{"type":"string","minLength":1,"description":"The name of the price. Inherited from the feature that this price is for.","example":"Pro Price"},"priceType":{"type":"string","enum":["bulk","matrix","none","package","tier","unit","fixed"],"description":"The price type for this price","example":"unit"},"rules":{"type":"object","properties":{},"additionalProperties":{"oneOf":[{},{"type":"null"}]},"description":"The pricing rules for this price","example":{"quantity":1,"price":10}},"status":{"type":"string","enum":["active","deleted"],"description":"The status of the price","example":"active"},"usesCustomPricingUnit":{"type":"boolean","default":false,"description":"Whether this price uses a custom pricing unit","example":false},"billableId":{"type":"string","minLength":1,"description":"The Atlas billable ID","example":"atlas-internal-billable-id-123"},"customPricingUnitId":{"oneOf":[{"type":"string","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123"},{"type":"null","minLength":1,"description":"The Atlas custom pricing unit ID","example":"atlas-internal-custom-pricing-unit-id-123"}]},"merchantId":{"type":"string","minLength":1,"description":"The Atlas merchant ID","example":"atlas-internal-merchant-id-123"},"billable":{"type":"object","properties":{"billableType":{"type":"string","enum":["entitlement","metric"],"deprecated":true},"createdAt":{"type":"string","description":"The billable creation date","example":"2022-01-01T00:00:00.000Z"},"updatedAt":{"type":"string","description":"The billable update date","example":"2022-01-01T00:00:00.000Z"},"description":{"type":"string","description":"The billable description","example":"Access our beautiful API"},"eventQueryRules":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]},"description":"The event query rules","example":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"}},"externalFlagId":{"type":"string","deprecated":true},"id":{"type":"string","description":"The billable ID","example":"123"},"includedLabel":{"type":"string","description":"On pricing components, this label will be shown to display that this billable is included","example":"Included"},"singleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for a single unit","example":"API call"},"multipleUnitLabel":{"type":"string","description":"On pricing components, this label will be shown for multiple units","example":"API calls"},"name":{"type":"string","description":"The billable name","example":"API Access"},"isPrivate":{"type":"boolean","default":false,"description":"Whether the billable is private. It will never be shown on the pricing model or pricing pages","example":false},"showOnInvoice":{"type":"boolean","default":true,"description":"Whether the billable should be shown on the invoice","example":true},"slug":{"type":"string","description":"Used to identify this billable in your systems","example":"api-access"},"status":{"type":"string","enum":["available","draft","archived","deleted"],"description":"The billable status","example":"available"},"hidden":{"type":"boolean","default":false,"description":"Whether the billable is hidden","example":false},"displayOrder":{"oneOf":[{"type":"integer","description":"The display order for sorting billables","example":0},{"type":"null","description":"The display order for sorting billables","example":0}]}},"required":["createdAt","updatedAt","description","eventQueryRules","id","name","status"],"additionalProperties":false}},"required":["billingCadence","billingMode","blockOverage","createdAt","entityType","id","name","priceType","rules","status","usesCustomPricingUnit","billableId","merchantId","billable"],"description":"The annual base plan price","uniqueKey":"plan.basePlanPriceAnnually.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.basePlanPriceAnnually","typeLabel":"object | null"}},"required":["createdAt","crossEnvironmentId","currency","description","id","isPrivate","name","netTerms","purchasable","requestPricingText","requestPricingUrl","status","updatedAt","merchantId","prices"],"isRequired":true,"uniqueKey":"plan","typeLabel":"object"},"billingCadence":{"oneOf":[{"type":"string","enum":["oneTime","monthly","quarterly","annually"],"description":"The billing cadence for this subscription","example":"monthly","uniqueKey":"billingCadence.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["oneTime","monthly","quarterly","annually"],"description":"The billing cadence for this subscription","example":"monthly","uniqueKey":"billingCadence.oneOf.1","typeLabel":"null"}],"uniqueKey":"billingCadence","typeLabel":"enum\u003cstring> | null"},"currency":{"oneOf":[{"type":"string","enum":["USD"],"description":"The currency for this subscription","example":"USD","uniqueKey":"currency.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["USD"],"description":"The currency for this subscription","example":"USD","uniqueKey":"currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"currency","typeLabel":"enum\u003cstring> | null"},"endDate":{"oneOf":[{"type":"string","description":"The end date of the subscription","format":"date","example":"2021-12-31T00:00:00.000Z","uniqueKey":"endDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"string","description":"The end date of the subscription","format":"date-time","example":"2021-12-31T00:00:00.000Z","uniqueKey":"endDate.oneOf.1","typeLabel":"string\u003cdate-time>"},{"description":"The end date of the subscription","example":"2021-12-31T00:00:00.000Z","uniqueKey":"endDate.oneOf.2","typeLabel":"any"},{"type":"null","description":"The end date of the subscription","example":"2021-12-31T00:00:00.000Z","uniqueKey":"endDate.oneOf.3","typeLabel":"null"}],"uniqueKey":"endDate","typeLabel":"string\u003cdate> | string\u003cdate-time> | any | null"},"netTerms":{"oneOf":[{"type":"string","enum":["uponReceipt","net30","net60","net90"],"description":"The net terms for this subscription; applies only if autoChargeInvoice is false. Determines the number of days after the invoice is issued before the payment is due.","example":"net30","uniqueKey":"netTerms.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["uponReceipt","net30","net60","net90"],"description":"The net terms for this subscription; applies only if autoChargeInvoice is false. Determines the number of days after the invoice is issued before the payment is due.","example":"net30","uniqueKey":"netTerms.oneOf.1","typeLabel":"null"}],"uniqueKey":"netTerms","typeLabel":"enum\u003cstring> | null"},"chargeForUsageBasedPricesDuringTrial":{"oneOf":[{"type":"boolean","description":"Whether to charge for usage-based prices during the trial period. Only applies if isTrial is true.","example":false,"uniqueKey":"chargeForUsageBasedPricesDuringTrial.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether to charge for usage-based prices during the trial period. Only applies if isTrial is true.","example":false,"uniqueKey":"chargeForUsageBasedPricesDuringTrial.oneOf.1","typeLabel":"null"}],"uniqueKey":"chargeForUsageBasedPricesDuringTrial","typeLabel":"boolean | null"}},"required":["createdAt","id","startDate","status","updatedAt","allowCustomerChanges","autoChargeInvoice","autoSyncInvoice","autoSendInvoice","paymentGateway","isTrial","customerId","planId","merchantId","plan"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"createdAt":"2021-01-01T00:00:00.000Z","id":"atlas-internal-subscription-id-123","startDate":"2021-01-01T00:00:00.000Z","status":"active","updatedAt":"2021-01-01T00:00:00.000Z","allowCustomerChanges":true,"autoChargeInvoice":false,"autoSyncInvoice":true,"autoSendInvoice":true,"paymentGateway":"Stripe","isTrial":false,"customerId":"atlas-internal-customer-id-123","planId":"atlas-internal-plan-id-123","merchantId":"atlas-internal-merchant-id-123","plan":{"createdAt":"2021-01-01T00:00:00.000Z","crossEnvironmentId":"plan-cross-env-id-123","currency":"USD","description":"A great plan for your needs","id":"atlas-internal-plan-id-123","isPrivate":false,"name":"Pro","netTerms":"net30","purchasable":true,"requestPricingText":"Contact us for pricing","requestPricingUrl":"https://example.com/request-pricing","status":"available","updatedAt":"2021-01-01T00:00:00.000Z","merchantId":"atlas-internal-merchant-id-123","prices":[{"price":{"billingCadence":"monthly","billingMode":"advance","blockOverage":false,"createdAt":"2021-01-01T00:00:00.000Z","entityType":"entitlement","id":"atlas-internal-price-id-123","name":"Pro Price","priceType":"unit","rules":{"quantity":1,"price":10},"status":"active","usesCustomPricingUnit":false,"billableId":"atlas-internal-billable-id-123","merchantId":"atlas-internal-merchant-id-123","billable":{"createdAt":"2022-01-01T00:00:00.000Z","updatedAt":"2022-01-01T00:00:00.000Z","description":"Access our beautiful API","eventQueryRules":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"},"id":"123","name":"API Access","status":"available","billableType":"entitlement","externalFlagId":"\u003cstring>","includedLabel":"Included","singleUnitLabel":"API call","multipleUnitLabel":"API calls","isPrivate":false,"showOnInvoice":true,"slug":"api-access","hidden":false,"displayOrder":0},"limit":100,"maxUsage":1000,"customPricingUnitId":"atlas-internal-custom-pricing-unit-id-123"}}],"externalId":"external-plan-id-123","basePlanPriceId":"atlas-internal-price-id-123","basePlanPriceQuarterlyId":"atlas-internal-price-id-123","basePlanPriceAnnuallyId":"atlas-internal-price-id-123","basePlanPriceMonthlyStatus":"active","basePlanPriceQuarterlyStatus":"active","basePlanPriceAnnuallyStatus":"active","basePlanPrice":{"billingCadence":"monthly","billingMode":"advance","blockOverage":false,"createdAt":"2021-01-01T00:00:00.000Z","entityType":"entitlement","id":"atlas-internal-price-id-123","name":"Pro Price","priceType":"unit","rules":{"quantity":1,"price":10},"status":"active","usesCustomPricingUnit":false,"billableId":"atlas-internal-billable-id-123","merchantId":"atlas-internal-merchant-id-123","billable":{"createdAt":"2022-01-01T00:00:00.000Z","updatedAt":"2022-01-01T00:00:00.000Z","description":"Access our beautiful API","eventQueryRules":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"},"id":"123","name":"API Access","status":"available","billableType":"entitlement","externalFlagId":"\u003cstring>","includedLabel":"Included","singleUnitLabel":"API call","multipleUnitLabel":"API calls","isPrivate":false,"showOnInvoice":true,"slug":"api-access","hidden":false,"displayOrder":0},"limit":100,"maxUsage":1000,"customPricingUnitId":"atlas-internal-custom-pricing-unit-id-123"},"basePlanPriceQuarterly":{"billingCadence":"monthly","billingMode":"advance","blockOverage":false,"createdAt":"2021-01-01T00:00:00.000Z","entityType":"entitlement","id":"atlas-internal-price-id-123","name":"Pro Price","priceType":"unit","rules":{"quantity":1,"price":10},"status":"active","usesCustomPricingUnit":false,"billableId":"atlas-internal-billable-id-123","merchantId":"atlas-internal-merchant-id-123","billable":{"createdAt":"2022-01-01T00:00:00.000Z","updatedAt":"2022-01-01T00:00:00.000Z","description":"Access our beautiful API","eventQueryRules":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"},"id":"123","name":"API Access","status":"available","billableType":"entitlement","externalFlagId":"\u003cstring>","includedLabel":"Included","singleUnitLabel":"API call","multipleUnitLabel":"API calls","isPrivate":false,"showOnInvoice":true,"slug":"api-access","hidden":false,"displayOrder":0},"limit":100,"maxUsage":1000,"customPricingUnitId":"atlas-internal-custom-pricing-unit-id-123"},"basePlanPriceAnnually":{"billingCadence":"monthly","billingMode":"advance","blockOverage":false,"createdAt":"2021-01-01T00:00:00.000Z","entityType":"entitlement","id":"atlas-internal-price-id-123","name":"Pro Price","priceType":"unit","rules":{"quantity":1,"price":10},"status":"active","usesCustomPricingUnit":false,"billableId":"atlas-internal-billable-id-123","merchantId":"atlas-internal-merchant-id-123","billable":{"createdAt":"2022-01-01T00:00:00.000Z","updatedAt":"2022-01-01T00:00:00.000Z","description":"Access our beautiful API","eventQueryRules":{"conditions":[[{"key":"eventName","rule":"matches","value":"api-usage"}]],"calculation":"sum","overProperty":"data.quantity"},"id":"123","name":"API Access","status":"available","billableType":"entitlement","externalFlagId":"\u003cstring>","includedLabel":"Included","singleUnitLabel":"API call","multipleUnitLabel":"API calls","isPrivate":false,"showOnInvoice":true,"slug":"api-access","hidden":false,"displayOrder":0},"limit":100,"maxUsage":1000,"customPricingUnitId":"atlas-internal-custom-pricing-unit-id-123"}},"billingCadence":"monthly","currency":"USD","endDate":"2021-12-31T00:00:00.000Z","netTerms":"net30","chargeForUsageBasedPricesDuringTrial":false}}},"exampleType":"generated"}},"exampleType":"generated"},"a4d69df7-e780-4e7d-abf0-419d75019e36":{"description":"Invalid API key provided.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"d0421b4f-5079-496d-b357-01483e3fb376":{"description":"Subscription not found.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"e30622d9-9011-4a83-9254-f749e1140561":{"apiKeyAuth":{"type":"apiKey","name":"x-api-key","in":"header","description":"You can obtain this key from the Atlas dashboard. It must be of type `secret`","scopes":[]}}},"servers":{"3c9753c2-e6e2-45af-9d3e-d3e995223724":{"url":"https://platform.runonatlas.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"x-api-key","in":"header","description":"You can obtain this key from the Atlas dashboard. It must be of type `secret`","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"You can obtain this key from the Atlas dashboard. It must be of type `secret`","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"https://platform.runonatlas.com/external/schema"},"subdomain":"atlas-e6c381cc","siteName":"Atlas","title":"Get subscription by ID with expanded data - Atlas","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-19T16:23:28.839Z","originalFileLocation":"api-reference/subscriptions/get-subscription-by-id-with-expanded-data.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=\"Get a subscription by ID with expanded plan data including prices and billables.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Atlas\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_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=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get subscription by ID with expanded data - Atlas\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a subscription by ID with expanded plan data including prices and billables.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Atlas\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://atlas-e6c381cc.mintlify.app/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Get+subscription+by+ID+with+expanded+data\u0026amp;description=Get+a+subscription+by+ID+with+expanded+plan+data+including+prices+and+billables.\u0026amp;theme=fad73015577ccd4d16edaa20\u0026amp;signature=8a4d3cf798af8d64d440656fdbc34889dfead416ae127dc3fa012abcde6d293d\">\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=\"Get subscription by ID with expanded data - Atlas\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a subscription by ID with expanded plan data including prices and billables.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://atlas-e6c381cc.mintlify.app/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Get+subscription+by+ID+with+expanded+data\u0026amp;description=Get+a+subscription+by+ID+with+expanded+plan+data+including+prices+and+billables.\u0026amp;theme=fad73015577ccd4d16edaa20\u0026amp;signature=8a4d3cf798af8d64d440656fdbc34889dfead416ae127dc3fa012abcde6d293d\">\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=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Atlas\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9A47D5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/subscriptions/get-subscription-by-id-with-expanded-data.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.runonatlas.com/#organization\",\"name\":\"Atlas\",\"url\":\"https://docs.runonatlas.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/atlas-e6c381cc/CZyope2K7u39JYzl/logo/atlas-lightmode.png?fit=max\u0026auto=format\u0026n=CZyope2K7u39JYzl\u0026q=85\u0026s=8936437d0db9d56dba50ba9b17d3f4aa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.runonatlas.com#website\",\"name\":\"Atlas\",\"url\":\"https://docs.runonatlas.com\",\"publisher\":{\"@id\":\"https://docs.runonatlas.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data#webpage\",\"url\":\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data\",\"name\":\"Get subscription by ID with expanded data\",\"description\":\"Get a subscription by ID with expanded plan data including prices and billables.\",\"dateModified\":\"2026-02-19T16:23:28.839Z\",\"isPartOf\":{\"@id\":\"https://docs.runonatlas.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Subscriptions\",\"item\":\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscriptions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get subscription by ID with expanded data\",\"item\":\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data#apireference\",\"headline\":\"Get subscription by ID with expanded data\",\"name\":\"Get subscription by ID with expanded data\",\"description\":\"Get a subscription by ID with expanded plan data including prices and billables.\",\"url\":\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data\",\"mainEntityOfPage\":{\"@id\":\"https://docs.runonatlas.com/api-reference/subscriptions/get-subscription-by-id-with-expanded-data#webpage\"},\"dateModified\":\"2026-02-19T16:23:28.839Z\",\"publisher\":{\"@id\":\"https://docs.runonatlas.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.runonatlas.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Atlas\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Atlas","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/ZjejsUX7"}]},"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":""}]},{"tab":"Developer Portal","pages":[{"title":"Developer Portal","href":"/developer-portal/how-does-atlas-work"}]},{"tab":"Advanced Atlas","pages":[{"title":"Advanced Atlas","href":"/advanced-atlas"}]},{"tab":"API Reference","groups":[{"group":"Events","pages":[{"title":"Ingest events","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/event/","href":"/api-reference/events/ingest-events"}]},{"group":"Customers","pages":[{"title":"Get customers","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers","href":"/api-reference/customers/get-customers"},{"title":"Create customer with default plan subscription","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/customers","href":"/api-reference/customers/create-customer-with-default-plan-subscription"},{"title":"Get customer transactions","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/external-id/{externalId}/transactions","href":"/api-reference/customers/get-customer-transactions"},{"title":"Get customer with expanded data","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/external-id/{externalId}/expanded","href":"/api-reference/customers/get-customer-with-expanded-data"},{"title":"Get custom pricing unit usage","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/external-id/{externalId}/customPricingUnits/{customPricingUnitId}/usage","href":"/api-reference/customers/get-custom-pricing-unit-usage"},{"title":"Get customer by ID","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/{id}","href":"/api-reference/customers/get-customer-by-id"},{"title":"Create Stripe setup checkout session for payment method update","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/customers/external-id/{externalId}/stripe/checkout-sessions/setup","href":"/api-reference/customers/create-stripe-setup-checkout-session-for-payment-method-update"},{"title":"Upsert customer","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/customers/upsert","href":"/api-reference/customers/upsert-customer"},{"title":"Bulk upsert customers","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/customers/upsert/bulk","href":"/api-reference/customers/bulk-upsert-customers"}]},{"group":"Invoices","pages":[{"title":"Get invoice with line items","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/invoices/{invoiceId}/with-line-items","href":"/api-reference/invoices/get-invoice-with-line-items"}]},{"group":"Subscriptions","pages":[{"title":"Get subscriptions","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/subscriptions","href":"/api-reference/subscriptions/get-subscriptions"},{"title":"Create subscription","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/subscriptions","href":"/api-reference/subscriptions/create-subscription"},{"title":"Create multiple subscriptions","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/subscriptions/bulk","href":"/api-reference/subscriptions/create-multiple-subscriptions"},{"title":"Get subscription by ID","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/subscriptions/{id}","href":"/api-reference/subscriptions/get-subscription-by-id"},{"title":"Delete subscription","description":"Delete a subscription. Currently active subscriptions cannot be deleted, they must be cancelled first.","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema delete /external/subscriptions/{id}","href":"/api-reference/subscriptions/delete-subscription"},{"title":"Get subscription by ID with expanded data","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/subscriptions/{id}/expanded","href":"/api-reference/subscriptions/get-subscription-by-id-with-expanded-data"},{"title":"Cancel subscription","description":"Cancel a subscription. For currently active subscriptions, subscription will be scheduled to end at end of current billing period. For upcoming subscriptions, subscription will be deleted.","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/subscriptions/{id}/cancel","href":"/api-reference/subscriptions/cancel-subscription"},{"title":"Renew cancelled subscription","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/subscriptions/{id}/renew","href":"/api-reference/subscriptions/renew-cancelled-subscription"}]}]}]},"basePath":"","title":"Get subscription by ID with expanded data - Atlas","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}