arXiv(opens in a new tab)cs.CRSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.02208

Agentic Settlement Protocol: An Application Profile for Refundable, Delayed-Fulfilment Agent Commerce on Stablecoin Rails

Behnam, Mohammadkhani, Atul Khekade, Ritesh Kakkad

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Autonomous agents can already pay per request: HTTP-native protocols such as x402 let an agent sign a stablecoin authorization and receive a resource in the same round trip. That model is atomic, instant and final, which is what metered access needs and what commerce cannot tolerate. A purchase made on a person's behalf — a service appointment, a physical order, a freelance deliverable, a flight, a hotel night, an invoice — is large, is frequently cancelled, and should not become the seller's money until the seller has actually delivered. We present the Agentic Settlement Protocol (ASP), an application profile that specifies how a buyer agent, a seller, an operator and an on-chain authorize-and-capture escrow coordinate a quote, a time-bounded hold, fulfilment, capture and refund for any online business whose booking, order, scheduling or invoicing system can expose, or be adapted to expose, a hold, a commit, a cancel and a refund computation. ASP treats all such systems uniformly as fulfilment engines, and defines the lifecycle once against a registry of fulfilment classes rather than per vertical. ASP does not introduce a new escrow primitive; it builds on the auth-capture escrow pattern already standardised by the Commerce Payments Protocol and adopted by x402 refund extensions. Its contributions are a three-deadline hold model — an issuance deadline, an escrow expiry and the engine's own inventory expiry, separated by an explicit submission-inclusion-finality margin — under which no inventory is ever issued against funds the buyer can reclaim; a fulfilment-verification ladder that states explicitly which party is trusted to trigger capture, what its assertion does and does not prove, and what challenge window applies; fare-rule-driven partial refunds with a specified refund-liquidity order and per-seller exposure controls that bound the operator's credit risk; distributor revenue share taken atomically at capture with a condition under which self-dealing is provably unprofitable; a single-currency-per-charge invariant that removes swaps, oracles and slippage from the settlement path; a fulfilment-class registry with worked mappings for order-management, service-scheduling, invoicing and travel systems that leaves the seller's core engine unchanged and integrates through a connector; and a normative interface specification (x402 scheme, vault interface, operator and connector APIs, registries, conformance levels) intended to let independent implementations interoperate. The design originated in a review of how travel agencies could join agentic settlement layers, and travel remains the running example because it forces every part of the design to exist; nothing in the protocol is specific to it. We state the trust model candidly, including where the operator is trusted, give informal arguments for five safety properties, and describe an instantiation on the XDC Network. ASP is presented as a design and specification together with a narrow reference-implementation scope and a fault-injection evaluation plan; measured results are left to follow-up work.

1 Introduction

A payment standard already exists for AI agents, and it solves the wrong half of commerce. x402 revived the HTTP 402 status code so that an agent can request a resource, receive a machine-readable price, sign a stablecoin authorization and receive the response in a single exchange [Reppel et al., 2025]. The protocol has since moved to the Linux Foundation, gained multiple settlement schemes, and reports hundreds of millions of payments [Linux Foundation, 2026, x402 Foundation, 2026]. It is the right design for data, tools and inference: one-shot, instant, irreversible, and small.

The moment an agent tries to buy something real, that shape breaks. A plumber's appointment, a physical order from an online store, a design deliverable from a freelancer, a seat on a flight or a night in a hotel all share three properties that a metered API call does not. The amount is large relative to the buyer's per-call budget. The purchase is refundable, and in many service businesses cancellation is routine rather than exceptional. And, critically, the money should not become the seller's until the seller has delivered: the technician turned up, the parcel shipped, the file was accepted, the ticket issued. A single atomic transfer has no room to hold funds, wait for fulfilment, and then either settle or return them.

