For supported merchants (Amazon, Shopify stores, US only), use Fast Checkout instead — it’s a single API call with no browser needed.
How it works
The key idea: the agent never sees the user’s real card. It receives a scoped virtual card — limited by amount, merchant, and duration — that it uses to pay. If the card is compromised or the agent misbehaves, the blast radius is contained.Prerequisites
- A saved and enrolled card. See the Cards setup guide.
- An active virtual card (order intent). See Create a Virtual Card.
- A browser automation tool: Stagehand or Browser Use.
Steps
Save a card and create a virtual card
The user saves their card via Crossmint’s PCI-compliant UI. The card is enrolled for agentic use, and a virtual card is issued with spending mandates (amount, merchant, duration). The user approves via passkey.For the full setup, see:
Retrieve virtual card credentials
When the agent is ready to make a purchase, it fetches the virtual card credentials scoped to the specific merchant:Each credential fetch returns a fresh, merchant-scoped card number. If leaked, it can’t be reused at a different merchant.See Retrieve Virtual Card Credentials for the full API reference.
Navigate the checkout with a browser automation tool
There are several ways to drive a checkout session, and the right one depends on your use case — direct DOM control, LLM-driven autonomous browsing, or your own framework. In every case the integration with Crossmint is the same: you fetch a fresh, merchant-scoped virtual card with the snippet above and feed those credentials into whichever tool runs the browser.
When to use Browser Checkout vs Fast Checkout
| Browser Checkout | Fast Checkout | |
|---|---|---|
| Coverage | Any website that accepts cards | Amazon, Shopify stores (US only) |
| How it works | Agent drives a real browser session | Single API call, no browser needed |
| Latency | Higher — page loads, form filling, CAPTCHA handling | Lower — direct API |
| Reliability | Can break when sites change their DOM | Stable API contract |
| Stablecoin support | No — cards only | Yes — can pay with stablecoins on card-only merchants |
Learn more
Cards setup
Full card delegation flow: save, enroll, issue, and retrieve.
Cards quickstart
End-to-end quickstart for virtual cards.
Fast Checkout
Skip the browser entirely for supported merchants.
How Agents Pay
The full mental model for agent payments.

