{"uid":"cap_dwg0LKnmcgGKNSGXwGLPY","slug":"delx-commerce-agent-delivery-batch-gate-5f470dea","name":"Delx Commerce — Agent Delivery Batch Gate","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/agent-delivery-batch-gate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"total":{"type":"integer","description":"Total supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"failed":{"type":"integer","description":"Failed supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"pending":{"type":"integer","description":"Pending supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"succeeded":{"type":"integer","description":"Succeeded supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"refund_queued":{"type":"integer","description":"Refund Queued supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"minimum_success_fraction":{"type":"number","description":"Minimum Success Fraction supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"accepted":true,"terminal":true,"refund_coverage":true,"success_fraction":0.97,"counts_consistent":true},"schema":"delx/util-agent-delivery-batch-gate/v1","status":"pass","evidence":{"retained":false,"input_sha256":"a3ede22673e2353847a91c1d024be5fc857ce9eb03c713162639695522959963","external_calls":0},"operation":"delivery_contract:agent_delivery_batch_gate"}},"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_IdCKdhUyHQrbgeYgeay4m","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":"Validates whether a batch of agent deliveries meets a minimum success threshold, returning acceptance status, refund coverage flags, and consistency checks.","exampleAgentPrompt":"Check if a delivery batch of 100 total items — 97 succeeded, 2 failed, 1 pending, 0 refund queued — passes acceptance with a minimum success fraction of 0.95.","exampleUseCases":[{"title":"Batch delivery contract acceptance check","prompt":"I ran a batch of 200 agent deliveries: 194 succeeded, 4 failed, 2 pending, and 0 refund queued. Does this batch pass acceptance if my contract requires at least 0.90 success fraction?"},{"title":"Refund coverage assessment for failed batch","prompt":"My agent batch had 50 total deliveries, 30 succeeded, 10 failed, 5 pending, and 5 refund queued — can you tell me if refund coverage applies and whether counts are consistent with a 0.80 minimum success fraction?"},{"title":"Pre-payment gate for automated agent workflow","prompt":"Before releasing payment for this task batch, validate it: 500 total, 490 succeeded, 5 failed, 5 pending, 0 refund queued, minimum success fraction 0.95 — is it accepted and terminal?"}],"resultDescription":"Returns a JSON object with: accepted (boolean indicating batch passes threshold), terminal (boolean indicating the batch state is final), refund_coverage (boolean for refund eligibility), success_fraction (computed ratio of successes), counts_consistent (boolean verifying input counts add up), overall status ('pass'/'fail'), schema identifier, and cryptographic evidence including input SHA-256 hash and a flag confirming no data was retained.","failureModes":["Counts inconsistency: if total does not equal succeeded + failed + pending + refund_queued, counts_consistent returns false","Success fraction below minimum: accepted returns false when success_fraction < minimum_success_fraction","Missing required fields: API may return an error if total or minimum_success_fraction are absent","Invalid types: non-integer counts or non-numeric fraction may cause request rejection","Payment failure: x402 micropayment of $0.001 USDC must succeed before the computation is executed"],"whenToPreferThis":"Use this endpoint when you need a cryptographically evidenced, pay-per-result validation of whether a batch of agent deliveries meets a configurable success threshold — especially in autonomous agent workflows where verifiable delivery and no-signup access via USDC micropayments (x402 on Base or Solana) are required. Prefer this over custom logic when you need an auditable, tamper-evident gate with a SHA-256 input hash and explicit refund coverage assessment built into the response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:07:30.873Z","isFirstParty":false,"canonicalSlug":"delx-commerce-agent-delivery-batch-gate-5f470dea"}