# Environments

API addresses, Sandbox and Live, and the go-live checklist.

Last updated: 2026-11-06

[Web version](https://www.longplayai.com/docs/guides/environments)

<a id="scope"></a>

## API addresses and environments

**Service addresses**

| Deployment | Console | API address |
| --- | --- | --- |
| Production | https://console.longplayai.com | https://api.longplayai.com |

- The SDKs call https://api.longplayai.com by default. When you set `baseUrl` (Python `base_url`, Go `BaseURL`) explicitly, use the origin only, without `/api/v1`.
- These examples resolve stable once, lock the installed version and use protocol 0.10 in the production API's Sandbox.
- Each App has Sandbox and Live with separate Keys, Customers and data. Sandbox is still production data.
- A Key works only in the App and environment that created it; request headers cannot switch environments.

<a id="go-live"></a>

## Go-live checklist

- Create a Server Key in Live and update your backend's Key and `environment: "live"`.
- Register your website origins in Live (HTTPS only).
- Independently configure, verify and activate the Stripe API key, webhook and signing secret in Live; configure the Products and publish the Offering Versions, Paywalls and Funnels you use. A Sandbox connection does not carry over to Live.
- Merchant notifications can be configured for Sandbox only, so Live sends none: in Live, read results with operations such as `readHoldings` and `readSubscriptionOperation` instead of relying on notifications.
- Run the full flow once with a real account before opening it to all users.

- [Connect Stripe: permissions, webhook and activation](https://www.longplayai.com/docs/guides/stripe.md)

<a id="version"></a>

## Versions and troubleshooting

- The default business SDK installation uses protocol 0.10, resolving stable once and locking its exact version. The SDKs send the protocol header automatically; direct HTTP calls add X-Indiana-Protocol: 0.10.
- For `UNSUPPORTED_PROTOCOL_VERSION`, match the package to the target service protocol instead of blindly upgrading or changing the URL; for 401/403, check the Key, App, environment and scopes.
- When contacting us, include the response `X-Request-Id`, never the Key.

- [Version support policy](https://www.longplayai.com/docs/guides/version-support.md#support-policy)
