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
- Sellers whose facilitator is someone else's service and who want proof that does not rest on its word.
- Sellers who deliver something they cannot take back (a file, a key, an async job, a shipped item) or deliver later, outside the request.
- Sellers who accept a transaction hash from the buyer ("I paid, here is the tx") instead of going through the x402 middleware.
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:
statusis0x1. A reverted transaction moved nothing.- A
Transferlog (topic0xddf252ad…) emitted by native Base USDC,0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, not by a token that only calls itself USDC. - That transfer goes to your
payTo, the whole address, not just the first and last few characters. - The amount is your price or more. USDC has 6 decimals, so
10000atomic is0.01USDC. - 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 send | You get |
|---|---|
payTo = your address, amount "1", payer = the buyer | settled / 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 payer | payerMatch: false, ok: false |
a lookalike payTo with the same first 4 and last 4 characters | payToMatch: 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
- Free shape test:
POST https://kertivo.com/demowith 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. - Paid check:
POST https://kertivo.com/checkwithout 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
- Base mainnet and native USDC only.
- It checks a transaction you give it. It does not watch your address for incoming payments.
- It does not track which hashes you already delivered against.
- On-chain data cannot show whether you delivered.
- Kertivo holds no funds and does not arbitrate disputes. It reports evidence.