{"uid":"cap_lbgPt--qylE3BCCXRGRbI","slug":"capi2-momentum-foundry-integrity-receipt-509a8b69","name":"CAPI2 Momentum Foundry – Integrity Receipt","description":"Paid agent utilities delivered after verified x402 settlement.","url":"https://capi2-foundry.vandurmedries.workers.dev/v1/products/integrity-receipt/run?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"JSON value to hash; at most 100000 serialized characters"}}},"responseSchema":{"type":"json","example":{"result":{},"createdAt":"2026-09-23T00:00:00.000Z","productId":"integrity-receipt","deliveryReceipt":{"payer":"0x0000000000000000000000000000000000000000","productId":"integrity-receipt","receiptId":"00000000-0000-4000-8000-000000000000","deliveredAt":"2026-09-23T00:00:00.000Z","inputSha256":"example-input-sha256","amountAtomic":"6000","resultSha256":"example-result-sha256","signatureSha256":"example-signature-sha256"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Lzgsy9NP77WK0tz0FF0p2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Hashes a JSON payload and returns a cryptographically signed delivery receipt proving what input was submitted, what result was produced, and that payment was settled via x402.","exampleAgentPrompt":"Hash this JSON object and give me a signed integrity receipt proving what I submitted and what came back: {\"orderId\": \"ORD-9921\", \"amount\": 250, \"currency\": \"USD\", \"status\": \"confirmed\"}.","exampleUseCases":[{"title":"Audit trail for AI agent output","prompt":"I need a tamper-evident receipt proving my agent produced this exact result — hash this JSON and give me back a signed delivery receipt: {\"agentId\": \"agent-42\", \"decision\": \"approve\", \"confidence\": 0.97, \"timestamp\": \"2025-06-01T12:00:00Z\"}."},{"title":"Data submission proof for compliance","prompt":"Generate an integrity receipt for this compliance record so I can prove to an auditor the exact data I submitted and when: {\"employeeId\": \"E-1042\", \"trainingCompleted\": true, \"completionDate\": \"2025-05-15\", \"courseId\": \"GDPR-101\"}."},{"title":"Linking payment to a specific dataset","prompt":"I'm sending this dataset to a paid API and need a cryptographic receipt tying my payment to the exact input I submitted — create an integrity receipt for: {\"datasetName\": \"sales_q1_2025\", \"rowCount\": 14203, \"checksum\": \"abc123def456\"}."}],"resultDescription":"Returns a JSON object containing: a `result` field (the computed output), a `createdAt` timestamp, the `productId`, and a `deliveryReceipt` object with the payer's wallet address, a unique `receiptId` (UUID v4), `deliveredAt` timestamp, `inputSha256` (hash of submitted data), `amountAtomic` (payment in atomic USDC units, e.g. 6000 = $0.006), `resultSha256` (hash of the result), and `signatureSha256` (hash of the combined receipt signature).","failureModes":["Payment not verified — x402 settlement must complete before the endpoint processes the request","Payload too large — input JSON exceeds 100,000 serialized characters, returning a validation error","Malformed JSON input — non-JSON or invalid `data` field causes a 400-level error","Network/worker timeout — Cloudflare Worker may time out under load","Duplicate or replayed payment — stale or reused payment headers may be rejected"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically verifiable, payment-linked receipt proving the exact JSON payload submitted and result returned — ideal for audit trails, compliance logging, agent accountability, or any workflow where you need tamper-evident proof that a specific input produced a specific output and that a micro-payment was made. Prefer alternatives if you only need a local hash (no payment or delivery proof required) or if your payload exceeds 100,000 characters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:35:46.557Z","isFirstParty":false,"canonicalSlug":"capi2-momentum-foundry-integrity-receipt-509a8b69"}