Giftronaut provides two isolated environments. Build and test in Sandbox before promoting your integration to Production.
| Feature | Sandbox | Production |
|---|---|---|
| Real charges | No — balance is not 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 |
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.
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.
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.
Your Sandbox account is pre-loaded with a virtual balance of $10,000. If your balance falls below $1,000, it is automatically replenished to $10,000, so no manual funding is required. 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.