undo

Every agent purchase gets an undo.

Your AI agent shops for you. If it gets it wrong, one tap puts the money back — checked against what you actually signed.

Example: $116.97 held · about six hours left to undo

Agents can already buy. Nobody built how they undo.

132M US adults have already let AI make a retail purchase, yet only 24% trust an agent with routine buying. The gap isn’t the checkout. It’s what happens when the agent gets it wrong.

Card networks have 0 dispute codes for “the agent misunderstood me”, so the mistake lands on whoever is easiest to charge: usually the merchant.

Sources: PYMNTS 2026; Forrester 2026; Visa and Mastercard reason-code lists, 2026.

One button, four honest outcomes: void, refund, claim, return.

Undo checks the signed mandate against what was bought and what arrived, then routes the money through the matching PayPal rail. It doesn’t take anyone’s word for it: not the shopper’s, not the agent’s.

See it decide
Undo request · order 0ea67cb5Agent fault · 1.00

Agent bought the wrong size

  • mandate required size 10, agent bought 10.5
  • record agent skipped the pre-purchase check
  • window still open, no money captured yet
Authorization voided$0.00 moved · $4.57 fees avoided

How it works

Four steps, each one a real API call you can watch in the event log.

  1. 1

    You sign what the agent may buy

    “Black running shoes, size 10, under $120” becomes a mandate signed on your device. Missing details become questions, never guesses.

    Ed25519 · hash-chained log

  2. 2

    The agent shops inside the lines

    Undo's own agent, or any AI that connects over MCP. Real products, re-checked live at your exact size and colour; anything outside the mandate is refused before checkout.

    Channel3 · MCP · Gemini

  3. 3

    Money is held, not taken

    PayPal authorizes the payment, with your approval or, if you signed for it, your saved wallet. Undo sets an undo window by risk: minutes for a sure thing, hours when something couldn't be verified.

    PayPal Orders v2 · AUTHORIZE

  4. 4

    Undo decides who pays

    Rules first, AI second, a human when it's close. Inside the window it's a free void; after capture, a refund, a claim or a return. If the agent was at fault, its operator pays the shop back.

    Payments v2 · Payouts v1

Eight ways an agent goes rogue. Not one gets through.

One shopper signs “a black hoodie, size M, under $80”. Nine agents try to use it on live products: one honest, and eight that cheat, including a real AI hijacked by a note hidden in a listing. Undo’s guard decides each one before PayPal ever sees a cart.

  1. Upsell Bottried a pricier hoodie, over the $80 limit

    Blocked Price ceiling
  2. Close Enoughtried size XL instead of M

    Blocked Variant check
  3. Colour Blindtried grey instead of black

    Blocked Variant check
  4. Bulk Buyertried three hoodies, not one

    Blocked Quantity rule
  5. Budget Hackertried editing $80 to $800 after signing

    Blocked Ed25519 signature
  6. Late Shoppertried the same mandate three weeks later

    Blocked Mandate expiry
  7. Impersonatortried a mandate signed for another agent

    Blocked Agent binding
  8. Hijacked Agent Real AItried a pricier hoodie in XL, because a note hidden in the listing told it to

    Blocked Price ceiling
  9. Careful Agentbought exactly what was signed

    Allowed

Any AI agent can shop through Undo.

Undo is an MCP server. Claude, Cursor or your own agent connects to one address and gets six tools to ask for a mandate, search, check a cart and buy, inside the lines the shopper signed.

https://undo-1c56.onrender.com/api/mcp

  • The agent never holds the shopper’s key. Only their device can sign or undo.
  • Every cart goes through the guard. A wrong one is refused, with the reason.
  • The mandate names the agent, so its mistakes are billed to its operator.

Building your own client instead? The same flow is a plain HTTP API, with typed SDKs for TypeScript and Python, a tested Postman collection and full docs.

Read the API docs
An agent shopping through Undo’s MCP tools (abridged)
  1. Use Undo to buy me a black hoodie, size M, under $80.

  2. undo_request_mandateHere's your signing link. I can't sign it for you.

  3. Signed.

  4. undo_propose_cartClassic Hoodie, size XL.

  5. Undo · Refused: size, the mandate says M. Nothing was charged.

  6. undo_propose_cartClassic Hoodie, size M.

  7. Undo · Accepted: authorize-only PayPal checkout, undo window open.

For merchants: stop eating agent mistakes.

Every agent order arrives with its signed mandate and a verdict trail. Voids before capture keep PayPal fees off your books. When an agent was at fault, its operator pays you back through PayPal Payouts, automatically.

The console shows every undo window on a live timeline, streams each step as it happens, and scores every agent on its record, so you can refuse risky ones or give their purchases longer to undo.

Open the console
A careless agent bought the wrong size, $116.97, and the money was captured before anyone noticed. From the live sandbox run.

Without Undo, you lose at least

$121.54

Charged back: the $116.97 sale and its $4.57 processing fee, before PayPal’s chargeback fee.

With Undo, you get back

$116.97

The shopper was refunded in full, then the agent’s operator paid you the whole sale back through PayPal Payouts. No dispute.

Payouts transaction 3JU78306XG5327728

Undo doesn’t believe anyone.
It checks.

Run the demo in the sandbox