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

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