# x402receipts Receipt Recording API

> x402receipts Receipt Recording API is a paid API for AI agents from app.x402receipts.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Records x402 micropayment purchases as verifiable receipts, reconciled against on-chain payments with cryptographic proofs, billed per-receipt via the calling wallet.

## Facts

- Endpoint: POST https://app.x402receipts.com/api/v1/receipts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402receipts-receipt-recording-api-8b70e122
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bIZcmCIATIhGmf81jC6RE

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 x402receipts-receipt-recording-api-8b70e122 -d '<json body>'
```

Example prompt: Record a receipt for the x402 API call I just made: the resource was https://api.example.com/data, it was a GET on Ethereum mainnet (eip155:1), the request hash is 0xabc123, delivery was successful, and it happened at 2025-01-15T10:30:00Z with receipt ID receipt-001.

## When to prefer this

Choose this endpoint when you need a purpose-built, pay-per-use receipt store for x402 protocol payments — especially for autonomous agents that need financial accountability, audit trails, or cryptographic proof of API purchases. Prefer it over generic logging or blockchain storage when you want receipts reconciled against actual on-chain payments and anchored with verifiable proofs without managing your own infrastructure.

## Known failure modes

- Missing required fields (id, occurredAt, network, resource, method, requestHash, delivered) returns 400 validation error
- Invalid CAIP-2 network identifier causes rejection
- Batch exceeds 500 receipts limit returns 400
- Payment not processed or USDC balance insufficient causes 402 on the meta-call itself
- Duplicate receipt IDs may cause conflicts or idempotency issues
- Invalid date-time format for occurredAt returns schema validation error

## How this service works

Accounting, reconciliation and audit trail for autonomous agent spending. Every x402 purchase becomes a receipt matched against the on-chain USDC payment (Base, Solana); unmatched payments are flagged; finance gets a monthly statement, CSV export and a verification page per receipt. USD 0.01 per wallet per day it records, at most USD 0.31 a month; no API key.

## Output

A confirmation that the receipt batch has been stored and reconciled against on-chain payment data, with verifiable proof anchors assigned to each receipt record. The response confirms delivery status, reconciliation outcome, and any proof references for audit purposes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "receipts": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "occurredAt",
     "network",
     "resource",
     "method",
     "requestHash",
     "delivered"
    ],
    "properties": {
     "id": {
      "type": "string"
     },
     "asset": {
      "type": "string"
     },
     "payee": {
      "type": "string"
     },
     "payer": {
      "type": "string"
     },
     "txRef": {
      "type": "string"
     },
     "method": {
      "type": "string"
     },
     "network": {
      "type": "string",
      "description": "CAIP-2"
     },
     "resource": {
      "type": "string"
     },
     "delivered": {
      "type": "boolean"
     },
     "occurredAt": {
      "type": "string",
      "format": "date-time"
     },
     "requestHash": {
      "type": "string"
     },
     "amountAtomic": {
      "type": "string"
     },
     "responseHash": {
      "type": "string"
     },
     "sellerReceipt": {
      "type": "object",
      "description": "x402 offer-receipt signed by the seller, if any"
     },
     "responseStatus": {
      "type": "integer"
     }
    }
   },
   "maxItems": 500,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402receipts-receipt-recording-api-8b70e122/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from app.x402receipts.com](https://www.zero.xyz/host/app.x402receipts.com/llms.txt)
