Back to Features
🛠️

Sandbox Environment

ActivePlatformMUSTFREE

What it does

Test POTAL API integrations in a sandbox environment without affecting production data or consuming your API quota. Sandbox mode returns realistic mock responses for all endpoints, allowing full integration testing.

How to use it

1

Enable sandbox mode

Create a test API key (sk_test_ prefix) from Dashboard > API Keys > Create Test Key.

2

Use test endpoints

All endpoints work the same way — the test key triggers sandbox mode automatically.

3

Test error handling

Use special test values to trigger specific error responses (e.g., price=0 for validation error).

4

Switch to production

Replace your test key with a live key (sk_live_) when ready to go live.

Related Features

Having issues?