Environments

EnvironmentBase URLPurpose
Sandboxhttps://sandbox-api.cardcash.com/v3Testing and development
Productionhttps://production-api.cardcash.com/v3Live 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

Your x-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

AspectSandboxProduction
PaymentsSimulatedReal charges
InventoryTest dataLive marketplace
FulfillmentInstantE-codes: minutes, Physical: days
Card DataTest numbersReal gift card credentials

API Versioning

The current API version is v3. Some newer endpoints use v3.1 (noted in their documentation). Both versions use the same authentication and base URL pattern:
/v3/endpoint    → https://sandbox-api.cardcash.com/v3/endpoint
/v3.1/endpoint  → https://sandbox-api.cardcash.com/v3.1/endpoint

Webhooks

There are currently no webhooks for order status changes or other events. To track order progress, poll the Order Status endpoint.

Support

For integration support, reach out to your CardCash account manager or email partnersupport@cardcash.com.