{"version":"2.0.2","anchor":"aws-marketplace-billing-detection","canonical_anchor":"aws-marketplace-billing-detection","heading":"AWS Marketplace Billing Detection","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.2\/e\/aws-marketplace-billing-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.2","markdown":"### AWS Marketplace Billing Detection\n\n**What:** Added support for detecting AWS Marketplace billing and restricting features accordingly\n\n**How it works:**\n\n- The OAuth profile API now returns an `organization.billing_type` field\n- This value is stored as `organizationBillingType` in the user's config\n- When billing type is `\"aws_marketplace\"`, certain features are restricted\n\n**Details:**\n\n- AWS Marketplace customers are excluded from Opus model access, regardless of subscription tier\n- The `VD()` function at line 438734 implements the gating logic\n- Billing type is fetched from `\/api\/oauth\/profile` and persisted across sessions\n- **Evidence**: Field extraction at `pC0() at line 397362`, feature gating at `VD() at line 438734`\n\n**Limitations:** AWS Marketplace customers cannot select the Opus model even with Pro\/Max\/Enterprise subscriptions."}