{"uid":"cap_rem0L6JEzY4LEuH8ps-W_","slug":"delx-commerce-x402-idempotency-check-897044d8","name":"Delx Commerce X402 Idempotency Check","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/x402-idempotency-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"payment_key":{"type":"string","maxLength":8192,"description":"Payment Key supplied to X402 Idempotency Check; used only for this bounded calculation and processed in memory without retention."},"delivery_key":{"type":"string","maxLength":8192,"description":"Delivery Key supplied to X402 Idempotency Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"matched":true,"payment_key":"job-42","delivery_key":"job-42"},"schema":"delx/util-x402-idempotency-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"a9aa562b36a16cb899fdccfd5bcae9beef661bc9955a23c2dab0076b08c36ff5","external_calls":0},"operation":"delivery_contract:x402_idempotency_check"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JIgs10kVCtscsuYob0lga","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a payment key and delivery key match, verifying idempotency for X402 pay-per-result transactions without retaining input data.","exampleAgentPrompt":"Check if payment key 'job-42' and delivery key 'job-42' match for an x402 idempotency check on Delx Commerce — I want to confirm this transaction hasn't been double-processed.","exampleUseCases":[{"title":"Prevent double payment for agent job","prompt":"I just triggered a pay-per-result API call with payment key 'agent-task-99' and delivery key 'agent-task-99' — can you run an x402 idempotency check on Delx Commerce to make sure this job wasn't already paid and delivered?"},{"title":"Audit verifiable delivery contract","prompt":"Before retrying this Delx Commerce request, check if payment key 'order-7821' and delivery key 'order-7821' match so I know whether the original delivery already went through."},{"title":"Validate keys before releasing funds","prompt":"I have a payment key 'session-flux-003' and delivery key 'session-flux-003' for an x402 transaction — verify they match and confirm no data was retained before I approve the next payout."}],"resultDescription":"Returns a JSON object indicating whether the payment_key and delivery_key match (matched: true/false), echoes both keys, reports the operation status (pass/fail), and provides an evidence block containing a SHA256 hash of the input, confirmation that no data was retained, and the count of external calls made (always 0). The schema version and operation name are also included.","failureModes":["Keys do not match — matched: false returned with status 'fail'","Missing required fields (payment_key or delivery_key) may result in a validation error","Malformed input exceeding maxLength of 8192 characters may be rejected","Network timeout or service unavailability returns no result"],"whenToPreferThis":"Choose this endpoint when you need to cryptographically verify that a payment key and delivery key correspond for an x402 pay-per-result transaction on Delx Commerce, especially when preventing replay attacks or double-processing in an agentic payment workflow. It is the right choice when you need verifiable, in-memory-only key matching with no data retention and an auditable SHA256 evidence trail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:03.472Z","isFirstParty":false,"canonicalSlug":"delx-commerce-x402-idempotency-check-897044d8"}