> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rach.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Test vs Live

> Sandbox and production — the key prefix decides which.

Both Rach products have a sandbox and a production environment. You don't change your
integration to switch — you swap the API key. **The key prefix is authoritative.**

| Product                        | Sandbox key      | Production key   |
| ------------------------------ | ---------------- | ---------------- |
| Payments (Gateway, WaaS, Swap) | `test_sk_…`      | `live_sk_…`      |
| CaaS                           | `rach_sk_test_…` | `rach_sk_live_…` |

## Payments sandbox

`test_sk_` keys use testnet addresses — no real funds move and no on-chain confirmations
are required. The environment is stamped onto every checkout and wallet operation at the
moment the request is authenticated, so it can't drift mid-flow.

## CaaS sandbox

`rach_sk_test_` keys run in sandbox mode: every B2B call returns an immediate
`SANDBOX_SIMULATED` success without touching the blockchain or debiting your treasury —
ideal for integration testing and CI.

## Going live

<Steps>
  <Step title="Build against sandbox">
    Wire up your integration end-to-end with the `test_*` key.
  </Step>

  <Step title="Swap the key">
    Point production at the `live_*` key. Nothing else changes.
  </Step>
</Steps>

<Tip>
  Use the same base URL in both environments — only the key changes.
</Tip>
