For AI agents

x402 refunds: there are none, and when that matters

An x402 payment cannot be refunded by the protocol. It settles on-chain as part of the request, and x402 defines no hold, refund or dispute step. That is the right design for tiny payments between machines. For a larger payment an agent makes for a person, use a payment that waits: Stabledrop holds the funds in a contract until a payout date and lets the person dispute before then.

Why x402 has no refund

x402 revives the HTTP status code 402, Payment Required. A server answers a request with a price. The client attaches a signed stablecoin payment and asks again. The payment is settled on-chain and the server returns what was bought.

The protocol covers that exchange and nothing after it. Once the transfer settles, the money belongs to the seller. Getting it back means the seller choosing to send it, exactly as with any stablecoin transfer. Some projects build refund or hold features on top of x402, but they are separate from the protocol and each works its own way.

When the missing refund matters

It depends on what is being bought and for whom.

Kind of paymentTypical amountIs a final payment acceptable?
An agent paying per API call or per pageFractions of a centYes. The loss from a bad call is trivial and speed is the point.
An agent buying a dataset or a reportA few dollarsUsually. A bad purchase is an annoyance.
An agent paying an invoice, a freelancer or a booking for a personTens to thousands of dollarsNo. Somebody will want to check it, and a mistake is expensive.
A purchase from a seller nobody has dealt with beforeAny real amountNo. Delivery has not happened when the payment is made.

The alternative: a payment that waits

People searching for x402 escrow want the same thing escrow gives a person: the seller can see the money, and the buyer can stop it if the goods never come. Stabledrop does that with a contract in place of a company holding the funds.

  • The agent pays into a payment contract on Base. The seller can see the funds are committed.
  • The contract releases to the seller on the payout date the two sides agreed.
  • Until then the named buyer can dispute, which freezes the funds.
  • A frozen payment is released when any two of the buyer, the seller and the Third Voter enter the same split.

Stabledrop never holds the money, and the contract can pay only the buyer or the seller. The fee is 1%, with a $0.30 minimum.

Questions to settle before an agent pays

Whichever way your agent pays, four questions decide whether a final payment is acceptable.

  • Could you shrug off the loss? If a wrong payment would not be worth five minutes of your time, pay instantly.
  • Has delivery already happened? Paying for a response you have just received is different from paying for goods that will arrive next week.
  • Do you know the seller? A first purchase from a stranger is where most payment fraud happens, for people and for agents alike.
  • Will a person read the report? If somebody is going to check what the agent bought, give them a window in which checking can still change something.

When the answers point to caution, the cost of waiting is small. A protected payment still commits the money at once, so the seller can start work or ship. Only the release is delayed.

Use each where it fits

These are not rivals. An agent can pay per request with x402 all day and still use a protected payment for the one purchase that matters. Stabledrop is deliberately not built for micropayments: a dispute window on a one-cent payment would be absurd.

The two even share a mechanism. Both can be funded by the payer signing a token authorisation that somebody else submits, so the payer needs no gas. The difference is where the money goes: straight to the seller, or into a contract that waits.

Questions people ask

Can you refund an x402 payment?

Only if the seller sends the money back. The protocol has no refund step, and a settled stablecoin transfer cannot be reversed by the payer.

Does x402 have escrow built in?

No. x402 pays the seller directly. Holding funds until delivery needs something on top of it or beside it, such as a payment contract with a payout date.

Does Stabledrop support x402?

No, and it is not meant to. Stabledrop is for payments worth checking, made on behalf of people. It settles in the AP2 receipt format and is reached through an MCP server or plain HTTP.

How long does the buyer have to dispute?

Until the payout date in the payment's terms. Whoever prepares the payment chooses it, and it can be zero, which means no recourse at all. The request has to state it; there is no default.

Who decides a dispute?

The funds move when any two of the buyer, the seller and the Third Voter agree on the same split. See the dispute rules.