# Pick the supported option: `/t/choose`

> Two payment options; the first is on a network no wallet supports. A free public x402 test endpoint: Skip the unsupported first option, pay the second, and receive 200.

|  |  |
| --- | --- |
| Endpoint | `GET https://x402testendpoint.com/t/choose` |
| Kind | pay: a correct buyer completes the payment |
| Payment scheme | `exact` |
| Quoted price | $0.001 in test USDC |
| Networks | Base Sepolia (testnet) (default), Solana Devnet (testnet), Base, Solana |
| Cost to you | Nothing on the test networks. On Base and Solana mainnet it charges the quoted amount in real USDC. |

## What the seller does

Two payment options; the first is on a network no wallet supports.

## What a correct buyer does

Skip the unsupported first option, pay the second, and receive 200.

## Why test this

Sellers often list several networks. A client that always takes the first option fails as soon as a seller lists a network it has no wallet for.

## Run it

See the quote without paying:

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

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/choose");
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/choose?network=solana-devnet` | Test USDC on Solana Devnet. Register `ExactSvmScheme` from `@x402/svm/exact/client`. |
| Base | `https://x402testendpoint.com/t/choose?network=base` | Real USDC, charged for real. Answers 400 with `network_not_enabled` while real-money mode is off. |
| Solana | `https://x402testendpoint.com/t/choose?network=solana` | Real USDC, charged for real. Answers 400 with `network_not_enabled` while real-money mode is off. |

## What you will see

A correct client ends with HTTP 200, a `PAYMENT-RESPONSE` header carrying the settlement, and `x-test-verdict: pass`. The JSON body repeats the transaction hash and payer.

If the payment is rejected, the endpoint answers 402 again with the facilitator's reason in the quote's `error` field. Look the reason up in the [error reference](https://x402testendpoint.com/errors).

## How the official client behaves

`@x402/core` 2.31 with default settings: Skips the unsupported option and pays the Base Sepolia one.

## 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.

## Other scenarios

- [Standard payment](https://x402testendpoint.com/scenarios/ok) (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)
- [Unsupported network only](https://x402testendpoint.com/scenarios/wrong-network) (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/choose
