Test mode API keys
Use yourpk_test_ API key for test mode. Test and live mode use the same base URL (https://api.crycketpay.com/v1) and the same code path — test mode routes to testnets automatically.
Simulating state transitions
The simulate endpoint lets you force state transitions without waiting for real chain confirmations:Available transitions
Failure reasons
When simulating afailed state, you can optionally specify a reason:
insufficient_balance, revert, slippage.
Test chain endpoints
Webhooks in test mode
Webhooks fire in test mode the same way they do in production. Thelivemode field in the webhook payload is false for test events, letting your server distinguish between test and live traffic.