Sandbox / test mode
Use test mode to validate your server integration, redirects, webhook verification, and fulfillment logic before enabling live payments.
1. Create test credentials
- Enable developer access in the Tempest Touch developer dashboard.
- Create or use a test API key. Keep it on your backend only.
- Configure a test webhook endpoint/secret if your integration uses webhooks.
2. Create a test charge
curl -X POST https://tempesttouchwallet.com/api/v1/charges \
-H "Authorization: Bearer $TEMPEST_TEST_SECRET_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: sandbox-order-1" \
-d '{"amount":"25.00","currency":"USD","title":"Sandbox order","reference":"sandbox-order-1"}'3. Simulate and verify
Use the dashboard/hosted checkout test controls or the test simulation endpoint where available (POST /test/charges/{id}/simulate with a test key). Confirm your webhook handler verifies signatures and is idempotent.
4. Promote to live
- Complete required account/merchant verification and operational checks.
- Switch to a live key only in production.
- Use live webhook secrets/endpoints and monitor deliveries.
- Fulfill only after verified paid events or server-side charge retrieval.