# Delx Commerce Refund Policy Preflight

> Delx Commerce Refund Policy Preflight 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).

Checks whether a purchase is eligible for a refund given a specific refund policy, returning eligibility status and reasons.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/refund-policy-preflight?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-refund-policy-preflight-f92cfa9b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QiWI69yFr_h54EbgPVzGm

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-refund-policy-preflight-f92cfa9b -d '<json body>'
```

Example prompt: Can you check whether this purchase — order ID #8821, bought 3 days ago, unused, within the 30-day return window — qualifies for a refund under our standard policy that requires items to be unused and returned within 30 days?

## When to prefer this

Use this endpoint when you need a lightweight, no-signup, pay-per-call preflight check to evaluate refund eligibility before committing to a full refund transaction. Ideal for AI agents managing customer support flows, e-commerce automation, or marketplace enforcement where you want a verifiable, policy-driven decision without building custom logic. Prefer this over custom rule engines when the policy can be expressed as a JSON object and you need instant, per-request pricing via USDC on Base or Solana.

## Known failure modes

- Malformed policy JSON results in a validation error response
- Missing required purchase fields cause incomplete eligibility evaluation
- Ambiguous policy rules may result in false negatives or positives
- Policy and purchase objects with incompatible schemas may cause processing errors
- Network or payment failure returns a 402 or 5xx error before evaluation occurs

## 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 a schema identifier ('delx/util-refund-policy-preflight/v1'), a boolean 'eligible' field indicating whether the purchase qualifies for a refund, and a 'reasons' array listing any disqualifying conditions or policy violations found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "policy": {
   "type": "object",
   "description": "Refund policy JSON"
  },
  "purchase": {
   "type": "object",
   "description": "Purchase facts JSON"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-refund-policy-preflight/v1",
  "reasons": [],
  "eligible": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-refund-policy-preflight-f92cfa9b/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)
