# API Environments

## Overview
As part of our Partners API platform, you will have access to two environments: **Live** and **Sandbox**. These environments allow for safe testing and deployment of API integrations.

## Base URLs

| Environment | Base URL |
| --- | --- |
| Sandbox | https://partners-api.service.cedar.money/mock/bpapi |
| Live | https://partners-api.service.cedar.money/bpapi |

## Accessing Environments
Both environments use the same API keys. The keys are available at the **Partners Platform** by following these steps:

1. Log in to the [**Partners Platform**](https://partners.service.cedar.money/).
2. Navigate to **API** > [**API Security**](https://partners.service.cedar.money/app/api/security).
3. Retrieve your API keys.

## Live/Sandbox Data
All the data in the partners platform is for the **Live** environment. The **Sandbox** data is available only through the API with 2 exceptions:

- [**API Request Logs**](https://partners.service.cedar.money/app/crud/BrandApiRequestLog/table)
- [**API Webhook Logs**](https://partners.service.cedar.money/app/crud/BrandApiWebhookLog/table)

The logs are available for both environments. Each table of logs has a "Sandbox" column you can use to filter the table for Live/Sandbox data.

## Sandbox Environment
The **Sandbox** environment replicates the functionality of the **Production** environment while allowing you to simulate different scenarios without affecting real transactions. It includes all standard production endpoints.

### Important Notes
- Actions within the **Sandbox** environment can only be performed via API requests.
- It is recommended to thoroughly test API integrations in the Sandbox environment before moving to Live environment.



