# USDC Receipt Verifier (Polygon + Base)

> USDC Receipt Verifier (Polygon + Base) is a paid API for AI agents from kc-usdc-receipt.round-pond-9b91.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-30).

Verifies that a given Polygon or Base transaction hash actually transferred native USDC to a recipient, returning status, confirmations, transfer breakdown, total USDC, and a boolean paid check against an optional minimum amount.

## Facts

- Endpoint: GET https://kc-usdc-receipt.round-pond-9b91.workers.dev/v1/usdc-receipt?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usdc-receipt-verifier-polygon-base-e9e228e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JZXlBuAx5-8naVClM1kK4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability usdc-receipt-verifier-polygon-base-e9e228e6
```

Example prompt: Can you verify that transaction 0xabc123...def on Base actually paid at least 50 USDC to my wallet 0x742d35Cc6634C0532925a3b8D4C9b8e1A2bC3f9?

## When to prefer this

Use this endpoint when you need a deterministic, read-only confirmation that a specific on-chain transaction transferred USDC to a known address on Polygon or Base — especially for payment gating (release goods/services only after verified payment), audit trails, or automated invoice reconciliation. It is superior to general blockchain explorers because it natively parses USDC Transfer events, computes totals, and returns a clean paid=true/false boolean against a configurable minimum, removing the need for custom smart-contract log parsing.

## Known failure modes

- Transaction not found or still pending — status returns 'not_found_or_pending' and paid=false
- Transaction reverted on-chain — status returns 'reverted', totalUsdc=0, paid=false
- No USDC transfers matched the recipient filter — totalUsdc=0, paid=false even if tx succeeded
- Invalid or malformed transaction hash — API returns ok=false with error
- Unsupported chain specified — validation error on the chain enum
- Total USDC below the specified minimum — paid=false with actual totalUsdc shown

## How this service works

Verify that a Polygon or Base transaction really paid native USDC to an address: status, confirmations, every USDC Transfer to the recipient, total, and a paid=true/false check against a minimum. Deterministic, read-only, no AI.

## Output

Returns a JSON object with: ok (success flag), paid (boolean — true if total USDC received meets the optional minimum), status (success/reverted/not_found_or_pending), totalUsdc (sum of matching transfers), transfers (array of from/to/amountUsdc objects), confirmations (block confirmations), blockNumber, usdcContract address, chain, and the applied recipientFilter and minUsdc thresholds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "tx"
 ],
 "properties": {
  "to": {
   "type": "string",
   "description": "optional recipient address filter (0x-prefixed 20 bytes)"
  },
  "tx": {
   "type": "string",
   "description": "0x-prefixed 32-byte transaction hash"
  },
  "min": {
   "type": "string",
   "description": "optional minimum USDC amount for paid=true, e.g. 1.5"
  },
  "chain": {
   "enum": [
    "polygon",
    "base"
   ],
   "type": "string",
   "description": "polygon (default) or base"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ok": {
   "type": "boolean"
  },
  "tx": {
   "type": "string"
  },
  "paid": {
   "type": "boolean"
  },
  "chain": {
   "type": "string"
  },
  "status": {
   "enum": [
    "success",
    "reverted",
    "not_found_or_pending"
   ],
   "type": "string"
  },
  "minUsdc": {
   "type": [
    "number",
    "null"
   ]
  },
  "totalUsdc": {
   "type": "number"
  },
  "transfers": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "to": {
      "type": "string"
     },
     "from": {
      "type": "string"
     },
     "amountUsdc": {
      "type": "number"
     }
    }
   }
  },
  "blockNumber": {
   "type": "integer"
  },
  "usdcContract": {
   "type": "string"
  },
  "confirmations": {
   "type": "integer"
  },
  "recipientFilter": {
   "type": [
    "string",
    "null"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usdc-receipt-verifier-polygon-base-e9e228e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kc-usdc-receipt.round-pond-9b91.workers.dev](https://www.zero.xyz/host/kc-usdc-receipt.round-pond-9b91.workers.dev/llms.txt)
