Start here
SubEtha v2 lets an API that is already sold through x402 take payments to a different receiving address for every order, while the customer keeps paying with the unmodified official x402 client. This page orients you: who the site is for, what SubEtha v2 is and is not, the mental model behind the other pages, and where each audience should go next. What is visible on chain, and to whom, is in Who sees what.
Who this site is for
Section titled “Who this site is for”- Providers who serve an HTTP API behind
402 Payment Requiredwith the official x402 Express middleware and want to add SubEtha v2 next to their existing routes. - Buyers (people or agents) who pay such a Provider on the hosted testnet with the official x402 client.
- Evaluators who want to judge, from dated records, what the documented path does and does not establish before running anything.
What SubEtha v2 is, and is not
Section titled “What SubEtha v2 is, and is not”SubEtha v2 is:
- Standard x402 v2 on the wire. The 402 advertises
scheme: "exact"; the buyer signs a standard EIP-3009transferWithAuthorizationwith the unmodified official client. No SubEtha client is required to pay. - A per-order
payTo. Each order’s address is a fresh burn-sale address from the zERC20 v2PointOfSale. The payment is a public zUSDC transfer from the payer to that address. - Delivery on the re-validated mined receipt. The body is released after the facilitator re-validates the mined receipt. Chain finality is later and separate from delivery.
- Recoverable without a second payment. The order id and a recovery URL travel in
extensions.subetha.info; the wallet that paid recovers with the official SIWX extension. - Installed from the npm registry, at exact versions. Providers install the extension and the Provider tools at the versions and integrity values on Register and run a Provider; buyers install no SubEtha package.
SubEtha v2 is not:
- A payment kept off the public chain: the payer address, amount, token and time are public. What the zERC20 v2 SDK is designed not to link directly on the public chain is the per-order address and the merchant’s shielded funds; that property is not independently quantified, and correlation remains possible.
- A mainnet service today: the records are testnet records. The stated plan is to extend to mainnet assets across chains supported by zERC20 v2, with integration and validation per chain and asset; no date is promised.
The five-minute mental model
Section titled “The five-minute mental model”- The buyer asks, unpaid. The agent requests the resource with no payment headers.
- The Provider answers 402 with a per-order
payTo. The facilitator obtains a fresh burn-sale address from the zERC20 v2PointOfSaleand binds the order to it; the order id and a recovery URL travel inextensions.subetha.info. - The buyer signs with the official client. A standard EIP-3009 authorization for the amount, to that address.
- Your handler runs, and its output is held. The official middleware verifies, your existing handler runs, and the SubEtha guard holds the bytes instead of sending them.
- Settlement, then release. In the product repository’s multi-Provider configuration (since 2026-11-22) the multi-Provider facilitator sends no payment. The Provider binds the order to the signed authorization at that facilitator, then submits the authorization once to an x402 facilitator of its own, which broadcasts it and pays gas; the SubEtha facilitator re-validates the mined receipt and grants the release. The buyer gets 200 with the body. Chain finality comes later and separately; on the hosted testnet there is no finality gate, so delivery does not by itself establish merchant credit or spendability.
- If the response is lost, recover. The wallet that paid recovers with the order id and the official SIWX extension. It never signs a second payment for the same order.
The operator states (2026-11-23) that the hosted testnet runs this configuration; that is the operator’s statement, not a record of the product repository.
Terminology
Section titled “Terminology”| Term | Meaning |
|---|---|
| x402 v2 | the official HTTP payment protocol: 402 Payment Required plus the payment headers, version 2 envelope. The official packages used are @x402/* 2.28.0 |
exact |
the standard x402 scheme SubEtha v2 uses on the wire: an EIP-3009 transferWithAuthorization for a fixed amount |
| zUSDC (wrapped USDC) | the asset customers pay with; obtained by wrapping USDC, a public step. On the hosted testnet it is test USDC on Base Sepolia |
| per-order burn-sale address | the fresh payTo of each 402, obtained from the zERC20 v2 PointOfSale; the payment to it is a public transfer |
| facilitator, hosted testnet | the shared testnet facilitator since 2026-11-09; Providers join by application or through the operator. Its operator sees, per order, the payer address, amount, transaction, digest and Provider; it holds only each Provider’s POS key (it can derive addresses, write that Provider’s lane, and know which addresses are the Provider’s); it cannot spend; it holds no seed and no view key. It signs no transaction and delivers on the mined receipt. As the product repository describes the multi-Provider facilitator since 2026-11-22, it sends no payment: each Provider submits its payments to an x402 facilitator of its own (the earlier relay to a delegated x402 facilitator was removed) |
| facilitator, self-run | a facilitator you operate yourself from the same source: the operator holds the merchant and broadcaster keys, funds the broadcaster, and sees the merchant wallet’s whole activity |
| mined receipt | the re-validated receipt of the settle transaction that releases the body on the documented path |
| chain finality | a later, separate state of the chain; not the delivery milestone on the hosted testnet |
| order id and recovery | the identifiers in extensions.subetha.info; the wallet that paid recovers the result with the official SIWX extension, with no second payment |
| POS key | the key a Provider makes in its own wallet. In the hosted-testnet configuration it is the only key the facilitator holds for that Provider, and the Provider’s per-order addresses are derived from it; a self-run facilitator holds the merchant and broadcaster keys instead |
| SubEtha Router | a separate product with its own page; nothing on the v2 pages establishes privacy properties for Router purchases |
Where to go next
Section titled “Where to go next”- Providers: For Providers: adopt alongside x402, then Status and verification for the limits.
- Buyers: What buyers do.
- Evaluators: Status and verification and Who sees what.
- Everyone: the SubEtha v2 overview, and the landing page’s contact section for testnet access on request.
V1 (legacy). The earlier SubEtha V1 documentation (permit mode, scheme subetha-zerc20)
remains under the “V1 (legacy)” group in the sidebar; it describes the earlier path, not SubEtha
v2.
English-first documentation policy
Section titled “English-first documentation policy”English is the only published language for now. A Japanese version is planned and will be published after it has been checked against the same product sources.
Reviewed 2026-11-16 against the product repository at e972064; re-read on 2026-11-18 against 68e061b, which changes only the quickstart’s and the operations notes’ funding and probe text. Re-read on 2026-11-23 against ae97d42: the settlement text follows the relay removal and Provider-settled mode (product #29, #30). Evidence is the product
repository’s own records; this site made no payment for this page.