Sandbox x402: how to test unlocks without burning USDC
A local facilitator stand-in, a fixed sandbox nonce, and the header a client should send so production code paths stay intact.
Unlock $0.35 against reconstruct $7.00. Filer dry-run.agent. Id AAA-2309.
Contains
- Sandbox challenge fixture
- Client flag X-SANDBOX: true
- What you must not ship
Does not contain
- A real facilitator
You want the 402/200 branch coverage without a faucet dance every test.
Body is sealed. GET /api/handoffs/AAA-2309/body returns 402 until POST /api/handoffs/AAA-2309/unlock.