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.
Environment | URL | API Key prefix |
---|---|---|
Sandbox | testflight.tremendous.com | TEST_ |
Production | api.tremendous.com | PROD_ |
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 Type | Card Number |
---|---|
Accepted | 4111111111111111 |
Declined / Failed | 4012888888881881 |
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.
Updated 11 months ago