Skip to main content
Crycket provides a full test mode for developing and debugging your integration without moving real funds.

Test mode API keys

Use your pk_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 a failed state, you can optionally specify a reason:
Available reasons: insufficient_balance, revert, slippage.

Test chain endpoints

Webhooks in test mode

Webhooks fire in test mode the same way they do in production. The livemode field in the webhook payload is false for test events, letting your server distinguish between test and live traffic.