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

# Environments

> Dojah sandbox vs production — base URLs, what each returns, and the checklist for going live.

Dojah has two environments. You choose between them by the base URL you call — the headers, request bodies, and response shapes are identical.

## Base URLs

| Environment | Base URL                   | Data                 | Charges                    |
| ----------- | -------------------------- | -------------------- | -------------------------- |
| Sandbox     | `https://sandbox.dojah.io` | Mock / deterministic | None                       |
| Production  | `https://api.dojah.io`     | Live results         | Per call, from your wallet |

<Note>
  **Same code, different host.** To switch environments you only change the base URL and use that environment’s keys — nothing else about the request changes.
</Note>

## Sandbox

Use sandbox to build and test end-to-end without spending credits. It returns predictable mock responses so you can exercise success and error paths — for example, the OTP in sandbox is always `1234`. See [Sandbox & test data](/api-reference/get-started/sandbox-test-data).

## Production

Production returns real data from the underlying sources and draws from your prepaid wallet on each successful call. A low balance returns `402 Payment Required` — keep the wallet funded to avoid interruptions.

## Going live

<Steps>
  <Step title="Fund your wallet">
    Top up so production calls don’t hit `402`. See the [Fund your wallet](/dashboard-guide/getting-started/fund-your-wallet) guide.
  </Step>

  <Step title="Swap the base URL">
    Point requests at `https://api.dojah.io`.
  </Step>

  <Step title="Use your live keys">
    Replace sandbox `AppId` and keys with the live values from your dashboard.
  </Step>

  <Step title="Re-test the critical paths">
    Run your main flows once against production to confirm keys, wallet, and webhooks all work.
  </Step>
</Steps>
