I sell over x402. How do I confirm a payment settled, for the right amount, before I deliver?

Take the transaction hash your facilitator returns and check its receipt on Base: it must have succeeded and contain a real USDC Transfer to your payTo for at least your price. Kertivo Check does all of that in one $0.01 call: deliver only when it answers settled with match.ok set to true.

Who this is for

What the standard middleware already does

If you use the reference x402 server middleware, your handler runs first, then the middleware asks the facilitator to settle. If settlement fails, the buyer gets the error instead of your response; if it succeeds, the response goes out with a PAYMENT-RESPONSE header. The reference facilitator waits for the transaction receipt and reports success only when it succeeded on-chain.

So with a facilitator you trust and an instant response, you may not need anything more. The settle result gives you {success, transaction, network, payer}, and transaction is the hash to check when you want an independent look. The server also has an onAfterSettle hook if you want to run a check or write a log right after settlement.

How to check (evidence)

What to look for in the receipt:

  1. status is 0x1. A reverted transaction moved nothing.
  2. A Transfer log (topic 0xddf252ad…) emitted by native Base USDC, 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, not by a token that only calls itself USDC.
  3. That transfer goes to your payTo, the whole address, not just the first and last few characters.
  4. The amount is your price or more. USDC has 6 decimals, so 10000 atomic is 0.01 USDC.
  5. If you know which wallet should pay, the transfer comes from it.

Kertivo Check does all five and adds warnings. Real example on its free demo transaction (0xc37cbdfa…43c1, 1 USDC from 0xfc1e…279a to 0x509e…9ede at Base block 52409752), read on 2026-11-24:

You sendYou get
payTo = your address, amount "1", payer = the buyersettled / confirmed_onchain, payToMatch, amountMatch, payerMatch all true, ok: true
amount "1000000" (atomic units from your 402)amountMatch: false plus warning amount_looks_atomic. Check reads decimal USDC.
min_amount "0.5"minAmountMatch: true. Use this when "at least my price" is enough.
a different payerpayerMatch: false, ok: false
a lookalike payTo with the same first 4 and last 4 characterspayToMatch: false plus warning lookalike_address
chain: "ethereum"HTTP 400, not charged

Other warnings you may see: fake_token (a token named like USDC that is not Base USDC), bridged_usdbc (old bridged USDbC, not native USDC), zero_value_transfer, tx_reverted and no_usdc_transfer. settlement.reason is confirmed_onchain once the transaction has at least one confirmation, and pending_confirmation before that.

Field names are flexible: to, recipient, payTo, pay_to or payee for your address; amount for an exact price; min_amount or min for a floor; payer or from for the buyer's wallet.

Try it

  1. Free shape test: POST https://kertivo.com/demo with the body you plan to send. It reads your fields exactly like paid Check, but always answers about its fixed demo transaction, so use it to test your mapping, not your payment.
  2. Paid check: POST https://kertivo.com/check without payment returns the 402; an x402 client pays $0.01 and retries. You are only charged when Check answers with HTTP 200. Copy-paste client code is at /examples.
curl -s -X POST https://kertivo.com/check \
  -H 'content-type: application/json' \
  -d '{"txHash":"0xTheSettleTransaction","expectedPayTo":"0xYourPayTo","min_amount":"0.01","payer":"0xBuyerWallet"}'
# unpaid: 402 with the exact payment requirements; an x402 client pays and retries

Deliver when settlement.verdict is settled and match.ok is true. Anything else, hold the delivery and log the full answer.

FAQ

Is a $0.01 check worth it on a $0.001 sale?
No. On small prices, read the receipt yourself for free (eth_getTransactionReceipt on any Base RPC) and run the five checks above, or check a sample of payments. Paid Check makes sense for bigger sales, for disputes, and when you want a signed receipt of the check.

A buyer sent me a transaction hash. Can they reuse it for a second order?
Kertivo Check cannot stop that. It tells you whether the transaction paid you, not whether you already redeemed it. Keep your own list of hashes you have delivered against, and refuse repeats.

Does settled mean the buyer got what they paid for?
No. On-chain data shows the money moved; it cannot show what you delivered. If a buyer later files a claim, the same transaction hash is the evidence on both sides (Guide #6).

I sell on Arc, Solana or another chain. Does this work?
Not with Kertivo. Check verifies native USDC on Base mainnet only, and any other chain gets a 400 without a charge. The five receipt checks above still apply on any EVM chain with that chain's USDC contract.

My payTo changes per buyer. What do I pass?
Pass the exact payTo you quoted in that buyer's 402, and keep a record of which address went to which order.

Limits