How do I check if a store will accept my AI agent’s card before buying?
Last reviewed: August 2026
Have the agent call GET /search-merchants?q=<store> before it orders a card. Each matching store comes back as accepted, not_accepted, or unknown, based on purchases Laso cardholders have already tried there, for the U.S., international, or reloadable card. The call is free with a Bearer token, so the agent can check every store before it spends anything.
Why check first
A prepaid card works at most online stores, but a store can still decline it: some block prepaid cards outright, and banking and money-transfer merchants refuse them as a transfer of value. A person finds out at checkout and tries another card. An agent that ordered a card for the exact checkout total has already spent the money by then, so the check belongs before the order.
What the lookup returns
| status | Meaning | What the agent should do |
|---|---|---|
accepted | The card type has worked at this store before | Order the card and check out |
not_accepted | The card type has failed at this store, or the store is restricted (see restriction_note) | Do not order a card for this store. Use a fallback below |
unknown | Nobody has tried this card type at this store yet | Usually fine. Order for the exact total, or ask the human first if the purchase is large |
| Not listed | No Laso cardholder has attempted a purchase there | Same as unknown |
The database only holds stores where someone has already tried a card, so a missing store has simply not been tried yet. A not_accepted result is the one answer that should stop the agent.
Step 1: Look the store up
Sign in with GET /auth to get an id_token, then search by store name. card_type defaults to the U.S. prepaid card. Pass Non-Reloadable International or Reloadable to check the other cards.
curl "https://laso.finance/search-merchants?q=bestbuy" \
-H "Authorization: Bearer $LASO_ID_TOKEN"
# {
# "merchants": [
# { "name": "Best Buy", "url": "bestbuy.com", "status": "accepted",
# "restriction_note": null, "description": "...", "notes": null }
# ],
# "query": "bestbuy",
# "count": 1,
# "card_type": "Non-Reloadable U.S.",
# "note": "This database only contains merchants where Laso users have previously attempted a transaction."
# }
Step 2: Turn the answer into a decision
A search can match several stores, so match on the domain the agent is about to check out on. This function returns one of three decisions the agent can act on.
async function canPayAt(storeName, checkoutDomain, cardType = "Non-Reloadable U.S.") {
const url = new URL("https://laso.finance/search-merchants");
url.searchParams.set("q", storeName);
url.searchParams.set("card_type", cardType);
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.LASO_ID_TOKEN}` },
});
const { merchants } = await res.json();
const match = merchants.find((m) => checkoutDomain.endsWith(m.url));
if (!match || match.status === "unknown") {
return { decision: "untested" };
}
if (match.status === "not_accepted") {
return { decision: "declines", reason: match.restriction_note ?? match.notes };
}
return { decision: "accepted" };
}
const check = await canPayAt("best buy", "bestbuy.com");
// { decision: "accepted" }
Step 3: Order the card, or fall back
On accepted or untested, order a U.S. prepaid card for the exact checkout total with GET /get-card?amount=<total> over x402, then poll GET /get-card-data?card_id=<card_id> until status is ready. Cards cost $5 to $1,000 with no fee, and any balance left after a failed checkout stays spendable at another U.S. store until the card expires.
On declines, the agent has three honest options:
- A gift card for that store. Some stores that refuse prepaid cards sell their own gift cards.
GET /search-gift-cards?q=<store>returns matching brands with alaso_server_idto pass toGET /order-gift-card. See how an agent buys a gift card. - The account holder’s own card.
POST /buy-with-saved-cardshops with a card the holder saved, and the holder approves each order on their device. See how an agent uses your own card safely. - Another store. Search a second store that sells the same item and check it the same way.
Stores outside the U.S.
U.S. searches leave out stores on non-U.S. country domains. For a store abroad, search with card_type=Non-Reloadable International before ordering an international card with GET /order-intl-card. See how an agent buys from a store outside the US.
Limits of the check
- Acceptance comes from past purchases, so a store can change its rules after the last recorded attempt. Treat
acceptedas strong evidence that can go stale. - The lookup covers whether the store takes the card. It does not cover stock, shipping region, or a billing address check at checkout.
- If you need to pay a store that declines every prepaid card and sells no gift card, the account holder’s own card is the reliable route.
Full reference: GET /search-merchants and the USA prepaid card guide.
Frequently asked questions
How can my AI agent tell if a website takes prepaid cards?
Call GET /search-merchants with the store name. A status of accepted means the card has worked there before, and not_accepted means it has failed or the store is restricted.
What should my agent do if a store is not in the merchant database?
Treat it as untested. The database only lists stores where someone has already tried a card, so a missing store usually still accepts it.
Does checking a store cost anything?
No. GET /search-merchants is free and only needs the Bearer token from GET /auth.
What happens to the money if the card is declined at checkout?
The balance stays on the card. The agent can spend it at another U.S. store until the card expires.
Why does a bank or money-transfer site always show not_accepted?
Spending there counts as a transfer of value, which no Laso card supports, so those merchants carry a restriction_note and are always returned as not_accepted.
More guides
- How to give your AI agent a credit card — An AI agent cannot pass credit underwriting, but it can issue itself a virtual prepaid card over an API in about a minute. The working pattern, with real requests: x402 payment in, card number out.
- x402 vs AP2 vs ACP vs MPP vs UCP: which should your agent use? — All five agent payment protocols compared honestly: x402 and MPP for machine-to-machine HTTP payments, ACP for ChatGPT checkout, UCP for Google surfaces, AP2 for authorization. Which layer each one is, when to use each, and a worked x402 example.
- x402 vs Stripe Issuing for AI agents — Two real ways to put a card in an AI agent’s hands: Stripe Issuing behind a business account, or x402 card issuance the agent drives itself. An honest comparison of onboarding, funding, controls, and when each wins.
- Issue a virtual card with one x402 call — A complete, runnable walkthrough: pay one x402 request in USDC and receive a virtual prepaid card with number, expiry, and CVV. Real endpoints, real response shapes, error handling included.
- How can an AI agent pay for an API call with USDC? — An AI agent pays for an API call with USDC by answering the API’s HTTP 402 challenge with a signed payment. Two ways to do it: your own wallet with an x402 client, or a managed wallet with a price cap and no private key.
- How do I give an AI agent a bank account? — Two real ways to give an AI agent bank details: a business checking account it can operate (Meow) or a U.S. bank account that converts incoming dollars to USDC in the agent’s wallet (Laso). What each one is, who approves what, and when to pick which.
- How do I cap how much my AI agent can spend? — Cap an AI agent’s spending with limits it cannot raise: a funded balance, a per-payment spend limit set by the account owner, a per-call price cap, and prepaid cards loaded with exactly the amount to spend.
- How do I send money to someone’s debit card from code? — Send USD, EUR, or GBP to a debit card with one API call paid in USDC. No payment processor account: you get a redemption link, the cardholder enters their own card details, and the funds are pushed to the card.
- What are the best ways to pay someone on Venmo or PayPal from an AI agent? — Four ways an AI agent can pay a person on Venmo or PayPal: the PayPal Payouts API, a USDC-paid payout through Laso, a bank or card payout instead, or a human approving each payment. Tradeoffs for each.
- How do I let my AI agent buy a gift card through an API? — An AI agent buys a gift card with two calls: search the catalog for a laso_server_id, then order it with a USDC payment. The redemption code comes back in the same response. Includes a runnable example and the currency gotcha.
- How do I let my AI agent buy something online? — Two working ways for an AI agent to buy something online: spend the account holder’s saved card with their approval on each order, or pay for a prepaid card in USDC and check out like any cardholder. How Laso and Crossmint each handle it, with runnable calls.
- How do I send dollars to a bank account from an AI agent? — Pay a U.S. bank account by ACH from an AI agent. Register the recipient once, then make one API call paid in USDC. Limits, fees, settlement time, and a runnable example.
- What are the best ways to give an AI agent its own wallet? — Four ways to give an AI agent a wallet it can spend from: a key you hold yourself, Coinbase Agentic Wallet, Crossmint agent wallets, or a Laso managed wallet. Custody, spend limits, and tradeoffs for each.
- How do I get notified when my AI agent spends money? — Get an alert every time your AI agent spends: register one signed webhook for card orders, payouts, withdrawals and deposits, or poll the balance and card transaction endpoints. Working code included.
- How do I convert USDC to fiat in my app without a multi-week integration? — Three ways to turn USDC into dollars, euros, or pounds from code: Laso pay-per-call payouts over x402, a Stripe stablecoin balance, or Circle Mint redemption. Onboarding, outputs, and tradeoffs for each.
- How do I let my AI agent use my own credit card safely? — Let an AI agent pay with your own card without ever handling the number: save the card once behind a passkey, let the agent build the cart over an API, and approve each order on your own device. Working calls included.
- How do I let my AI agent pay for a subscription that bills every month? — A subscription charges the same card again each month, so a single-use card fails at the first renewal. Four ways to give an AI agent a card that stays open, from Privacy, Ramp, Meow, and Laso, with the calls for a reloadable card funded in USDC.
- How do I move USDC between Solana and Base from an AI agent? — Move USDC between Solana and Base from an AI agent with one HTTP call: no bridge UI, no gas token on either chain, and no private key in the agent. Working curl examples, fees, and timing.
- How do I give my AI agent a card I can top up with USDC? — Three ways to give an AI agent a card that spends USDC and can be refilled: MoonPay’s MoonAgents Card, the Interlace Agent Card, and a Laso reloadable card. How each is funded, what limits apply, who can use it, and the calls to top one up.
- How can my AI agent buy from an online store outside the US? — Let an AI agent pay a non-U.S. online store: order an international prepaid card in USDC over x402, wait for it to be fulfilled, then check out with the returned card number and billing address. Working code included.
- What are the best ways for an AI agent to send money to someone in another country? — Five ways an AI agent can pay a person abroad: the Wise API, PayPal Payouts, a USDC-paid debit card payout in EUR or GBP, a gift card in the recipient’s country, or USDC sent straight to their wallet. Setup, limits, and tradeoffs for each.
- All agent guides, or how Laso compares to the alternatives
Try it: connect a wallet at laso.finance and you'll have a card, gift card, or payout in minutes.
Building an agent? Point it at laso.finance/SKILL.md — it can set itself up.