{"uid":"cap_bIZcmCIATIhGmf81jC6RE","slug":"x402receipts-receipt-recording-api-8b70e122","name":"x402receipts Receipt Recording API","description":"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.","url":"https://app.x402receipts.com/api/v1/receipts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nqnS1asRBfNc2TFiOQAq9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Records x402 micropayment purchases as verifiable receipts, reconciled against on-chain payments with cryptographic proofs, billed per-receipt via the calling wallet.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Autonomous agent payment audit trail","prompt":"Log a receipt for the x402 micropayment my agent just made — receipt ID agent-tx-9921, it was a POST to https://api.weather.io/forecast on eip155:8453, request hash 0xdeadbeef42, it was delivered successfully, and it happened at 2025-06-01T14:22:00Z."},{"title":"Batch reconcile agent spending session","prompt":"I need to record all 12 x402 receipts from my agent's session this morning — each has an ID, the network was eip155:1, resources are various API endpoints, all were GET requests, all delivered, with timestamps between 09:00 and 11:00 UTC today, and I have the request hashes for each."},{"title":"Seller-signed receipt anchoring","prompt":"Store a receipt for an x402 purchase where the seller signed an offer-receipt — receipt ID vendor-signed-001, resource https://api.databroker.io/prices, POST on eip155:8453, request hash 0xcafe5678, delivered true, occurred at 2025-06-10T08:00:00Z, and include the seller receipt object I received."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:31:19.547Z","isFirstParty":false,"canonicalSlug":"x402receipts-receipt-recording-api-8b70e122"}