# Delx Commerce X402 Retry Safety Check

> Delx Commerce X402 Retry Safety Check 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-01).

Determines whether it is safe to retry an x402 payment-gated API call by evaluating payment settlement, delivery receipt, and idempotency key status

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/x402-retry-safety-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-x402-retry-safety-check-eb8c1c6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GTcHmdCqmY9VHUnWpssnB

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-x402-retry-safety-check-eb8c1c6e -d '<json body>'
```

Example prompt: Before retrying that x402 API call, check if it's safe to retry — the payment has not settled, no delivery was received yet, but an idempotency key is present.

## When to prefer this

Use this endpoint when building x402-protocol-aware agents or automation pipelines that need a lightweight, stateless, verifiable check to decide whether retrying a payment-gated API call is safe — especially when you need an auditable evidence hash and confirmation of no data retention. Prefer this over custom retry logic when operating within the Delx Commerce x402 ecosystem.

## Known failure modes

- Missing or malformed boolean inputs may cause validation errors
- All three input fields are optional so missing fields may produce conservative or incorrect retry recommendations
- Endpoint is stateless and cannot actually verify on-chain payment settlement — it only evaluates the booleans provided by the caller

## 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 containing a safe_to_retry boolean, the echoed payment_settled, delivery_received, and idempotency_key_present inputs, a status of pass or fail, an operation identifier, and evidence including a SHA-256 hash of the input and confirmation that no data was retained and no external calls were made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "payment_settled": {
   "type": "boolean",
   "description": "Payment Settled supplied to X402 Retry Safety Check; used only for this bounded calculation and processed in memory without retention."
  },
  "delivery_received": {
   "type": "boolean",
   "description": "Delivery Received supplied to X402 Retry Safety Check; used only for this bounded calculation and processed in memory without retention."
  },
  "idempotency_key_present": {
   "type": "boolean",
   "description": "Idempotency Key Present supplied to X402 Retry Safety Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "safe_to_retry": true,
   "payment_settled": false,
   "delivery_received": false,
   "idempotency_key_present": true
  },
  "schema": "delx/util-x402-retry-safety-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "24c9a576b2e74386a2f828e8dd25d82245eaf5949169fae8a42b46b075a9b953",
   "external_calls": 0
  },
  "operation": "delivery_contract:x402_retry_safety_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-x402-retry-safety-check-eb8c1c6e/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)
