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

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# Environments

> Explains the sandbox and production API base URLs and their credentials and timeout behavior

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

For how to switch between Test Mode and Live Mode in the Yuno dashboard, see [Environments (Dashboard)](https://docs.y.uno/docs/environments.md).

## Overview: Sandbox vs Production

| Environment | Purpose | Base URL |
| - | - | - |
| **Sandbox** | Testing and development. No live data or real transactions. | `https://api-sandbox.y.uno` |
| **Production (US)** | Live environment based in the US. Real transactions and accounting. | `https://api.y.uno` |

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](https://docs.y.uno/docs/developers-credentials.md) for where to find them.

## 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 theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
https://api-sandbox.y.uno
```

### Production (US)

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

```text theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
https://api.y.uno
```

## 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 Yuno's processing time and the processor's.

> [!WARNING]
>
> **Timeout**
>
> Yuno 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.