# Unsupported network only: `/t/wrong-network`

> The only payment option is on a network no wallet supports. A free public x402 test endpoint: Report that no supported payment option exists. Do not sign a payment.

|  |  |
| --- | --- |
| Endpoint | `GET https://x402testendpoint.com/t/wrong-network` |
| Kind | trap: a correct buyer does not pay |
| Payment scheme | `exact` |
| Quoted price | $0.001 in test USDC |
| Networks | Base Sepolia (testnet) (default), Solana Devnet (testnet) |
| Cost to you | Nothing. Test USDC has no value. |

## What the seller does

The only payment option is on a network no wallet supports.

## What a correct buyer does

Report that no supported payment option exists. Do not sign a payment.

## Why test this

Clients meet sellers on networks they do not support. The right outcome is a clear "cannot pay here", not a crash or a payment attempt on the wrong chain.

## Run it

See the quote without paying:

```bash
curl -i https://x402testendpoint.com/t/wrong-network
```

Then point your own client at it, or use the official one:

```ts
import { x402Client, x402HTTPClient } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.BUYER_KEY);
const core = new x402Client().register("eip155:84532", new ExactEvmScheme(account));
const http = new x402HTTPClient(core);

const first = await fetch("https://x402testendpoint.com/t/wrong-network");
const quote = http.getPaymentRequiredResponse((h) => first.headers.get(h));
const headers = http.encodePaymentSignatureHeader(await core.createPaymentPayload(quote));
const paid = await fetch(first.url, { headers });
console.log(paid.status, paid.headers.get("x-test-verdict"));
```

The wallet needs test USDC on Base Sepolia (testnet) for scenarios that settle. Circle's faucet at https://faucet.circle.com provides it.

## Other networks

Add a `network` parameter to run the same scenario elsewhere:

| Network | URL | Notes |
| --- | --- | --- |
| Solana Devnet (testnet) | `https://x402testendpoint.com/t/wrong-network?network=solana-devnet` | Test USDC on Solana Devnet. Register `ExactSvmScheme` from `@x402/svm/exact/client`. |

Traps run on test networks only. A signed mainnet payment is spendable by whoever holds it until it expires, so this site does not invite one for a seller built to misbehave.

## What you will see

This is a trap: there is no successful payment. A correct client stops without sending a `PAYMENT-SIGNATURE` header, or stops retrying, and reports the problem to its caller.

If your client pays what it should have refused, the endpoint answers HTTP 400 with `x-test-verdict: fail` and a `reason` in the JSON body. The payment is not verified, settled, stored or logged, so no funds move.

## How the official client behaves

`@x402/core` 2.31 with default settings: Throws "No network/scheme registered" and lists what the seller offered against what it supports.

## Related errors

- [`No network/scheme registered for x402 version: 2 which comply with the payment requirements`](https://x402testendpoint.com/errors/no-network-scheme-registered): The client has no wallet scheme registered for any option the seller offers.
- [`invalid_exact_evm_network_mismatch`](https://x402testendpoint.com/errors/invalid_exact_evm_network_mismatch): The payment was made for a different network than the one quoted, or for one the facilitator does not know.

## Other scenarios

- [Standard payment](https://x402testendpoint.com/scenarios/ok) (pay)
- [Pick the supported option](https://x402testendpoint.com/scenarios/choose) (pay)
- [Slow seller](https://x402testendpoint.com/scenarios/slow) (pay)
- [Pay up to a maximum](https://x402testendpoint.com/scenarios/upto) (pay)
- [Absurd price](https://x402testendpoint.com/scenarios/overpriced) (trap)
- [Price changes after you pay](https://x402testendpoint.com/scenarios/price-bump) (trap)
- [Unreadable quote](https://x402testendpoint.com/scenarios/malformed) (trap)
- [Quote without a recipient](https://x402testendpoint.com/scenarios/missing-fields) (trap)
- [Seller never delivers](https://x402testendpoint.com/scenarios/always-402) (trap)

Source: https://x402testendpoint.com/scenarios/wrong-network
