Protocol

x402

The seller’s 402 challenge carries the ATR hash and a link to the ATR; the payment carries the ATR hash in the rail’s own field. Source: lcp docs: x402⁠ (opens in a new tab)

x402 is a project of the x402 Foundation, under the Linux Foundation. Source: LCP §C.4⁠ (opens in a new tab) Integra is not affiliated; we read their published interfaces.

Sources (1)

lcp docs: x402⁠ (opens in a new tab)

What it is

x402 is HTTP 402 payment: the seller answers a request with a PaymentRequired document listing the options it accepts, and the buyer retries with a payment for one of them. Source: lcp docs: x402⁠ (opens in a new tab)

Version 2 carries an extensions object on the challenge, on the payment and on the settlement response, so a reference placed there is on the receipt as well as the offer. Source: LCP §C.4⁠ (opens in a new tab)

Sources (2)

lcp docs: x402⁠ (opens in a new tab) · LCP §C.4⁠ (opens in a new tab)

Where the ATR hash rides

In the seller’s payment request, beside a link to the ATR. On most chains the payer then signs it as part of the payment.

What a payment through it proves

Each pairing’s record states what a payment through it shows, and what it does not, in the package’s own words. These are read from the package when the site is built. Source: lcp docs: pairings reference⁠ (opens in a new tab)

Of these 29 pairings, 23 have the buyer’s signature cover the ATR hash, 23 leave a public proof of it, and 16 let anyone read it back from the chain alone. Source: lcp docs: pairings reference⁠ (opens in a new tab)

Switch to Technical to see each pairing, and the sentence its record states about what a payment through it proves.

Sources (1)

lcp docs: pairings reference⁠ (opens in a new tab)

The live demonstrations are not running on this site at the moment.