# USDC Receipt Lookup

> USDC Receipt Lookup is a paid API for AI agents from x402-gateway-production-1f21.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Fetches and returns a receipt for a USDC payment transaction given its on-chain transaction hash.

## Facts

- Endpoint: POST https://x402-gateway-production-1f21.up.railway.app/commerce/usdc-receipt?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usdc-receipt-lookup-fb48ee6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uv-O-9UdW7WX-za3V2xZL

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-lookup-fb48ee6b -d '<json body>'
```

Example prompt: Can you pull up the USDC receipt for transaction hash 0x3a1b2c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b?

## When to prefer this

Use this endpoint when you need to programmatically verify or retrieve a receipt for a specific USDC on-chain payment identified by its transaction hash. Prefer this over manual blockchain explorers when automating payment confirmation flows in agent pipelines.

## Known failure modes

- Invalid tx_hash format (must be 0x followed by 64 hex characters) returns a validation error
- Transaction hash not found on-chain returns an error or empty result
- Network/gateway downtime returns a 5xx error
- Transaction is still pending and not yet finalized may return a non-ready status

## How this service works

Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.

## Output

Returns a JSON object with a status field (e.g. 'ready') and potentially a full receipt or confirmation details for the given USDC transaction hash, indicating whether the payment is confirmed on-chain.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "tx_hash"
     ],
     "properties": {
      "tx_hash": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{64}$"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ready"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usdc-receipt-lookup-fb48ee6b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production-1f21.up.railway.app](https://www.zero.xyz/host/x402-gateway-production-1f21.up.railway.app/llms.txt)
