Agent checkout completion with CAI
Many agent workflows stall at checkout: the agent has the cart or quote but cannot pay. CAI is the execution layer — balance, confirm, transfer, prove — while the agent keeps discovery and UX on the host side.
When to Use
- "Complete checkout for me"
- "Pay for this order my agent built"
- "Finish the purchase step"
- "Agent checkout — use my CAI wallet"
Task flow (agent-native)
- Agent presents final line items and how to pay (from merchant or user).
- Check CAI First:
wallet_balances. - Fund if needed (
create_deposit_link). - User confirms payee, amount, chain, token.
transfer→transfer_status/wallet_activity_list.
Limits: Arbitrary merchant card iframes are not universal CAI tools; on-chain and custodial @cai.com paths are primary. See GAP_MARKETPLACE_ORDER_V1 for marketplace-specific flows.
Quick Setup
openclaw secrets set CAI_API_KEY "your_dashboard_api_key"
