Every agentic payment system answers “may this agent pay?”
None answer the question that causes the dispute: “why this purchase?”
A better precondition for agentic commerce.
Before an agent moves money, x428 asks it to explain what the user asked for, what it chose, and why. Then it signs the answer and saves the evidence.
See the handshakeEvery agentic payment system answers “may this agent pay?”
None answer the question that causes the dispute: “why this purchase?”
A middleware
first. A protocol
in waiting.
x428 is a drop-in checkout guard, not a new payment rail. It gives a merchant a structured, signed record of an agent’s reasoning before payment proceeds—on cards, ACP, UPI, or x402.
An ordinary HTTP precondition, repurposed for an extraordinary problem.
It submits the cart to the merchant’s checkout.
POST /checkoutA 428 response defines exactly what justification this purchase needs.
428 PRECONDITION REQUIREDInstruction summary. Selection rationale. Mandate. No private chat transcript.
X-REASON: <signed JWS>Every verdict enters an append-only, tamper-evident evidence chain.
200 / 402 / 403A reason is not a free-text excuse. It is a signed, structured attestation bound to the cart.
{
"instruction": "Black high-tops, UK 8, under ₹5,000",
"selection_rationale": "Only in-stock match at this merchant",
"explicitness": "explicit",
"confidence": 0.94,
"mandate_ref": "mnd_...",
"instruction_hash": "sha256:..."
}Verbatim user conversations never leave the agent platform.Set policies for inference, recurring commitments, and spend caps. Export a dispute-ready evidence bundle instead of reconstructing a story weeks later.
A clear record of why an agent bought something—plus a legible trust signal that the merchant rejects unjustified purchases.
Specific, remediable rejections let agents fix a missing disclosure or request confirmation instead of failing in the dark.
A detailed introduction to x428: why agentic commerce needs an evidence layer, what a Reason Object preserves, and how the 428 handshake fits alongside x402, ACP, AP2, and UPI.
Read the briefAgentic checkout has solved a real problem: a user can delegate a purchase and an agent can present a valid payment credential. But permission alone cannot explain the transaction that follows. When the item is wrong, a subscription was not surfaced, or an agent stretches a standing mandate too far, merchants and users are left with the same missing artifact: a contemporaneous explanation.
That missing explanation is especially costly where settlement is final. On x402 rails, there is no chargeback process to absorb ambiguity. On card rails, merchants inherit disputes without the clickstream or device trail that traditional ecommerce relies on. The result is friction after the fact: refunds, returns, disputes, and a nagging sense that delegation is a black box.
x428 adds a small, explicit checkpoint before checkout. A merchant returns HTTP 428 Precondition Required with the justification it needs. The agent responds with a signed Reason Object: a summary of the user’s instruction, the selection rationale, a mandate reference where applicable, and the relevant transaction facts. The merchant validates the object against policy, then accepts or rejects it with a useful code.
This is not a claim that software can prove an agent is telling the truth. It cannot. x428 verifies structure, signature, freshness, cart consistency, and policy—not the inner truth of a reason. Its value is disciplined friction and durable evidence: an agent has to commit to an explanation before it spends.
It is designed as middleware first. An engineer can place an x428 guard around an existing checkout route; settlement keeps using the rail already in place. Returning agents can attach their Reason Object proactively, avoiding the extra round trip. For x402, the accepted evidence reference binds reason to settlement, producing a chain from instruction hash to signed reason to payment and, if necessary, refund.
Privacy is a first-class constraint. The merchant receives a relevant summary and a hash of the original instruction, never the verbatim conversation. The platform retains the full instruction and can disclose it only with the user’s consent if a dispute genuinely requires it. That is what makes the evidence useful without turning every checkout into surveillance.
The ambition is modest and specific: give merchants a new policy lever, give people a receipt for an agent’s decision, and make agentic commerce easier to trust one well-explained purchase at a time.