> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Let Your Agent Pay

> Choose how an AI agent pays with Coinbase, and see which spending limits, budgets, approvals, and allowlists Coinbase enforces on its servers.

An AI agent can pay through your Coinbase account with Coinbase MCP, or from a wallet with Wallet MCP. It can find paid APIs on agentic.market, and a business can accept agent payments with the Checkouts API. This page covers what each one is for and which spending limits Coinbase enforces on its servers.

A budget you write in a prompt is an instruction to the agent. Coinbase doesn't enforce it. To cap what an agent can spend, use the server-enforced limits on this page.

## Choose a payment path

| You want your agent to | Use | Limits Coinbase enforces on its servers |
| :- | :- | :- |
| Trade and pay for data from your Coinbase account | [Coinbase MCP](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/coinbase-mcp.md) | Order spend limits you view and edit at [coinbase.com/settings/agents](https://www.coinbase.com/settings/agents), plus server-side x402 payment limits an agent can check with `agent_controls_get`. |
| Send, swap, and pay for APIs from a wallet | [Wallet MCP](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/wallet-mcp.md) | Your agent wallet's rolling 24-hour [spending limit](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/wallet-mcp.md#agent-wallets--spending-limits), reserved before CDP signs. In approval mode, you sign each action. |
| Find paid APIs and data | [agentic.market](https://agentic.market) | The limits of the account or wallet your agent pays with |
| Get paid by agents as a business | [Checkouts API](https://docs.cdp.coinbase.com/coinbase-business/checkout-apis/accept-x402-payments.md) | Each checkout is single-use and accepts one payment |

## Coinbase MCP: spend limits and x402 budgets

[Coinbase MCP](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/coinbase-mcp.md) connects an agent to your Coinbase account. The agent can trade, and it can pay per request for data with [x402 payments](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/coinbase-mcp.md#x402-payments) from your USDC balance. Use it when the agent works with funds already in your Coinbase account.

Coinbase enforces order spend limits and x402 payment limits on its servers. Your prompt can't change them, and neither can the agent. View and edit order spend limits at [coinbase.com/settings/agents](https://www.coinbase.com/settings/agents). Server-side x402 payment limits may update over time, and an agent can read active `order` and `x402_payment` limits with `agent_controls_get`.

* **Order spend limits:** set a maximum per order and a maximum per rolling 24 hours, in USD, at [coinbase.com/settings/agents](https://www.coinbase.com/settings/agents). Coinbase checks every new or edited order and refuses one that would go over a limit. A limit of 0 pauses all agent orders. If you set no limits, orders aren't capped.
* **x402 payment limits:** Coinbase enforces server-side payment limits on x402 requests, separate from order spend limits. These limits may update over time, and an agent can read its active `x402_payment` limits with `agent_controls_get` before authorizing paid requests.
* **Allowlisted x402 resources:** `coinbase_x402_fetch` pays only resources in the curated catalog that `coinbase_x402_resources` returns. The payment must go to the recipient listed for that resource. An optional `max_amount` can lower the cap for one request, not raise it.
* **Approvals:** when you connect an agent, you approve which tools it can use and which portfolios it can access. Coinbase checks that approval on every call.
* **No withdrawals:** no Coinbase MCP tool can send funds outside your Coinbase account. x402 payments to catalog providers are the one exception.

An agent can read its active limits with the `agent_controls_get` tool. To revoke access, go to [Coinbase Account > Security > Connections](https://accounts.coinbase.com/security/connections) and revoke the connection. For the CLI, delete its API key in the [CDP Portal](https://portal.cdp.coinbase.com/api-keys/secret).

Read [Safety and limits](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/coinbase-mcp.md#safety-and-limits) for what each spend limit checks.

## Wallet MCP: agent wallet spending limits and approvals

[Wallet MCP](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/wallet-mcp.md) connects an agent to Coinbase Wallet. The agent can send and swap tokens, call contracts, and pay for APIs with x402. Use it when the agent pays onchain from a wallet.

Choose how the agent acts:

* **Approval mode:** the agent prepares each action for your main wallet. You review and sign it through an approval link.
* **Agent wallet:** where enabled, a dedicated agent wallet acts within a spending limit you save. The agent's session can use only that wallet, not your main wallet.

Agent wallet spending limits work like this:

* **No starter allowance:** the agent can't spend autonomously until you save a spending limit.
* **Rolling 24-hour budget:** the USD budget uses a rolling 24-hour window. Every tool, client, and supported network that uses the same wallet shares one budget.
* **What counts:** sends, token approvals and spending authorizations, the input amount of a swap, and x402 payments, including prepaid-channel deposits.
* **Unpriced actions are refused:** if Wallet MCP can't recognize, price, or bound an operation, it refuses it.
* **Per-payment ceiling:** set a tight `maxPayment` on each x402 payment. The payment also counts against the agent wallet's budget.

Manage your agent wallet's limits and disconnect access from the wallet controls in your signed-in session. Your assistant can also report the current spending policy and session authorization with `get_wallets`. Disconnecting an agent wallet stops its MCP sessions across clients.

Read [Manage and fund an agent wallet](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/wallet-mcp.md#agent-wallets) and [Spending limits](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/wallet-mcp.md#agent-wallets--spending-limits) for temporary limits, pending activity, and wallet controls.

## agentic.market: find paid APIs

[agentic.market](https://agentic.market) is a site where people browse x402 resources, the APIs and data an agent can pay for per request. An endpoint listed in the x402 Bazaar becomes visible there. Wallet MCP searches Bazaar listings with `search_x402_services`.

When your agent pays for a resource it found there, the spending limits of the wallet or account it pays with apply. A listing is not an endorsement. To list your own API, read [Get discovered](https://docs.cdp.coinbase.com/x402/seller/get-discovered.md).

## Checkouts API: get paid by agents

If you sell to agents, create a checkout with the [Checkouts API](https://docs.cdp.coinbase.com/coinbase-business/checkout-apis/accept-x402-payments.md). It requires a [Coinbase Business account](https://www.coinbase.com/business). Each checkout returns an `x402_url` that an agent can pay in USDC on Base, with no hosted page or wallet pop-up. Each checkout is single-use and accepts one payment of the amount you set. Treat the checkout reaching `COMPLETED` as settlement.

If you use the Coinbase Commerce Charge API, read [Migrate from Commerce](https://docs.cdp.coinbase.com/coinbase-business/checkout-apis/migrate-from-commerce/overview.md) to move to the Checkouts API.

## What to read next

* [Coinbase MCP](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/coinbase-mcp.md): connect an agent to your Coinbase account
* [Wallet MCP](https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/wallet-mcp.md): connect an agent to Coinbase Wallet
* [x402 buyer quickstart](https://docs.cdp.coinbase.com/x402/buyer/quickstart.md): pay for x402 resources from your own code
