en
Getting startedEnvironments

Environments

Crisphive runs two isolated data environments per business: sandbox for development and live for production traffic — Stripe-style, on the same domain.

Selecting the environment

The environment is selected by your key prefix: chsk_test_ targets sandbox data, chsk_live_ targets production. Sandbox data is fully isolated and can be reset from the dashboard.

Switching over

When you’re ready for production, swap the chsk_test_ key for a chsk_live_ key. No code changes beyond configuration are required.

Go-live checklist

  • Create a live key (chsk_live_…) and store it in your secret manager — never in client-side code.
  • Swap the sandbox key for the live key in your configuration — no other code changes are needed.
  • Handle failures: parse error_code from the envelope and back off on 429 using Retry-After — see rate limits.
  • Re-run your booking flow end to end against live data before announcing.