Snipcart offers two separate and totally isolated environments to allow a secure staging without affecting the live environment. When connected to your Snipcart Dashboard, you’ll notice a test/live toggle in the middle of the application's upper section. Test toggle

The toggle allows you to access the test and live environment data of your account. Note that the toggle only affects the data and configuration displayed and does not activate a mode or another. Do note that within the test environment, your orders in test mode will be deleted automatically after 10 days.

Get your Test API Key

To get your Test API Key, log in into the dashboard and make sure you’re in the Test environment, and go to the Account > API Keys. There, you'll find your test API key.