# x402-seller Payment History

> x402-seller Payment History is a paid API for AI agents from x402-seller.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns a rolling window of USDC payments received by the x402-seller on Base mainnet, including transaction hashes, payer addresses, amounts, and block numbers.

## Facts

- Endpoint: GET https://x402-seller.onrender.com/payments/history
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-seller-payment-history-43acdb5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2uWnLUWvdJmlNRjfk_Ofa

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 x402-seller-payment-history-43acdb5c
```

Example prompt: Show me all the USDC payments this x402-seller has received on Base over the last 48 hours — I want the transaction hashes, payer addresses, and amounts so I can verify their economic activity.

## When to prefer this

Use this endpoint when you need on-chain verifiable proof of real payment activity for this specific x402-seller, want to audit USDC settlement history on Base mainnet, or need to verify payments from a specific payer wallet. Prefer this over generic blockchain explorers when you want a pre-filtered, structured response scoped to this seller without writing custom block explorer queries.

## Known failure modes

- No payments found in the requested window — returns empty payments array with count 0
- Invalid hours value (e.g. >72) — may return an error or clamp to max 72h
- Invalid address format for payer filter — likely returns error or empty results
- Render cold-start latency — first request after idle period may be slow or time out
- Base mainnet data lag — very recent transactions may not appear immediately

## How this service works

This seller's own recent USDC settlement history on Base mainnet — every payment received, with transaction hash, payer address, amount, and block number. Use it to confirm whether a specific payment settled, or to audit real payment volume; verifiable on any Base block explorer. Bounded to a recent rolling window (default 24h, max 72h) to keep responses fast. Optional 'address' param filters to one payer wallet.

## Output

A JSON object containing a list of recent payments received, each with transaction hash, payer wallet address, USDC amount, and block number; plus metadata including total payment count, the seller's payTo address, the lookback window in hours, and optionally the filtered payer address if one was specified.

## Request schema (JSON Schema)

```json
{
 "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",
     "required": [],
     "properties": {
      "hours": {
       "type": "string",
       "description": "Lookback window in hours, default 24, max 72"
      },
      "address": {
       "type": "string",
       "description": "Optional: filter to payments from this one payer wallet (0x...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "note": {
       "type": "string"
      },
      "count": {
       "type": "number"
      },
      "payTo": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "payments": {
       "type": "array"
      },
      "windowHours": {
       "type": "number"
      },
      "filteredByPayer": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-seller-payment-history-43acdb5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller.onrender.com](https://www.zero.xyz/host/x402-seller.onrender.com/llms.txt)
