Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · agent payments

Our AI agent pays APIs with x402. Yesterday it paid for a report the endpoint never delivered, and the seller says x402 payments can't be refunded. Is that true, which x402 payment schemes let a seller give money back, and what should we look for before our agent pays?

Last updated

TL;DR: It depends on the scheme the seller offers. The x402 exact scheme moves a fixed amount once and its specification defines no refund: any remedy is the seller's own arrangement. What protects the buyer under exact is the payment flow. In the default authorization flow the payment settles only after the seller's handler succeeds, so an error leaves the client uncharged; in the upfront flow the payment commits first, so an error can leave you charged with nothing delivered. The upto scheme caps the charge at a signed maximum and may settle zero, but also defines no refund. Two schemes do return money: auth-capture lets the seller void a hold, capture less than the maximum or refund after capture until a refund deadline, and lets the buyer reclaim a hold the seller never captured; batch-settlement lets the seller refund unclaimed channel funds and gives the buyer a timed withdrawal. In both, a refund is started by the seller's side, not by the buyer. Before your agent pays, read the scheme and payment flow in the 402 response and prefer exact with the authorization flow, or auth-capture, for anything you may need back.

What should I check, step by step?

1. Read the scheme field in the seller's 402 response before paying. exact and upto define no refund; auth-capture and batch-settlement define ways to return funds.

  1. For exact, prefer the authorization payment flow. The x402 spec says clients SHOULD choose it when both are offered, because the payment settles only after the seller's handler succeeds.
  2. Treat an exact payment in the upfront flow as final. If the handler errors after settlement, the spec says any remedy is the seller's own arrangement, so ask the seller directly and keep the transaction reference.
  3. Use upto for metered calls when you want a hard ceiling: the settled amount must be at or below the signed maximum and may be zero, but nothing comes back once it settles.
  4. For purchases you may need to undo, look for auth-capture and note its two deadlines: captureDeadline (after which you can reclaim an uncaptured hold yourself) and refundDeadline (the last moment the seller can refund).
  5. Don't expect the buyer to trigger an auth-capture refund. capture, void and refund are not client-authorized; only reclaim of an uncaptured hold is yours to call.
  6. With batch-settlement, know that refunds of unclaimed channel funds come from the seller's side, and your own way out is a timed withdrawal that waits out the channel's withdrawal delay (15 minutes to 30 days).
  7. Record every x402 payment your agent makes with the scheme, flow, amount, payTo and settlement reference, so a refund request names exactly which payment it is about.

Can you get a refund on an x402 exact or upto payment?

The exact scheme transfers a specific amount the seller knows in advance. By default it uses the authorization flow: verify, run the resource, then settle. The specification says authorization SHOULD be preferred, and clients SHOULD choose it when a resource offers both, because the payment commits only after the resource handler succeeds, so a handler error leaves the client uncharged.

How do x402 auth-capture refunds, voids and reclaims work?

The auth-capture scheme (v1.1, August 18, 2026) has the client authorize a maximum, after which the payment has a lifecycle. In the escrow flow, the scheme's default, authorize places a hold before the resource runs; afterwards the seller can capture (repeatable up to the held total) or void the rest, and refund later. In the authorization flow there is no hold: the seller charges after the resource runs and can refund later.

How do refunds work in x402 batch-settlement channels, and what should an agent check before paying?

The batch-settlement scheme on EVM is a payment channel for repeat buyers. The seller (receiver or its receiverAuthorizer) can make a cooperative refund of up to the channel balance minus what has been claimed, directly or with a signature that anyone can relay.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “Our research agent paid 0.40 USDC under x402 exact (upfront flow) for a report from api.example.com and got an error, no report. Record what was paid, under which scheme and flow, and the settlement reference, so our refund request to the seller names this exact payment.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "agent.payment_disputed",
    "outcome": "failure",
    "occurred_at": "2026-11-24T19:00:00Z",
    "client_event_id": "x402:research-agent:report-0412",
    "summary": "x402 exact (upfront flow) payment of 0.40 USDC on Base to api.example.com for /v1/report; handler returned an error after settlement and no report was delivered; settlement tx 0x... ; refund requested from the seller by email",
    "action_sha256": "<sha256 of the 402 response, payment payload and settle response>"
  }
}

Rightshold isn't affiliated with the x402 Foundation, any facilitator or any seller, and can't see or reverse x402 payments. Scheme behavior is as the x402 specifications on GitHub (exact, upto, auth-capture v1.1 with its EVM binding, and batch-settlement EVM) read on November 24, 2026; they can change, and a seller's or facilitator's implementation may differ. Not legal or financial advice.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'