# Agent Checkouts Source: https://docs.crossmint.com/agents/agent-checkouts-quickstart Get your agent buying from any merchant URL in 15 minutes. Let your agent buy from any merchant with a single API. Hand the **Agent Checkouts API** a product URL and a spending cap, and Crossmint completes the checkout on your user's behalf — paying with any method the merchant accepts. By the end you will have a script that saves a buyer profile, creates a checkout from a product URL, polls it through its lifecycle, embeds the live browser session for the user to watch, answers each pending action, and reads the final receipt. See the full flow in action without setting anything up locally. Explore the full reference implementation this guide is based on. Agent Checkouts can only be tested in **production** today — there is no staging environment for it. Use a `ck_production_...` key and **live** auth credentials; test/staging credentials fail with `401`. ## How it works A checkout walks a simple lifecycle with **no webhooks in v1** — you poll until it reaches a terminal state: 1. **Create** a checkout and get back an `id`. 2. **Poll** `GET /{id}` (≈ every 1.5s) as it walks the lifecycle. 3. **Embed** the live browser session in an `