# Delx Commerce — Agent Delivery Batch Gate

> Delx Commerce — Agent Delivery Batch Gate is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Validates whether a batch of agent deliveries meets a minimum success threshold, returning acceptance status, refund coverage flags, and consistency checks.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/agent-delivery-batch-gate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-agent-delivery-batch-gate-5f470dea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dwg0LKnmcgGKNSGXwGLPY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-agent-delivery-batch-gate-5f470dea -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-agent-delivery-batch-gate-5f470dea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
