{"uid":"cap_0ch4dcrbgVZ-xxNCASDBz","slug":"datoka-api-receipt-issuer-60e7e6cf","name":"Datoka API Receipt Issuer","description":"Datoka API: a portable signed commitment to a client-declared API exchange for response handoffs, archived decision inputs and change investigations. 0.002 USDC per receipt; offline verification is free. Keep original bytes locally. Does not prove provider origin or content truth. Retry with the same event, idempotency key and original payment authorization.","url":"https://datoka-api.bhazarstudio.workers.dev/v1/operations/issue_api_receipt?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2zlnZMy5qz4wE8iX6_oTo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Issues a signed, client-declared HTTP exchange receipt for a single API operation, providing an auditable proof of the transaction.","exampleAgentPrompt":"Issue a signed API receipt for the event I just triggered — use idempotency key 'evt-abc-123' and include the payment I made so I have an auditable record of this operation.","exampleUseCases":[{"title":"Audit trail for paid API calls","prompt":"I just made a paid API call with idempotency key 'order-789-op-1' and I need a signed receipt that proves the exchange happened — can you issue that receipt now so I have an auditable record?"},{"title":"Replay-safe receipt after network failure","prompt":"My previous request failed mid-flight — I need to retry getting a signed receipt for event 'txn-retry-42' using the same idempotency key and payment details so I don't get charged twice."},{"title":"Compliance record for x402 transaction","prompt":"I need a signed, client-declared receipt for the x402 HTTP exchange that just completed so I can store it for compliance purposes — the event is 'compliance-check-001' with my payment included."}],"resultDescription":"A signed receipt object attesting to a single HTTP exchange operation, including the event reference, idempotency key, and payment proof. The receipt can be used as an auditable record confirming the API transaction occurred.","failureModes":["Duplicate idempotency key with mismatched payload returns conflict error","Missing or invalid payment token results in payment verification failure","Malformed event data causes receipt generation to fail","Network timeout on Cloudflare Worker edge returns 5xx error","Invalid or expired x402 payment header causes rejection"],"whenToPreferThis":"Use this endpoint when you need a cryptographically signed, auditable receipt for a single paid API operation — especially in x402-based payment flows where idempotency and replay safety are required. Prefer this over generic logging when you need a client-declared, tamper-evident proof of an HTTP exchange tied to a specific payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:32:00.789Z","isFirstParty":false,"canonicalSlug":"datoka-api-receipt-issuer-60e7e6cf"}