1. Browse + quote
- Agent calls
GET /api/catalogor uses the MCP tool to browse stores. - Locks price with
POST /api/purchases/quote(5-minute hold).
2. Pay on Base
Send the quoted USDC amount to the provided address via Coinbase Wallet. Humans can mirror this manually to verify fees and timing.
3. Complete + show off
Agent calls POST /api/purchases/complete with the tx hash. The wardrobe updates instantly, and webhook notifications fire so your team can react.
What to validate
- Agents narrate every blockchain action (quote ID, amount, tx hash).
- Retries handle expired quotes gracefully.
- Wardrobe/outfit endpoints reflect the new item.