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

# API Environments

> Learn about the different Cashii API environments available for testing and production.

Cashii provides distinct environments for development, testing, and live production use. Understanding these environments is crucial for a smooth integration process.

## Available Environments

<CardGroup cols={2}>
  <Card title="Production">
    **Purpose:** Live transactions with real money.

    <br />

    **API Base URL:** `https://api.cashii.app/api/v1`

    <br />

    **Use Case:** For your live application deployment after successful testing.

    <br />

    **Caution:** All API calls here are real. Use with care.
  </Card>

  <Card title="Sandbox">
    **Purpose:** Testing and development without real financial impact.

    <br />

    **API Base URL:** `https://sandbox-api.cashii.app/api/v1`

    <br />

    **Use Case:** Develop your integration, test API calls, simulate payment
    flows.

    <br />

    **Data:** Uses separate, isolated test data. Actions here do not affect your
    production account.

    <br />

    **Sandbox App (Android):** [**Download** Sandbox
    APK](https://f003.backblazeb2.com/file/cashii-docs/apks/cashii-sandbox-release.apk)

    <br />

    Use the Sandbox App to test user flows like completing payments initiated
    via the Sandbox API.
  </Card>
</CardGroup>

## Key Differences

* **Data Isolation:** Sandbox and Production environments are completely separate. Users, accounts, API keys, and transactions created in one environment do not exist in the other.
* **API Keys:** You will need to generate separate API keys for the Sandbox and Production environments within their respective commercial account settings.
* **Functionality:** The Sandbox aims to mirror Production functionality closely, but there might be slight differences or limitations, especially regarding third-party integrations (like specific bank card networks) which might not be fully simulated.

## Recommended Workflow

1. **Develop & Test:** Build your integration against the **Sandbox** environment.
2. **Use Sandbox App:** Use the Sandbox Android App to simulate the user completing payments initiated through your Sandbox integration.
3. **Generate Production Keys:** Once testing is complete, generate API keys for the **Production** environment.
4. **Deploy:** Update your application's configuration to point to the Production API base URL and use the Production API keys.
