HTTP status 403. An API key request can get this code.
Only a platform manages practices.
Recovery
Use a platform key to manage child practices. For a managed practice's Live access, ask its platform. An independent practice turns Live on for itself: an admin adds a payment method in Settings → Billing and clicks Turn on Live. To turn it off, contact support@affinityrx.com. Independent practice keys can read their account and medications, and create, read and cancel their own orders.
Branch on code, not on the text of detail. Give Affinity the requestId when you report a problem.