Sandbox environment

Learn about available API environments.

The Tremendous Sandbox environment is a free and fully-featured environment for application development and testing. Nearly all of the Tremendous API is supported in the Sandbox environment.

Tremendous API users typically develop their applications against the Sandbox environment, and then switch their credentials to production when they are ready to go live.

Data is not shared between Sandbox and Production environments.

Using the Sandbox environment

Domain

The Sandbox and Production environments use different URLs, and newly issued API keys for each environment are prefixed to help differentiate them.

EnvironmentURLAPI Key prefix
Sandboxtestflight.tremendous.comTEST_
Productionapi.tremendous.comPROD_

A full request made to the Sandbox environment with curl would look like this:

curl --url 'https://testflight.tremendous.com/api/v2/orders'\
     --header 'Authorization: Bearer TEST_some-api-key-string'

Sandbox environment behavior

Free money

Every Sandbox account comes with $100,000 USD in pre-funded balance. You can use this balance to send test orders and rewards through the API. Your Sandbox balance is replenished on a daily basis... don't spend it all in one place.

Test credit cards

The following credit card numbers can be used to simulate behavior in the Sandbox environment:

Card TypeCard Number
Accepted4111111111111111
Declined / Failed4012888888881881

Redemption experience

Nearly all of a reward recipient’s experience is available in the Sandbox environment.

There are some products where Tremendous redirects a recipient to a partner site, or relies on a partner to email a recipient their reward. These portions of the experience are not available in the Sandbox environment.