HTTP-402 + escrow concept
x402 is an open spec for in-band HTTP-402 payments: an HTTP server can respond 402 Payment Required with payment options, and a client can re-request with payment proof in an X-PAYMENT header. The server validates and serves.
x402 is payment-method-agnostic. x402b is the Boson-flavored scheme that uses Boson escrow as the payment method.
Why escrow?
Plain x402 says "send funds and you get the resource". Escrow x402 says "lock funds; the resource must be delivered before they release; either party can dispute".
This gets you:
- Non-custodial. No platform holds money.
- Dispute resolution. If the delivery is broken, the buyer can raise a dispute. Boson's DR resolves.
- Re-fundable. A failed delivery refunds automatically.
- Composable with other Boson features — vouchers (rNFTs), royalties, agent fees.
The flow
Two flows
| Flow | Description | Best for |
|---|---|---|
| Deferred | Commit now; redeem later (buyer or server triggers) | Physical goods, time-bounded redemption |
| Atomic | Commit + redeem in one tx | Digital goods, agent-to-agent commerce |
Where it differs from plain x402
| Plain x402 | x402b (Boson escrow) |
|---|---|
| Pay direct | Pay to escrow |
| Trust the seller | Trust the protocol |
| No native dispute | Built-in dispute resolution |
| Generic | Boson-specific (offers, exchanges) |