buy loop, webhooks) carries over unchanged to every other shape.
The first five rows share one wallet. Your server creates a wallet link the same way in every one of them, and the shape only changes how that link opens: a sheet over your page, a tap in a thread, a hosted page, a native view. The last row has no end-user wallet at all. The agent acts as a cardholder you created, with a buy token as its bearer, and the money behind every purchase is your company balance.
Use a wallet shape when your users pay with their own cards or their own Agentcard balance, which is the case for almost every consumer product. Use company-funded accounts when your company is the one paying, for example an internal agent that buys supplies, or a service whose price already includes what the agent spends.
What every quickstart covers
- Credentials. Your sandbox
client_idandclient_secretfrom the dashboard, exchanged for a bearer token, plus a sandbox webhook destination so the last step has something to read. - Connect a user. Start a connection, verify it with the sandbox code
111111, record consent. You keep the user’s id and their connection token. (Company-funded accounts create a cardholder and a buy token here instead.) - The wallet for your shape. A wallet link, opened the way your shape opens it, and the test card
4242 4242 4242 4242. (Company-funded accounts fund the company balance here instead.) - The agent buys. The MCP
buytool, orPOST /buy, with the connection token as the bearer. Sandbox refuses the confirm on purpose; that refusal is the finish line. - See what happened. The deliveries in the dashboard, every one with
livemode: false.
Web app whose agent buys
The default. Register your origin, embed the wallet on localhost, and let the agent buy over MCP or HTTP.
Messaging agent (iMessage, WhatsApp, SMS)
Text a wallet link, let the user add a card on the hosted wallet, and buy over MCP.
Backend or CLI agent, no frontend
Hand the user a hosted wallet link and call
POST /buy from your server.iOS app
Present the AgentcardWalletKit sheet and buy over MCP.
React Native app
Render the wallet component and buy over MCP.
Company-funded accounts (no end-user wallet)
Create cardholders and buy tokens, fund the company balance, and buy with the buy token.

