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

# Environments

> Use sandbox and production safely.

Merchant API requests can run against sandbox or production.

## Sandbox

Use sandbox while building and testing. Add this header:

```http theme={null}
environment: sandbox
```

Sandbox lets you test request shapes, references, callbacks, and reconciliation before moving to live activity.

## Production

Production is used when the `environment` header is omitted or set to a non-sandbox value.

Use production only after you have tested:

* Authentication.
* Collections.
* Transfers.
* Swaps.
* Callback handling.
* Transaction reconciliation.

## Recommended rollout

1. Build with sandbox keys.
2. Send test requests with unique references.
3. Confirm your system receives callbacks.
4. Confirm transactions appear in the dashboard.
5. Switch to production keys and remove the sandbox header.
