# Environments

import { CopyChip } from '/snippets/CopyChip.jsx';

This page explains the API base URLs and the two environments you can use when calling the WHITELABEL API: **Sandbox** and **Production**.

For how to switch between Test Mode and Live Mode in the WHITELABEL dashboard, see [Environments (Dashboard)](/docs/environments).

## Overview: Sandbox vs Production

| Environment           | Purpose                                                      | Base URL                                       |
| --------------------- | ------------------------------------------------------------ | ---------------------------------------------- |
| **Sandbox**           | Testing and development. No live data or real transactions. | <CopyChip value="https://api-sandbox.whitelabel.com" /> |
| **Production (US)**   | Live environment based in the US. Real transactions and accounting. | <CopyChip value="https://api.whitelabel.com" />         |
| **Production (EMEA)** | Live environment based in EMEA. Real transactions and accounting.   | <CopyChip value="https://api.eu.whitelabel.com" />      |

In the dashboard, Sandbox is referred to as **Test Mode** and Production as **Live Mode**. You use the same account for both; the dashboard toggle switches which environment you are using.

## Credentials

<Warning>
**Credentials**

Sandbox and Production use **different API keys**. The credentials you use in Test Mode (Sandbox) are not the same as those for Live Mode (Production). In the dashboard, the keys shown depend on which environment you have selected. See [Developers credentials](/docs/developers-credentials) for where to find them.
</Warning>

## Base URLs

### Sandbox

Use this base URL for all API requests when testing. Data is simulated and does not affect live accounting or metrics.

```text
https://api-sandbox.whitelabel.com
```

### Production (US)

Use this base URL when your integration is live and based in the US, processing real payments.

```text
https://api.whitelabel.com
```

### Production (EMEA)

Use this base URL when your integration is live and based in EMEA, processing real payments.

```text
https://api.eu.whitelabel.com
```

## Processing time and timeout

<Note>
**Processing time**

The processing time for each request depends on the processor or acquirer. Total time is the sum of WHITELABEL's processing time and the processor's.
</Note>

<Warning>
**Timeout**

WHITELABEL uses a **60-second timeout** for all endpoints. The full request–response cycle must complete within 60 seconds. Response times are usually much shorter; 60 seconds covers slower processor responses.
</Warning>