What PayAPI's test payment sends (canary payer spec)
Listing on PayAPI is free, and PayAPI takes 0% of each job. Before a listing gets the Verified badge, PayAPI makes one small real payment to your paid route (our "test payment", internally the canary). This page says exactly what that payment looks like, so your server accepts it first time.
Last updated: 27 November 2026
1. The short version (Base)
Base test payment
PAYMENT-REQUIRED header is a valid v2 challenge, we pay the v2 header. v1-only servers are paid as v1.PAYMENT-SIGNATURE. v1: X-PAYMENT. The value is base64 JSON of the x402 PaymentPayload, built by the official x402 SDK. We send one header, never both.accepts[] first. If the body has no accepts[], the base64 PAYMENT-REQUIRED header (also X-PAYMENT-REQUIRED).exact only (EIP-3009 transferWithAuthorization). Not upto, not batch-settlement.eip155:8453 (Base mainnet). Legacy v1 name base is also read. Testnets are never paid.0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. extra.name must be USD Coin and extra.version 2.amount (v2) or maxAmountRequired (v1), as an integer in USDC base units (6 decimals). 10000 = $0.01.extensions object from your 402 back in our payload.PAYMENT-RESPONSE (v1: X-PAYMENT-RESPONSE) header with the transaction hash. We also confirm the USDC transfer on Base ourselves.2. Other chains
Your listing still needs a Base accept. Other rails are read in addition to Base, not instead of it.
Other chains
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp (v1 aliases solana, solana-mainnet, solana-mainnet-beta are read)EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vexact only. extra.feePayer is required (your facilitator pays the fee). Same header rule: v2 PAYMENT-SIGNATURE, v1 X-PAYMENT. Devnet is never paid.algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k (the full-hash form algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8= is also read). The short algorand is not a valid x402 network.31566704exact only, header PAYMENT-SIGNATURE. extra.feePayer is optional.eip155:137, eip155:5042, eip155:43114, eip155:1329sui:mainnet3. A 402 our payer can pay first time (Base, v2)
{
"x402Version": 2,
"resource": { "url": "https://api.example.com/v1/quote?symbol=ETH", "mimeType": "application/json" },
"accepts": [{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"payTo": "<the Base wallet on your PayAPI listing>",
"maxTimeoutSeconds": 300,
"extra": { "name": "USD Coin", "version": "2" }
}]
}
Then your server must: read PAYMENT-SIGNATURE, verify and settle through your facilitator, and return HTTP 200 with the product and a PAYMENT-RESPONSE header.
4. Price above $0.10
PayAPI does not pay a test above $0.10 from its own balance. To get a route above $0.10 tested, send the test price plus 20% for gas, in USDC on Base, to the PayAPI canary wallet 0x171d8021b98c53DCbB3c9C30CBbBeb1b01850fCA. Any sender is fine. We match the deposit, then run one paid test from it. A deposit does not guarantee a listing; the test still has to pass review.
5. Why test payments were refused (21 to 27 Nov 2026) and how to fix each
205 listings refused our signed payment in the week to 27 Nov. In almost every case our payment matched the listing's own 402. The refusal came after the header arrived:
- Your server cannot verify any payment (105 listings). Error:
payment verification failed: no payment-token verification key. Your verifier or facilitator credentials are not configured in production. Fix: set the verification key or facilitator config, then test one paid call yourself. - Server error after the payment header (36). HTTP 500, 502, 503 or a timeout. Check the paid path runs when a valid header is present, not only the unpaid branch.
- Wrong inputs or a path template (18). The listed URL still has
{placeholders}or needs a body or query values. List a concrete, working example URL (and method and body for POST). - Your server rejected the payload as not matching its own requirements (12). For example
invalid_payment_requirements,extension_echo_mismatch, "payment is not bound to this resource",address_not_registered. Makeresource.urlin your 402 the exact URL being called, keep extensions stable between the 402 and the paid call, and accept any funded buyer wallet (no allowlist). - 402 again with no reason (12). Your server ignored or failed to decode our header. For v2, read
PAYMENT-SIGNATURE. Log the verify result. - Payment backend temporarily down (12). For example "settlement pricing unavailable", "spending-cap store unreachable", 429. Fix the dependency; we retry no sooner than the next day.
- Header name mismatch (4). Your 402 says
x402Version: 2but your server only readsX-PAYMENT. Either readPAYMENT-SIGNATURE(v2) or advertise v1 consistently. - Your facilitator refused to settle (4). For example
PAYEE_NOT_SERVED_HERE, or a facilitator account with no payment method. Use a facilitator that serves your payTo on Base mainnet. - Extra headers required (2). Idempotency-Key or API auth on top of x402. A listed route must be payable with the x402 header alone.
6. Checklist before you submit
- Unpaid call to the listed URL returns HTTP 402 with
accepts[]in the body or aPAYMENT-REQUIREDheader. x402Versionmatches the header you read: v2 readsPAYMENT-SIGNATURE, v1 readsX-PAYMENT.- One accept is
exactoneip155:8453with Circle USDC0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913,extra.nameUSD Coin,extra.version2. payTois exactly the wallet on your PayAPI listing.- Price is $0.10 or less, or you have sent the prefund in section 4.
- The listed URL is concrete (no
{placeholders}) and works with the example inputs on your listing. resource.urlin the 402 is the URL being called.- Your facilitator settles Base mainnet for your payTo, and its credentials are set in production.
- No buyer allowlist, API key, or Idempotency-Key is required on top of x402.
- A valid paid call returns HTTP 200 with the real product and a
PAYMENT-RESPONSEheader.
Frequently asked questions
Which header does the test payment send?
v2: PAYMENT-SIGNATURE. v1: X-PAYMENT. The value is base64 JSON of the x402 PaymentPayload, built by the official x402 SDK. We send one header, never both.
What if payTo does not match the wallet on the listing?
payTo must equal the wallet on your listing exactly. If it does not, we do not pay. This check is never relaxed.
What is the price cap for a test from PayAPI's balance?
$0.10 per call. Routes priced above $0.10 are not tested from PayAPI's balance. To get a route above $0.10 tested, send the test price plus 20% for gas, in USDC on Base, to the PayAPI canary wallet 0x171d8021b98c53DCbB3c9C30CBbBeb1b01850fCA. Any sender is fine. We match the deposit, then run one paid test from it. A deposit does not guarantee a listing; the test still has to pass review.
What counts as a successful test payment?
HTTP 200 with your real product, plus a PAYMENT-RESPONSE (v1: X-PAYMENT-RESPONSE) header with the transaction hash. We also confirm the USDC transfer on Base ourselves.
Related: marketplace · for agents · FAQ · how we verify
What PayAPI's test payment sends: x402 headers, Circle USDC on Base, the payTo check, and the $0.10 cap.