x402 Proxies: Pay USDC per GB, No Account

Pay for API Access with USDC on Base (x402)

How Proxies.sx verifies a Base USDC transfer as x402 payment proof: contract, chain ID, amount units, 15-minute window and a cast example from the quote.

By Proxies.sx Team. Reviewed .

To pay a Proxies.sx x402 quote on Base, send the quoted amount of native USDC on Base mainnet to the payTo address in the Base entry of the quote, wait for confirmation, and repeat the request with the transaction hash in Payment-Signature. The server reads the transaction from Base and checks the recipient, the USDC contract, the amount and the time since the payment. There is no signature, permit or facilitator in this flow: the transfer itself is the payment.

Read live x402 pool pricingNo key or payment needed.

In this guide

What the server checks on Base

Checks applied to a Base payment
CheckMust be
NetworkBase mainnet, chain eip155:8453
TokenUSDC, contract 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
RecipientThe payTo of the Base entry in your quote
AmountmaxAmountRequired from the quote
StatusConfirmed
TimeWithin 15 minutes of the payment's block
UseA hash that has not opened a purchase before

Amount units: six decimals

USDC has six decimals, and maxAmountRequired is written in those base units. "400000" is 0.40 USDC, "4000000" is 4 USDC and "90000000" is 90 USDC. A token transfer call takes the base-unit integer, so pass the quoted string unchanged. A wallet interface usually takes the decimal value instead.

Send the transfer

Any wallet or library that can call transfer(address,uint256) on the USDC contract can pay: viem, ethers, a hardware wallet or Foundry's cast. The wallet also needs a little ETH on Base for gas. The command below reads the asset, the recipient and the amount from quote.json, so nothing is typed by hand. Use a dedicated wallet that holds only what the purchase needs.

Q='.accepts[] | select(.network=="base")'
ASSET=$(jq -r "$Q | .asset" quote.json); PAY_TO=$(jq -r "$Q | .payTo" quote.json)
AMOUNT=$(jq -r "$Q | .maxAmountRequired" quote.json)
cast send "$ASSET" "transfer(address,uint256)" "$PAY_TO" "$AMOUNT" \
  --rpc-url https://mainnet.base.org --account <KEYSTORE_NAME>
# use the printed transactionHash as Payment-Signature

Use the transaction hash as Payment-Signature

Once the transfer is confirmed, repeat the request you were quoted for, with the hash as Payment-Signature and a random X-Claim-Secret. Present the hash within 15 minutes of the block that carries the payment; the quote says so in maxTimeoutSeconds: 900. A hash first presented inside that window stays valid for retries.

umask 077   # files written below are readable by you only
URL='https://api.proxies.sx/v1/x402/pool?tier=peer&country=us&traffic=1'
curl -s -o quote.json -w '%{http_code}\n' "$URL"      # 402
jq '.accepts[] | {network, maxAmountRequired, asset, payTo}' quote.json
# pay maxAmountRequired of asset to payTo, then within 15 minutes of the payment's block:
curl -s -o credential.json -w '%{http_code}\n' "$URL" \
  -H "Payment-Signature: <BASE_TX_HASH>" \
  -H "X-Claim-Secret: <RANDOM_16_TO_128_CHARS>"         # 200

Base errors and what they mean

Base verification errors
Error textMeaningNext step
Base transaction not found or not confirmed yet. If you sent it, do not pay again ... (HTTP 409)Base has not confirmed the hash yet, or the hash is wrongDo not pay again: retry the same request with the same hash in 15 seconds; if it stays unknown, check the hash
No USDC transfer to recipient ... foundThe transaction moved no USDC to the quoted payToCheck the token and recipient of the transfer
underpaid: need ... got ...Less USDC than the quoteContact support with the hash; do not resend the full amount
Transaction too old ...The payment is outside the 15-minute windowContact support with the hash
Transaction already redeemed ...The hash already opened a purchaseRecover the first response with the same claim secret
... payment verification is temporarily unavailable. Do not pay again ...We could not reach BaseRetry the same request with the same hash after the time given

The x402 errors guide covers recovery in detail.

Paying from an agent: MCP wallet mode is Base

The @proxies-sx/mcp-server package, version 3.2.0, has a wallet mode that pays on Base from a key you supply in AGENT_WALLET_KEY. It sends the transfer and the retry for the agent. See MCP wallet mode for setup and its limits.

Common questions

Do I need ETH as well as USDC?

Yes. A Base transaction pays gas in ETH, so keep a small ETH balance on Base in the paying wallet.

Can I pay with bridged USDC or another stablecoin?

No. The server looks for a transfer of the USDC contract named in the quote's asset field.

Does the server sign or settle anything for me?

No. You send the transfer yourself and give the server its hash. The server only reads the transaction.

Sources and test scope

Quotes, prices and response fields on these pages were read from the live API without payment on 30 November 2026, and the error texts come from the backend build running that day. The wallet account examples follow the source of that build, and their signing commands were checked offline against its verification code. Standards and third-party documentation were checked the same day. These pages do not establish current stock in a country.

Next steps

The x402 overview lists every endpoint. The wallet account recipe gives both purchase paths step by step: x402 direct, and signing in with the paying wallet. Agents can read the machine contracts directly: skill.md for the whole service, pool/skill.md for the Pool Gateway and marketplace/skill.md for the dedicated port. The MCP server gives Claude, Cursor and other clients the same tools, and the price list covers account purchases.

x402 guides: buy proxy access with USDC

Start from the x402 overview, or open the guide for the step you are on.