agent-checkouts
Crossmint Agent Checkouts
Buy any product from a URL through Crossmint's Agent Checkouts API, authorized by a single server-side API key (no user JWT). You store the key once; then create a buyer profile, create a checkout, and drive it to completion by answering the checkout's user-action prompts.
All API details live in reference/agent-checkouts-api.md.
All calls go through scripts/checkout.mjs (Node.js 18+, no dependencies).
⚠️ Real money. Agent Checkouts run in production against real merchants. A successful checkout places a real, paid order. Always set a
maxCost. Submitting a user action executes immediately — there is no separate confirmation step afterward. Once youcheckout-respondto the action that completes the purchase, payment is charged and the order is placed. Get the user's approval of the total before that call, not after.