{"uid":"cap_pNpQQAZZ_cBU4EBENY6Zx","slug":"delx-commerce-idempotency-fingerprint-api-4d11fe0c","name":"Delx Commerce — Idempotency Fingerprint API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/idempotency-fingerprint?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"scope":{"type":"string","description":"Caller-owned namespace string mixed into the fingerprint."},"payload":{"type":"object","description":"JSON payload to fingerprint; values are hashed, not retained."}}},"responseSchema":{"type":"json","example":{"scope":"loyalty","schema":"delx/util-idempotency-fingerprint/v1","algorithm":"sha256","fingerprint":"dc22b29600e074df71fc0f9b0260185e822b228cca615d37992a31dc14eb8f45","values_returned":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uCCVdihCgdQN3m3_Sm60b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a deterministic SHA-256 fingerprint from a scoped JSON payload to enable idempotency checking across agent operations","exampleAgentPrompt":"Generate an idempotency fingerprint for my 'loyalty' namespace using this payload: {\"user_id\": \"u123\", \"reward\": \"50pts\", \"action\": \"purchase\"} — I need a SHA-256 hash I can use to avoid processing this reward twice.","exampleUseCases":[{"title":"Deduplicating agent reward events","prompt":"I'm issuing loyalty points to users and I need to make sure I never credit the same event twice — can you fingerprint this payload under the 'loyalty' scope: {\"user_id\": \"u789\", \"event\": \"referral\", \"points\": 100}?"},{"title":"Idempotent payment intent tracking","prompt":"Before submitting a payment, fingerprint this order payload under the scope 'payments' so I can check later if this exact order was already submitted: {\"order_id\": \"ord_4421\", \"amount\": 49.99, \"currency\": \"USD\"}."},{"title":"Deduplicating webhook deliveries","prompt":"I'm receiving webhooks that might arrive more than once — fingerprint this event under the 'webhooks' namespace so I can skip reprocessing if I've seen it before: {\"event_type\": \"order.completed\", \"order_id\": \"88321\", \"timestamp\": \"2024-06-01T12:00:00Z\"}."}],"resultDescription":"Returns a JSON object containing the SHA-256 fingerprint string computed from the payload values, the caller-defined scope, the algorithm name ('sha256'), and the schema version ('delx/util-idempotency-fingerprint/v1'). The original payload values are not retained or returned, only the hash.","failureModes":["Missing or malformed payload object returns a validation error","Invalid or missing scope string may cause fingerprint namespace collision or rejection","Network timeout from micropayment processing delay","Payload too large may exceed processing limits","Non-JSON payload values that cannot be deterministically serialized may produce inconsistent fingerprints"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to produce a deterministic, tamper-evident fingerprint of a structured JSON payload for deduplication or idempotency enforcement — especially in agentic workflows where the same action might be triggered multiple times. Prefer it when you need a scoped, stable identifier that doesn't require storing the original payload and want pay-per-use pricing with no account setup. It is particularly suited for agent-native infrastructure (x402 micropayment protocol, USDC on Base/Solana) where traditional API key management is impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:53.466Z","isFirstParty":false,"canonicalSlug":"delx-commerce-idempotency-fingerprint-api-4d11fe0c"}