{"question":"We're connecting an AI agent to Ramp so it can buy software and pay for APIs. If we give it a fund with a $500 monthly limit and merchant restrictions, does that limit also cover the x402 payments it makes, and can the agent raise the limit itself when a purchase is declined?","slug":"do-ramp-agent-card-limits-cover-an-ai-agents-x402-payments-and-can-the-agent-raise-its-own-limit","url":"https://www.rightshold.com/answers/do-ramp-agent-card-limits-cover-an-ai-agents-x402-payments-and-can-the-agent-raise-its-own-limit","short_answer":"No, the fund limit doesn't cover x402, and limit increases are a tool the agent can be given. Ramp's agent docs say Agent Cards and Stripe MPP purchases draw from the connected user's eligible funds, so each fund's spend limit, merchant rules and approvals apply. x402 purchases (early access) draw from a separately funded x402 wallet, and Ramp says card or fund controls do not necessarily apply; its spend-controls page says not to assume they do. The agent acts as the Ramp user who connected it, with that user's cards, funds and permissions, and Ramp's agent tool list includes ramp_limit_increase, which raises a fund's or card's limit. Its description tells the agent to call it only when the user's current message clearly asks for an increase, and says a declined transaction is not authorization, but that is an instruction to the model plus confirmation flags it fills in. So connect the agent as a user without rights to raise limits, keep the x402 wallet funded with only what you're willing to lose, and put your own per-payment cap in front of wallet payments.","checklist":["Map each payment path to its control. Agent Cards and Stripe MPP: the fund's limit, merchant rules, approvals and accounting defaults. x402: the separately funded wallet balance, not the fund.","Don't assume a fund's monthly limit or merchant list stops x402 payments. Ramp's docs say card and fund controls do not necessarily apply to wallet payments.","Treat the x402 wallet balance as the hard ceiling: fund it with small top-ups and keep each top-up a deliberate human decision. Funding it from a Ramp checking account is an irreversible transfer the docs tell the agent to confirm with the user first.","Connect the agent with a Ramp user whose permissions can't raise fund or card limits. The agent has no separate identity; it uses the connected user's cards, funds and permissions.","Don't rely on ramp_limit_increase's own guard. Its rule that a declined transaction isn't authorization is text the agent reads, and the user_confirmed fields are filled in by the agent.","Give the agent its own fund with a small limit, the merchants it needs and an approval route for larger amounts, rather than a fund people already spend from.","Each Agent Card request names the amount, currency, merchant name, URL and country and a rationale. Compare those to the purchase the agent was asked to make when you review its Ramp records.","Put a per-payment and daily cap outside the agent in front of x402 payments, and log every allow or deny, since the wallet balance is the only Ramp-side ceiling on that path."],"sections":[{"heading":"Which Ramp controls apply to which agent payments","points":["Ramp's agentic payments guide says no separate agent identity is required: the agent uses the cards, funds and permissions already available to the Ramp user who connected it. With an Agent Card, used for browser checkout, the agent picks from that user's funds and follows each fund's spend limit, merchant rules, approvals and accounting defaults. With Stripe's Machine Payments Protocol, the agent confirms merchant, all-in amount, purpose and fund with the user, Ramp checks that fund, and fund controls still apply.","x402 is different. The guide says x402 purchases draw from a separately funded x402 wallet, not a card or fund, and \"card or fund controls do not necessarily apply.\" Ramp's Spend Controls API page says the same in its table: Agent Cards and Stripe MPP use eligible funds and their applicable controls, while x402 uses a separately funded wallet, \"do not assume card and fund controls also apply to wallet payments.\" x402 is listed as limited early access.","Funds themselves are budgets with an amount, an interval (daily, monthly or total), allowed merchant categories, allowed merchants and allowed countries, and approvals route spend through configured policy. Ramp's May 29, 2026 post on agent spending controls describes Agent Cards as single-use tokenized virtual cards scoped to a specific merchant and dollar amount, with agents inheriting the issuing user's spend limits and approval chains."]},{"heading":"What the agent can do to its own limits","points":["Ramp's agent tool reference lists ramp_limit_increase: increase the spending limit on a fund (spend allocation) or card, as a one-time increase that resets at the next interval or a recurring one; one-time funds always take a permanent increase. It takes an amount, a rationale, the card or fund id, and the flags user_confirmed_limit_increase and user_confirmed_increase_type.","Its description tells the model to call it only when the user's current message clearly requests an increase for the specific fund or card and says whether it's temporary or permanent, and that a declined transaction, budget question or currency correction is not authorization. That's a good instruction, but it's still an instruction read by the agent, and the confirmation flags are parameters the agent sets. A prompt injection or a confused agent is exactly the case it can't stop on its own.","What does stop it is the connected user's permissions and your approval settings, since the agent acts with that user's access. If the connected user can't raise limits, neither can the agent. The tool reference doesn't say whether an increase made this way goes through approval, so test it in your own account before relying on it."]},{"heading":"Capping x402 spend outside the fund","points":["The reference also lists ramp_provision_x402_wallet (a Solana wallet, created only after an owner or admin confirms), ramp_fund_x402_wallet (moves USD from a Ramp checking account, an irreversible transfer the agent must confirm with the user) and ramp_pay_with_x402, which pays a 402 challenge from the business's stablecoin balance and returns a payment header for the retried request.","Since fund controls may not reach that path, the practical ceiling is the wallet balance: keep it small and top it up by hand. If the agent pays many small x402 requests, add a per-payment and daily cap that the agent checks before it calls ramp_pay_with_x402, held somewhere the agent can't edit, and keep a log of each allow or deny next to the Ramp record so a month-end review covers both paths."]}],"checks":[],"ask_rightshold":{"start":"https://www.rightshold.com/start?ref=seo","mcp_endpoint":"https://www.rightshold.com/mcp","ask":"Our Ramp-connected agent pays x402 APIs from the Ramp x402 wallet, which fund limits may not cover. Set a spending policy on its credential: at most 1.00 USD per payment and 20.00 USD per day, only at api.example.com.","mcp_call":{"tool":"set_spend_policy","arguments":{"credential_id":"YOUR_AGENT_CREDENTIAL_ID","currency":"USD","per_tx_max_minor":100,"daily_max_minor":2000,"allowed_domains":["api.example.com"]}},"also":["Needs your owner account key. The policy replaces the previous one, and every version stays on the ledger. A delegated budget or intent-bound key is refused by set_spend_policy, so the agent can't raise its own cap.","authorize_spend checks one proposed payment against the policy and the running daily total and returns a signed allow or deny. Call it before ramp_pay_with_x402 and stop on deny. It records decisions only and never moves money; it doesn't see or block Ramp transactions on its own.","Rightshold isn't connected to Ramp, so the cap only works if your agent's code calls authorize_spend and obeys the answer."],"scope":"Rightshold isn't affiliated with Ramp and can't see or control your Ramp account, funds or x402 wallet. Ramp's behavior is as its agentic payments guide and agent tool reference on agents.ramp.com, its Agentic Payments and Spend Controls API pages and its May 29, 2026 blog post described it when read on November 24, 2026; x402 on Ramp is early access, and all of it can change. Not financial advice."},"sources":[{"title":"Ramp agents docs: Payments (Agent Cards, Stripe MPP, x402)","url":"https://agents.ramp.com/docs/guides/agentic-payments"},{"title":"Ramp agents docs: Agent Tools reference (ramp_limit_increase, ramp_get_agent_card_creds, x402 wallet tools)","url":"https://agents.ramp.com/docs/reference/agent-tools"},{"title":"Ramp API docs: Spend Controls","url":"https://docs.ramp.com/developer-api/v1/spend-controls"},{"title":"Ramp API docs: Agentic Payments","url":"https://docs.ramp.com/developer-api/v1/agent-cards"},{"title":"Ramp blog: How to set spending controls for AI agents (May 29, 2026)","url":"https://ramp.com/blog/ai-agent-spending-controls"}],"related":[{"title":"Can an AI agent raise its own spending limit, and how do you stop it?","url":"https://www.rightshold.com/answers/can-an-ai-agent-raise-its-own-spending-limit-and-how-do-you-stop-it"},{"title":"How to give an AI agent a virtual card with a spending limit","url":"https://www.rightshold.com/answers/how-to-give-an-ai-agent-a-virtual-card-with-a-spending-limit"},{"title":"How to set a spending cap for an AI agent paying with x402","url":"https://www.rightshold.com/answers/how-to-set-a-spending-cap-for-an-ai-agent-paying-with-x402"},{"title":"How to stop a prompt injection from making your AI agent buy something","url":"https://www.rightshold.com/answers/how-to-stop-a-prompt-injection-from-making-your-ai-agent-buy-something"}],"computed_from":"Curated guidance; license verdicts computed from Rightshold's license profiles at render time. Not legal advice.","updated":"2026-11-24"}