#3557·x402

[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

  1. Unpaid GET returns 402 with top-level extensions.bazaar (info.input.method GET, output json example).
  2. Stock @x402/fetch (wrapFetchWithPayment + ExactEvmScheme) settles HTTP 200. Funds move.
  3. Response has payment-response / x-payment-response only. No EXTENSION-RESPONSES.
  4. 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"
  5. 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

  1. GET https://getgofetch.dev/v1/fees/base-exact (no payment header). Confirm 402 JSON includes extensions.bazaar.
  2. Pay that URL with wrapFetchWithPayment + ExactEvmScheme on eip155:8453.
  3. Confirm HTTP 200 and a Base USDC transfer.
  4. Inspect response headers: payment-response present, EXTENSION-RESPONSES absent.
  5. 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