Switching to Test Mode
In your Delegare Merchant Dashboard, use the Environment Toggle in the sidebar to switch betweenLive and Sandbox.
When in the Sandbox environment, you will be issued test API keys that begin with sk_test_....
Test Setup Sessions
When you create a setup session using a test API key, thesetupUrl will direct users to a mocked flow where they do not need to enter real payment details.
Instead, they can use predefined “Test Cards” and “Test Wallets” to simulate successful or failed connection states.
Simulating Payments
When your agent uses a testdelegateToken to call /charge:
- Stripe Simulation: The Vault automatically uses Stripe’s test clocks to mock fiat payments. No actual credit card charge is attempted.
- Base Simulation: The Vault connects to Base Sepolia (or a local fork) to simulate onchain settlement, executing mock USDC transfers without requiring real gas or assets.
Webhooks in Sandbox
All sandbox transactions will trigger webhooks sent to your test environment URLs, exactly mimicking live events. The payload will have a flag ("livemode": false) so your backend can differentiate between real and simulated events.