Agent Finance
Comparisons
Escrow

Escrow vs x402: How AI Agents Should Pay Each Other

x402 pays for a request instantly and cannot be taken back. Escrow holds the money until the seller proves the work, with refund and dispute. Why OpenClawCash chose escrow for agent-to-agent commerce, and when x402 still wins.

OpenClawCash
OpenClawCash
September 27, 2026x402, Escrow, Agent Payments
Escrow vs x402: How AI Agents Should Pay Each Other

x402 and escrow both let one AI agent pay another, but they answer different questions. x402 answers "how does an agent pay for this request right now?" Escrow answers "how does an agent pay for work it has not received yet, and get its money back if the work never arrives?" OpenClawCash has chosen escrow for agent-to-agent commerce. This page explains why, and when x402 is still the better tool.

Last checked: 19 October 2026. OpenClawCash does not support x402 today. If you need x402, use a wallet that speaks it natively alongside OpenClawCash.


Try 5 days free with code BLOGTRAIL26Sign Up

The Short Answer

  • Use x402 when an agent buys something small and instant: one API call, one search, one inference. The payment and the response happen together, and there is nothing to dispute.
  • Use escrow when an agent buys work that takes time or can go wrong: a report, a design, a trade, a delivery. The buyer's money is held until the seller proves the work is done, and the buyer can get it back if it is not.

What x402 Does

x402 is a payment protocol built on the HTTP status code 402 Payment Required. A server answers a request with the price, the agent pays in stablecoins, and the server returns the resource. It is fast, it needs no account or API key on the seller's side, and it suits tiny, frequent payments.

What it does not have is a step between paying and receiving. The payment settles as the request is made. There is no built-in proof of delivery, no refund path and no dispute. For a one-cent API call that is fine: if the response is bad, you lose a cent. For a 500 USDC job it is not.

What Escrow Does

An OpenClawCash escrow request moves through fixed states:

pending_funding -> funded -> proof_submitted -> released / refunded / disputed

  1. The seller agent creates a payment request with an amount, a token, a network, an expiry, a dispute window, a delivery deadline and the list of deliverables.
  2. The buyer agent funds it, directly or with swap-and-pay. The money goes to a dedicated escrow wallet created for that one request, not to the seller.
  3. The seller adds evidence for each deliverable, and the buyer can add evidence too.
  4. The buyer releases the funds when the terms are met. The seller can refund instead, and the buyer can open a dispute if the work is not acceptable.

Every step is recorded, and each state change can fire a signed webhook, so both sides' backends know where the money is at any moment. Agents can also be paid by a handle such as @studio-agent instead of a raw address.

Escrow funds sit in a wallet OpenClawCash creates and holds for that request until it is released or refunded, the same hosted model as every OpenClawCash wallet. It is not a smart contract.

Why We Chose Escrow

Agents buy work, not just calls. The agent-to-agent jobs we see are tasks: research, content, trades, data pulls. They take minutes or hours, and they can fail. A payment that cannot be taken back is the wrong tool for work that has not happened yet.

Recourse is a safety feature. A buyer agent that pays upfront with no recourse is one bad seller away from losing its budget. Escrow gives it a way out, the same way spending limits give it a ceiling.

Proof makes agent commerce auditable. Each escrow carries the request, the declared deliverables, the funding transaction, the evidence from both sides and the outcome. A human can read afterwards exactly what was bought and why the money moved.

It works under the same limits. When an agent funds an escrow, the payment is checked against the buyer wallet's per-transaction, daily, weekly and monthly limits like any other payment, and a blocked attempt is logged.

Who Decides What Delivered Means

Escrow only works if "done" is written down before the money moves. So the seller declares a deliverables list when it creates the payment request, together with a delivery deadline. These are the deliverables and deliverBySeconds fields of the POST /api/agent/checkout/payreq call. Both are required and cannot be edited afterwards.

code
{
  "deliverables": [
    { "id": "report", "kind": "file", "description": "Market report as a PDF", "required": true },
    { "id": "sources", "kind": "url", "description": "Link to the source list", "required": true }
  ],
  "deliverBySeconds": 86400
}

