{"uid":"cap_NXG6_T_hiUeVSTpJBeJ7h","slug":"avasis-x402-payment-verify-base-usdc-737f0b03","name":"Avasis x402 Payment Verify (Base USDC)","description":"x402 payment verify on Base (chain 8453, $0.02): tx hash (your PAYMENT-RESPONSE transaction) or from + nonce of the EIP-3009 authorization you signed -> settled yes/no from the chain (AuthorizationUsed + adjacent USDC Transfer): payer, payTo, amount, block, confirmations, safe/finalized, relayer label, fee, matches vs your expected payTo/amount. Phrases: x402 payment verify, did my payment settle, verify usdc payment, settlement proof. GET or POST. Not found -> 404, never charged.","url":"https://agents.avasis.ai/v1/base/payment-verify?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"tx":{"type":"string","description":"the settle transaction hash (0x + 64 hex): the `transaction` of your x402 PAYMENT-RESPONSE / settle receipt. Or pass from + nonce instead"},"from":{"type":"string","description":"with nonce: the payer address of the EIP-3009 authorization you signed (payload.authorization.from)"},"wait":{"type":"integer","maximum":25,"minimum":0,"description":"seconds to keep looking for the settle before answering (default 5, max 25; 0 = one read). Unknown after that -> 404, not charged"},"asset":{"type":"string","description":"optional token contract (0x + 40 hex; default USDC on Base)"},"nonce":{"type":"string","description":"with from: the 32-byte authorization nonce (payload.authorization.nonce, 0x + 64 hex)"},"payTo":{"type":"string","description":"optional expected recipient (the 402's accepts[].payTo): sets matches.payTo"},"amount":{"type":"string","description":"optional expected amount in atomic units (USDC: 20000 = $0.02, the accepts[].amount you paid) or a decimal with a dot (0.02): sets matches.amount"},"network":{"type":"string","description":"optional; must be base / eip155:8453 (x402 USDC settles on Base)"},"lookback":{"type":"integer","maximum":150000,"minimum":1000,"description":"for from + nonce: blocks to search back (default 50000, about 28 h on Base; max 150000)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","network","found","settled","verdict","headline","matches","waited_ms","polls"],"properties":{"tx":{"type":"object"},"kind":{"type":"string"},"rail":{"type":"string"},"asset":{"type":"object"},"block":{"type":["object","null"]},"chain":{"type":"string"},"found":{"type":"boolean"},"mined":{"type":"boolean"},"polls":{"type":"integer"},"advice":{"type":"string"},"lookup":{"type":"string"},"method":{"type":"object"},"matches":{"type":"object"},"network":{"type":"string"},"payment":{"type":["object","null"]},"settled":{"type":"boolean"},"tx_hash":{"type":["string","null"]},"verdict":{"type":"string"},"chain_id":{"type":"integer"},"expected":{"type":"object"},"finality":{"type":"object"},"headline":{"type":"string"},"searched":{"type":"object"},"submitter":{"type":"object"},"transfers":{"type":"array"},"waited_ms":{"type":"integer"},"latest_block":{"type":["integer","null"]},"confirmations":{"type":["integer","null"]},"also_available":{"type":"object"},"authorizations":{"type":"integer"},"transfers_total":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"tx":{"to":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","nonce":1689614,"status":"success","eth_usd":2265.28,"fee_eth":"0.00000086555958535","fee_usd":0.001961,"gas_used":86474,"to_known":"USDC (Circle)","l1_fee_eth":"0.00000000081958535"},"kind":"payment-verify","note":"On-chain facts only (the same rule our own settle reconciler uses): AuthorizationUsed(authorizer, nonce) + its adjacent Transfer = that authorization's payment. A seller's receipt, status page or PAYMENT-RESPONSE is a claim; this is the chain.","rail":"x402-payment-verify-1","asset":{"known":"USDC (Circle)","symbol":"USDC","address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"},"block":{"hash":"0x1805f413f0d4032c819c6b0e5b8b8f485b0524faf2276a4199fb89309d0d1441","age_s":14133,"number":53352110,"timestamp":1793493567},"chain":"base","found":true,"mined":true,"polls":1,"reads":{"rpc":"fixture","calls":8},"advice":"final: book it","lookup":"tx","method":{"name":"transferWithAuthorization","selector":"0xe3ee160e"},"matches":{"all":true,"asset":null,"payTo":true,"amount":true,"authorization":null},"network":"eip155:8453","payment":{"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","basis":"the EIP-3009 (AuthorizationUsed + adjacent Transfer) Transfer to payTo","nonce":"0x7a7f161978b5f38c40a4d50fd28021cf0b9d0c10c2c50368059d0340d2b663a6","payer":"0x8ec901f7e2710163387d70950f680f1ea2269d15","amount":"0.002","pay_to":"0x6264191d6dd5427435b5e829077842e130ef1fc8","symbol":"USDC","eip3009":true,"decimals":6,"log_index":55,"amount_raw":"2000"},"settled":true,"tx_hash":"0x058bc61d196b9d6ea4cc15315711ef075a0c7e9a3224c19e3deb44eaa4f568ec","verdict":"SETTLED","chain_id":8453,"expected":{"from":null,"asset":null,"nonce":null,"payTo":"0x6264191d6dd5427435b5e829077842e130ef1fc8","amount":"0.002","amount_raw":"2000"},"finality":{"note":"Base: safe = the block is in a batch posted to Ethereum; finalized = that Ethereum block is finalized (~15-25 min). Undoing a safe block would need an Ethereum reorg.","safe":true,"finalized":true,"safe_head":53358056,"confirmations":5991,"finalized_head":53357536},"headline":"SETTLED on Base: 0.002 USDC from 0x8ec9…9d15 to 0x6264…1fc8, block 53352110 (4 h ago), 5991 confirmations, finalized, relayed by a third-party wallet (gasless EIP-3009)","submitter":{"note":"a third party paid the gas: the payer only signed an EIP-3009 authorization (x402 facilitators settle from rotating hot wallets)","basis":null,"known":null,"address":"0x625d8a65134079f8faaac39a7947c73d93c6ac39","relayed":true,"tx_count":1690137},"transfers":[{"to":"0x6264191d6dd5427435b5e829077842e130ef1fc8","from":"0x8ec901f7e2710163387d70950f680f1ea2269d15","nonce":"0x7a7f161978b5f38c40a4d50fd28021cf0b9d0c10c2c50368059d0340d2b663a6","amount":"0.002","eip3009":true,"payment":true,"log_index":55,"amount_raw":"2000"}],"waited_ms":0,"latest_block":53358100,"confirmations":5991,"authorizations":1,"transfers_total":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eYfM9Qk7SdgryQMd9YsSv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies whether an x402 USDC payment on Base (chain 8453) has settled on-chain, returning payer, payTo, amount, block, confirmations, and finality status.","exampleAgentPrompt":"Can you verify whether my x402 USDC payment on Base actually settled? The transaction hash is 0x058bc61d196b9d6ea4cc15315711ef075a0c7e9a3224c19e3deb44eaa4f568ec — I expected it to go to 0x6264191d6dd5427435b5e829077842e130ef1fc8 for $0.02.","exampleUseCases":[{"title":"Confirm x402 payment receipt after checkout","prompt":"I just paid for an API call using x402 on Base — the transaction hash is 0xabc123... Can you confirm the payment actually settled and went to the right address for the right amount?"},{"title":"Verify payment by payer address and nonce","prompt":"I don't have the tx hash, but I signed an EIP-3009 authorization from 0x8ec901f7e2710163387d70950f680f1ea2269d15 with nonce 0x7a7f161978b5f38c40a4d50fd28021cf0b9d0c10c2c50368059d0340d2b663a6 — can you check if that USDC payment settled on Base?"},{"title":"Automated settlement reconciliation in agent workflow","prompt":"After processing this x402 payment, wait up to 20 seconds and confirm it settled on Base — expected recipient is 0x6264191d6dd5427435b5e829077842e130ef1fc8 and amount is 20000 atomic units of USDC."}],"resultDescription":"Returns a JSON object with: settled boolean, verdict string (e.g. SETTLED), payer and payTo addresses, amount in decimal and raw units, block number and age, finality status (safe/finalized), gas fee in ETH and USD, matches object indicating whether payTo and amount matched expectations, plus contextual advice and chain metadata.","failureModes":["Transaction hash not found on Base within wait window → 404, not charged","Invalid tx hash format → 400 bad request","from + nonce combination not found within lookback blocks → 404, not charged","Network param set to non-Base chain → validation error","wait exceeds 25 seconds → capped at max, may still return 404 if unsettled","Malformed address or nonce hex → input validation error"],"whenToPreferThis":"Use this endpoint when you need authoritative on-chain proof that an x402 USDC payment settled on Base (chain 8453), especially after receiving a PAYMENT-RESPONSE and wanting to verify it independently. Prefer this over trusting a seller's receipt or status page — it reads directly from chain events (AuthorizationUsed + adjacent USDC Transfer). Ideal for agentic payment flows that require settlement confirmation before delivering goods or services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:41:03.842Z","isFirstParty":false,"canonicalSlug":"avasis-x402-payment-verify-base-usdc-737f0b03"}