Guide

How to give an AI agent your card, safely

How to give an AI agent your card, safely

How to give an AI agent your card, safely

Four ways to let an AI agent pay, from pasting a card number to one-time network tokens, compared on risk, limits and dispute rights, with a checklist for each.

Guide: How to Give an AI Agent Your Card, Safely

The safest way to let an AI agent pay is to never give it your card number at all. Instead, the agent gets a one-time payment credential for each purchase you approve, locked to that merchant and that amount. If that isn't available to you, a separate card with a low limit is the next best option. Pasting your everyday card into a chat is the riskiest.

This guide compares the four common approaches and ends with a checklist that applies whichever one you use.

A 1 a.m. purchase

Priya is building a side project with a coding agent. Late one night the agent tells her it needs two things to finish: a domain name, about $12, and $20 of credits for an API it's using.

She could stop, open two websites and pay herself. But the point of the agent is that she doesn't have to. So she has to decide how the agent pays.

Option 1: Paste your card number into the chat

This is what most people do first, because it works immediately.

The trouble is what happens after. The card number now sits in the chat history and the agent's context. The agent can use it at any store, for any amount, until the card is cancelled. If the agent reads a web page with hidden instructions telling it to buy something, a risk known as prompt injection, nothing stands between that instruction and your card. And to your bank, every purchase looks like you made it yourself, which can make a dispute harder to explain.

If Priya does this, the domain and the credits get bought. So could anything else.

Option 2: Let the agent use a card saved in your browser

Some agents drive a browser, and that browser may have your card saved for autofill. The agent never "sees" the number in the chat, but it can still spend it anywhere the browser can reach, with the same lack of limits and the same problem at dispute time. It also tends to break, because many stores ask for a security code or a one-time password the agent can't supply.

Option 3: Give the agent a separate virtual or prepaid card

A separate virtual or prepaid card with a low limit contains the damage. If something goes wrong, the most Priya can lose is the balance or the limit on that card.

The agent still holds a full card number that works at any merchant until the limit is reached, and the bank still can't tell an agent made the purchase. Depending on the card, you may also give up the rewards and protections of your main card. It's a reasonable stopgap, and we explain why it isn't the best long-term default in Why virtual cards are the wrong default for AI agent payments.

Option 4: One-time network tokens, approved with a passkey

Visa and Mastercard now issue tokens made for AI agents, through Visa Intelligent Commerce and Mastercard Agent Pay. With these, Priya's card stays where it is. When the agent wants to buy the domain, she sees the merchant and the $12 total and approves with a passkey, using Face ID or a fingerprint. The agent gets a one-time credential that only works at that registrar, for that amount, for a few minutes.

If a web page tricks the agent into trying to buy something else, there's no credential for it until Priya approves. Her bank can see the purchase came through an agent, and there's a record of what she approved.

ChatGPT Wallet uses the same approach, with a biometric approval and a network token instead of the card number. How ChatGPT Wallet works.

How the four options compare


Paste card number

Saved browser card

Separate limited card

One-time network token

Agent holds a usable card number

Yes

Effectively

Yes

No

Limited to one merchant and amount

No

No

No

Yes

You approve each purchase

No

No

No

Yes, or once for set limits

Bank can tell an agent bought it

No

No

No

Yes

Uses your main card's rewards and protections

Yes

Yes

Depends on the card

Yes

Most you can lose if it goes wrong

Your card limit

Your card limit

That card's limit

The approved amount

A safety checklist for any option

  • Set a spending limit you'd be comfortable losing, per purchase and per month.

  • Require approval above a small amount, or for every purchase while you're still getting to know the agent.

  • Limit where it can buy. If the agent only needs a few services, allow those and nothing else.

  • Watch for prompt injection. Be careful with agents that read untrusted web pages or emails and can also spend.

  • Give narrow instructions. Say exactly what to buy, from where and for how much, for example: "Register this domain for no more than $15 and ask me before you pay."

  • Never share passwords or one-time codes in chat. Enter them only on your bank's or card provider's own screen.

  • Check statements weekly for the first month.

  • Know how to switch it off. Make sure you can revoke the agent's access in one step, without cancelling your card.

  • Keep the receipts. Save order confirmations, so you can show what you meant to buy if you need to dispute a charge.

Where Prava fits

Prava Pay gives your own agent a way to pay with option 4. It works with agents including Claude Code, Cursor, Codex, ChatGPT and OpenClaw, and installs by chat command, MCP or the prava command-line tool in about a minute.

In Priya's case, she adds her card once and sets up a passkey. When the agent wants the domain, she gets an approval request for the registrar and $12, taps to approve, and the agent gets a one-time credential for that purchase. The agent never sees her card, and it isn't a prepaid card. For the API credits she buys every month, she can approve a mandate once, capping the merchant, the amount and how often, and the agent pays within those caps.

Today Prava Pay works with eligible Visa cards issued in the US. Chase, business, prepaid and gift cards aren't supported yet. Get Prava Pay.

Summary

  • Pasting a card number gives the agent unlimited, untraceable access to your card until it's cancelled.

  • A separate card with a low limit contains the damage but still hands the agent a working card number.

  • One-time network tokens, approved with a passkey, keep the card away from the agent and limit each payment to one merchant and amount.

  • Whatever you use, set limits, require approval, and make sure you can switch the agent off.

To try it, set up Prava Pay, or if you're building an app, create sandbox keys in the dashboard and follow the quickstart.

FAQ

Is it safe to paste my credit card number into an AI chat? It's the riskiest option. The number stays in the chat history, the agent can use it anywhere for any amount, and purchases look like you made them, which can complicate a dispute.

Can I set a spending limit for an AI agent? Yes. With a separate card, the limit is the card's limit. With one-time tokens, each payment is limited to the amount you approved, and a mandate lets you set caps for repeat purchases.

What if the agent buys the wrong thing? You can dispute the charge with your card issuer as with any card payment. A record of what you approved makes that much easier. See Who is liable when an AI agent buys the wrong thing.

Does Prava Pay work outside the US? Not yet. Prava Pay currently supports eligible Visa cards issued in the US.

Sources

Prava team

Copyright © 2026 Prava Payments Inc. All rights reserved

Copyright © 2026 Prava Payments Inc. All rights reserved