Environments
| Environment | Base URL | Purpose |
|---|---|---|
| Sandbox | https://sandbox-api.cardcash.com/v3 | Testing and development |
| Production | https://production-api.cardcash.com/v3 | Live transactions |
Sandbox
The sandbox environment is a full replica of the production API. Use it for:- Integration development and testing
- Validating your purchase flow end-to-end
- Testing error handling and edge cases
Sandbox Credentials
Yourx-cc-app key and sandbox access are provided by your CardCash account manager. Sandbox and production keys are not interchangeable.
Sandbox Behavior
- Inventory is simulated and refreshes periodically
- Payments are not charged (use any valid-format payment details)
- Orders are fulfilled immediately for testing
- Wallet cards are accessible right after order creation
Production
Production handles real transactions with real gift cards.Key Differences from Sandbox
| Aspect | Sandbox | Production |
|---|---|---|
| Payments | Simulated | Real charges |
| Inventory | Test data | Live marketplace |
| Fulfillment | Instant | E-codes: minutes, Physical: days |
| Card Data | Test numbers | Real gift card credentials |