# Delx X402 Refund Receipt Check

> Delx X402 Refund Receipt 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).

Validates an X402 refund receipt object by checking its shape, required fields, and structural correctness without retaining any data.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/x402-refund-receipt-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-x402-refund-receipt-check-fc5438f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A7QjZiKzI-FvCNNC5VGHP

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-x402-refund-receipt-check-fc5438f3 -d '<json body>'
```

Example prompt: Can you check if this X402 refund receipt is valid and tell me if any required fields are missing? Here's the receipt: {status: 'queued', refund_id: 'refund-1', amount_raw: '1000', payment_id: 'pay-1'}.

## When to prefer this

Use this endpoint when you need a lightweight, privacy-preserving structural check on an X402 refund receipt before submitting or processing it — especially in agentic pipelines where you want cryptographic evidence (SHA256 of input) that the data was processed in-memory without retention. Prefer this over manual schema validation when you need verifiable, auditable confirmation of receipt shape correctness in a pay-per-use model with no signup required.

## Known failure modes

- Receipt object exceeds 128 properties (maxProperties limit), causing rejection
- Missing or malformed receipt object in request body returns validation error
- Malformed JSON in request body causes parse failure
- shape_valid false with populated missing_fields list when required receipt fields are absent
- Network or service unavailability returns HTTP error

## 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 indicating whether the receipt passed validation (status: pass/fail), whether the shape is valid (shape_valid: boolean), a list of any missing fields, the original receipt contents echoed back, evidence metadata including input SHA256 hash, a flag confirming no data was retained, and a count of zero external calls made — confirming purely in-memory processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "receipt": {
   "type": "object",
   "description": "Receipt supplied to X402 Refund Receipt Check; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "receipt": {
    "status": "queued",
    "refund_id": "refund-1",
    "amount_raw": "1000",
    "payment_id": "pay-1"
   },
   "shape_valid": true,
   "missing_fields": []
  },
  "schema": "delx/util-x402-refund-receipt-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "eed8a44348546c38e110e86becc0cf20609c4043c2d9579d6b2d25468d2f7566",
   "external_calls": 0
  },
  "operation": "delivery_contract:x402_refund_receipt_check"
 }
}
```

## More

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