[Bug]: @x402/fetch drops extensions.bazaar — PayAI Bazaar never lists after a successful settle
Author: pynn6g48hn-byteCreated Sep 23, 2026Updated Sep 23, 2026
Labelsbug
What happened?
Repro against a live v2 resource.
Resource: GET https://getgofetch.dev/v1/fees/base-exact Network: eip155:8453 (Base), scheme exact, $0.005 USDC Facilitator: https://facilitator.payai.network
- Unpaid GET returns 402 with top-level extensions.bazaar (info.input.method GET, output json example).
- Stock @x402/fetch (wrapFetchWithPayment + ExactEvmScheme) settles HTTP 200. Funds move.
- Response has payment-response / x-payment-response only. No EXTENSION-RESPONSES.
- GET https://facilitator.payai.network/discovery/listing-status?resource=https://getgofetch.dev/v1/fees/base-exact → 404 "No catalog row or recent write outcome exists"
- GET .../discovery/resources?payTo=0x714F69Aef602c76543AdED914Ea4Eb23fE9F8527 → items []
Server declaration looks valid. Client appears not to echo extensions into PaymentPayload, so the facilitator never indexes.
Happy to paste a redacted 402 body if useful. Not asking for a product feature — only whether createPaymentPayload is supposed to copy extensions.bazaar.
Steps to reproduce
- GET https://getgofetch.dev/v1/fees/base-exact (no payment header). Confirm 402 JSON includes extensions.bazaar.
- Pay that URL with wrapFetchWithPayment + ExactEvmScheme on eip155:8453.
- Confirm HTTP 200 and a Base USDC transfer.
- Inspect response headers: payment-response present, EXTENSION-RESPONSES absent.
- GET https://facilitator.payai.network/discovery/listing-status?resource=https://getgofetch.dev/v1/fees/base-exact Expect 404.
Environment
Windows 10, Node 24, @x402/fetch + @x402/evm ExactEvmScheme Network eip155:8453 (Base mainnet) Facilitator https://facilitator.payai.network Resource https://getgofetch.dev/v1/fees/base-exact
Source: x402-foundation/x402