The traditional answer is the card network's authorize-capture-refund lifecycle executed by a processor. That lifecycle is the correct abstraction, but its implementation is custodial, fiat-bound and closed to any seller without a processor relationship. In 2025 Coinbase and Shopify brought the same lifecycle on-chain in the Commerce Payments Protocol (CPP), a non-custodial escrow contract with authorize, capture, charge, void, reclaim and refund operations, pluggable token collectors, and time-bounded holds that the buyer can unilaterally reclaim on expiry [Coinbase and Shopify, 2025, Shopify Engineering, 2025]. Refund extensions to x402 now wire that escrow into the 402 handshake [x402r, 2026]. The on-chain primitive therefore exists and is audited.

What does not exist is a specification of how that primitive should be driven when fulfilment is decided by an off-chain system that has its own clock, its own hold semantics and its own refund rules. Every online business already runs one: an order-management system with a fulfilment deadline, a scheduling system with an appointment slot that lapses if unconfirmed, an invoicing system with a due date, a booking engine with a ticketing time limit. If the escrow hold and the business's own hold are not coordinated, one of two failures occurs: money is held after the slot or stock has been released, or the slot is held after the money has gone back to the buyer. Neither CPP nor the x402 schemes say anything about this, because they are payment-layer specifications and the problem sits one layer up.

This paper specifies that layer. The Agentic Settlement Protocol (ASP) is an application profile over an auth-capture escrow for purchases from any online business whose fulfilment system can expose, or be adapted to expose, the four operations below; that covers most businesses that sell online, but it is an interface requirement, not a universal claim. We abstract the business's system as a fulfilment engine exposing a hold, a commit, a cancel and a refund computation, define the settlement lifecycle once against that abstraction, and instantiate it per business type through a registry of fulfilment classes. Travel is the running example throughout, for two reasons. The first is historical: this work began as a review of how travel agencies could participate in agentic AI settlement layers, and the design was worked out against their booking engines, ticketing time limits and fare rules before it became clear that nothing in it was specific to travel. The second is that travel is the hardest instance — the holds are short, refunds are rule-driven and partial, and the engines are decades old — so a design that survives it survives easier verticals. A reader should substitute their own business type at every occurrence. We make the following contributions.

  1. A three-deadline hold model (Section 4.5) that separates the issuance deadline the connector enforces, the escrow expiry, and the engine's inventory expiry by an explicit margin covering transaction submission, inclusion and finality, together with a proposition that no inventory is issued against funds the buyer can reclaim. The model does not assume that two independent systems cancel each other atomically.

  2. An explicit fulfilment-verification ladder (Section 4.7) that names, for each class of good, which party's assertion triggers capture, what evidence it carries, and what challenge window applies. This replaces the phrase "on fulfilment" that most agent-payment designs leave undefined.

  3. A refund and exposure model (Section 4.6) in which the off-chain engine's fare or rate rules are authoritative for the refundable amount, with a specified refund-liquidity order, a refund window, and per-seller exposure controls (rolling reserve, settlement delay, outstanding-refundable caps) that make the operator's refund backstop a bounded credit exposure rather than an open-ended guarantee.

  4. Revenue share at capture (Section 4.8), with a proposition giving the condition under which a distributor cannot profit by generating its own referred volume.

  5. A single-currency invariant (Section 4.9), a fulfilment-class registry with worked mappings for order-management, service-scheduling, invoicing and travel systems (Section 6) that leaves the seller's core engine unchanged, and a deliberately narrow reference-implementation scope with a fault-injection evaluation plan (Sections 7 and 9).

  6. A normative interface specification (Section 4.11 and Appendices C–F): the x402 asp scheme, the vault's Solidity interface with events and errors, the operator and connector APIs, the registry and webhook schemas, and conformance levels. The intent is that two independent implementations built from the appendices interoperate.

We state the trust model in Section 3 without euphemism: the operator is trusted for the capture decision to the extent set by the verification rung, and the "instant reserve" settlement mode is custodial by construction. Section 5 gives informal arguments for five safety properties. Section 7 describes the instantiation on the XDC Network. Section 8 situates ASP against both industry protocols and the recent academic literature on agent payments, and Section 9 lists limitations and open questions. ASP is a design contribution; we have not yet measured a deployed vault, and we say so, but Section 9 specifies exactly what will be measured.

References (18)