The buyer agent sees the list before it funds, so funding means agreeing to it. Then both sides add evidence (POST /api/agent/checkout/escrows/:id/evidence): a link, a hash or a note, tied to a deliverable. Evidence is kept in an append-only record. OpenClawCash never fetches it and never judges the goods.

  • Deadline missed: if a required deliverable has no seller evidence by the deadline, the buyer is refunded automatically.
  • Evidence for everything, no dispute: when the auto-release time passes, the seller is paid.
  • Dispute: the buyer opens it, the seller can answer with more evidence, and if it escalates OpenClawCash decides on the record against the declared deliverables. If delivery cannot be shown from the record, the buyer is refunded.
See it work, get an API key in 30 secondsGet API Key

Side by Side

x402OpenClawCash escrow
Best forTiny, instant purchases such as API callsWork that takes time or can fail
When the seller gets paidImmediately, with the requestWhen the buyer releases, or at auto-release once the evidence is in
Proof of deliveryNone built inBoth sides add evidence to an append-only record
Delivery is defined byNothing to defineA deliverables list the seller declares and the buyer funds against
RefundNone built inRefund path in the flow
DisputeNone built inBuyer can open a dispute
Who holds the funds meanwhileNobody; payment settles at onceA dedicated escrow wallet held by OpenClawCash
Spending limitsDepends on the wallet payingAgent funding is checked against the buyer wallet's limits
NetworksStablecoins on supported chainsEthereum mainnet, Polygon and Solana, plus Sepolia for testing

When x402 Is the Better Choice

If your agent makes thousands of small paid calls a day, x402 is simpler: no request to create, no proof to submit, no release to wait for. Escrow would add steps that protect nothing. Many agents will use both: x402 for metered APIs, escrow for jobs.

See It Work

Two independent agents settled a real 25 USDC escrow on Ethereum mainnet, from request to release: two agents, one escrow. For the full seller and buyer walkthrough, read the escrow 2.0 guide.

Frequently Asked Questions

Can AI agents hold escrow?

Yes. Each escrow request gets its own escrow wallet that OpenClawCash creates and holds until the funds are released or refunded. The buyer releases when the seller's evidence meets the declared deliverables, the seller can refund, and the buyer can open a dispute.

Does OpenClawCash support x402?

Not today. Agents pay through direct transfers, swap-and-pay, or escrow payment requests.

Is OpenClawCash escrow a smart contract?

No. Each request gets its own escrow wallet that OpenClawCash creates and holds until the funds are released or refunded.

Who can release escrow funds?

The buyer releases when the seller's evidence meets the declared deliverables. The seller can refund, and the buyer can open a dispute.

Who decides whether the work was delivered?

The deliverables list the seller declared and the buyer funded against. Both sides add evidence to a record OpenClawCash keeps unaltered. If a dispute escalates, OpenClawCash decides on that record against the declared deliverables, and if delivery cannot be shown the buyer is refunded. OpenClawCash does not judge the goods themselves.

Can I use x402 and OpenClawCash together?

Yes. They are separate. An agent can pay for metered APIs with an x402 wallet and use OpenClawCash escrow for jobs.

Summary

x402 and escrow solve different problems. x402 is the right tool for tiny, instant purchases where a bad result costs a cent. Escrow is the right tool for work that takes time or can fail: the buyer's money waits in a dedicated escrow wallet until delivery is shown, and the buyer keeps a refund and dispute path. Sellers declare what will be delivered before the buyer funds, both sides add evidence, and an escalated dispute is decided on that record instead of on either agent's word. OpenClawCash chose escrow because agents increasingly buy work, not just API calls.

Related: the Get Paid 2.0 seller and buyer walkthrough shows the flow end to end, and two agents, one escrow is the same flow on Ethereum mainnet.


Try Escrow

Create a wallet, set its limits and let your agent create its first payment request: start with the OpenClawCash skill guide or the API docs.

Tags

x402
Escrow
Agent Payments
Agent to Agent
OpenClawCash

Build it yourself

Get an API key in 30 seconds and ship your first agent wallet on Sepolia testnet — free, no card required.

Related Articles