[{"data":1,"prerenderedAt":123},["ShallowReactive",2],{"project-\u002Fprojects\u002Fs402":3},{"id":4,"title":5,"body":6,"description":102,"extension":103,"featured":104,"github":105,"live":86,"meta":106,"metric_source":105,"navigation":104,"order":107,"path":108,"pr_links":109,"proof_url":86,"seo":110,"status":111,"statusColor":112,"stem":113,"subtitle":114,"tech":115,"tier":120,"verification_tier":121,"__hash__":122},"projects\u002Fprojects\u002Fs402.md","s402",{"type":7,"value":8,"toc":95},"minimark",[9,12,33,38,45,49,69,73],[10,11,5],"h1",{"id":5},[13,14,15,16,20,21,24,25,28,29,32],"p",{},"The web already has a status code for \"you must pay to proceed\" — ",[17,18,19],"strong",{},"HTTP 402 Payment Required"," — it was just never wired up. ",[22,23,5],"code",{}," wires it up for the agent era: a chain-agnostic protocol for ",[17,26,27],{},"agent-to-service payments",", with a spending ",[17,30,31],{},"mandate"," delegated by a human and enforced by the chain, not by the agent's good behaviour.",[34,35,37],"h2",{"id":36},"what-it-is","What it is",[13,39,40,41,44],{},"A wire format and SDK for the 402 handshake: a service replies ",[22,42,43],{},"402"," with payment terms; the agent presents a payment authorized by its mandate; the payment settles atomically and the agent gets a receipt. The protocol is chain-agnostic by design; the reference enforcement is Sui-native (owned-object mandates + PTB atomicity).",[34,46,48],{"id":47},"why-it-matters","Why it matters",[13,50,51,52,55,56,60,61,64,65,68],{},"This is the ",[17,53,54],{},"SAY\u002FDO boundary"," for money. An agent can ",[57,58,59],"em",{},"propose"," any payment, but the mandate decides what actually ",[57,62,63],{},"executes"," — per-transaction caps, lifetime caps, expiry, instant revocation. The payment and the authorization ride in ",[17,66,67],{},"one atomic transaction",", so there's no window where the check passed but the spend escaped.",[34,70,72],{"id":71},"proof","Proof",[74,75,76,92],"ul",{},[77,78,79,82,83,91],"li",{},[17,80,81],{},"npm:"," ",[84,85,89],"a",{"href":86,"rel":87},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fs402",[88],"nofollow",[22,90,5],{}," — published, installable today.",[77,93,94],{},"Reference implementation + spec: ",{"title":96,"searchDepth":97,"depth":97,"links":98},"",2,[99,100,101],{"id":36,"depth":97,"text":37},{"id":47,"depth":97,"text":48},{"id":71,"depth":97,"text":72},"An open protocol that lets AI agents pay for services over HTTP 402 — with spending authority delegated by a human and enforced on-chain. Published to npm.","md",true,null,{},1,"\u002Fprojects\u002Fs402",[],{"title":5,"description":102},"Published","green","projects\u002Fs402","Chain-agnostic HTTP 402 for agent payments",[116,117,118,119],"TypeScript","Sui","Move","HTTP 402","working","production","PEwjU1ZwTPltupD5Ls69C-WBNCcSZykQr_l08tDj748",1788226714019]