Giftronaut provides two isolated environments. Build and test in Sandbox before promoting your integration to Production.
Giftronaut sandbox access is self-serve: sandbox credentials work the moment you create them. Every Giftronaut sandbox account starts with a $10,000 virtual balance. The Giftronaut sandbox uses the same base URL as Production, but its balance is virtual and no real gift cards are issued. Our sandbox environment is open and free to build on right away.
| Feature | Sandbox | Production |
|---|---|---|
| Real charges | No — only the virtual balance is deducted | Yes — balance is deducted |
| Gift cards redeemable | No | Yes |
| Emails delivered | No (captured internally) | Yes |
| Access token TTL | 24 hours | 1 hour |
| Rate limit | 300 req/min | 60 req/min |
You can have separate credentials for Sandbox and Production. The Sandbox and Production environments use the same URL, and your credentials decide which one you call.
Sandbox environment: Same base URL as production, selected by sandbox credentials.
Both Sandbox and Production share the same base URL:
https://api.giftronaut.com/api/v1
The environment is determined entirely by the credentials you use to obtain your access token. Sandbox credentials route all requests to the Sandbox environment; Production credentials route requests to Production. No URL change is required when going live.
Each App in the developer portal is scoped to a specific environment. To go live, create a new App with the Production environment selected and obtain new credentials.
You should create a separate app for each environment. Before you begin building your integration, please confirm that your use case fits Giftronaut's compliance requirements. Giftronaut powers a wide range of use cases for digital rewards and incentives; however, some accounts may be restricted by Giftronaut's compliance requirements or its financial institutions.
Production access checklist: create a Production App, request server-to-server access with an IP allowlist, then request a token.
What that credential can do depends on how you call the API:
| How you call us | OAuth grant | Ready when? |
|---|---|---|
| MCP (Claude, Cursor, and other agents) | authorization_code + PKCE |
Immediately — no approval needed |
| REST API from your own server | client_credentials |
After server-to-server access is approved |
client_credentials
tokens yet. Requesting a token before approval fails with
unauthorized_client. Sandbox credentials are enabled for
client_credentials from the moment you create them, so this step is the one
real difference when you go live.
Giftronaut opens production server-to-server access after a Giftronaut team review. Giftronaut conducts a standard Know Your Business (KYB) review for all production accounts. Register a production app, request server-to-server access (typically enabled within 1 business day, following a Giftronaut team review). An IP allowlist is required for production server-to-server access.
IP allowlist — Limits production API calls to the servers you register.
Open your production App in the developer portal and find the Server-to-server access section.
203.0.113.10/32 for a single host, or
203.0.113.0/24 for a range). Requests from any other address are rejected
with 403 once access is enabled, so include NAT gateways and any egress
addresses your platform assigns.To add or change addresses later, edit the IP allowlist on the same
App page. Keep it current: an expired or missing address is the most common cause of a
sudden 403 in production.
Virtual sandbox balance
When an order costs more than the remaining sandbox balance, the balance is automatically reset to $10,000 before the order is deducted, so no manual funding is required. Sandbox is Giftronaut's free test environment, with a $10,000 virtual balance for testing. You can use this balance to send test orders through the API. Balance deductions and refunds behave identically to Production — use the Balance API to inspect them.
In Sandbox, gift card emails are not delivered to recipients.
Orders complete immediately and the order status transitions to COMPLETE
just as in Production, but no actual email is sent. Use this to verify your order
flow end-to-end without needing real email addresses.
Start typing to search...
Select the APIs you want to integrate. A ready-to-use Markdown file with full API specs and a project context template will be generated and downloaded. Paste it into your AI assistant to get started instantly.