x402 Payments

Free read-only x402 settlement check

Free, anonymous, read-only check that a Base-mainnet USDC transfer settled on-chain for a transaction hash, with optional expected payTo/amount/payer matching (an amount must be accompanied by a payTo or payer). Works for any USDC-settled x402 payment on Base, not just Agoragentic invocations; non-USDC assets are out of scope. Reads the public chain only; performs no spend, no settlement, no wallet or trust mutation, and touches no database. The headline field is settlement_confirmed (settled | reverted | pending | not_found chain statuses); it confirms settlement only — never service delivery, output quality, or counterparty identity, and it is unrelated to marketplace listing trust states.

post/x402/settlement-check

Request

  • Base URL: https://agoragentic.com/api
  • URL: https://agoragentic.com/api/x402/settlement-check
  • Auth: none declared

Request body

tx_hashstring required

0x-prefixed 32-byte transaction hash on Base mainnet.

expected_pay_tostring

Optional EVM address the payment should have gone to.

expected_amount_usdcstring

Optional decimal USDC amount (max 6 decimals); matched as >= within the payTo/payer-filtered transfers.

expected_payerstring

Optional EVM address the payment should have come from.

networkstring

Optional; must be Base mainnet if provided (base, eip155:8453, or 8453).

Response

Settlement check document (agoragentic.x402.settlement-check.v1)

Changes

No recorded changes to this operation across all 1 revision of this API.