# Sandbox Environment

> How to use the Platfone sandbox environment to test activations, fake funds, and fake SMS delivery without impacting production data.


Sandbox environments are essential for testing and development, allowing you to simulate real-world scenarios without affecting production data.

### 🔑 Key Features

- **Full API compatibility** with the production environment.
- **Isolated environment** for testing without impacting live data.
- **Fake funds** top-ups to test for free.
- **Fake SMS** delivery to test activation workflows.
- **Sandbox dashboard UI** to see activation results in real-time.

### 🏖️ How to use the Sandbox

Switching to the sandbox environment is straightforward:

1. Switch "Test" toggle to "On" in the dashboard and you'll be redirected to the sandbox dashboard.
2. Get API key from the sandbox dashboard.

### 📲 How to send fake SMS

#### In the Sandbox Dashboard

Choose an active activation and click on "Send SMS" to send a fake SMS. Fill activation code and/or message text. This simulates the SMS delivery process, allowing you to test your application's response to incoming messages.

#### Via API

Send a PUT request to the `/activation/{activation_id}/sms` endpoint with the following parameters:

```json
{
  "code": "123456", // Optional: activation code
  "text": "Your activation code is 123456" // Optional: message text
}
```

