# Refund Imports — Invalid Row Export

> Refund Imports — Invalid Row Export is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Validates a refund CSV against a declared schema contract and returns a report of all invalid rows, up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-refunds-invalid-rows?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/refund-imports-invalid-row-export-8f0afbc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OMKYnqHKB7IaHxBQnviTO

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 refund-imports-invalid-row-export-8f0afbc6 -d '<json body>'
```

Example prompt: Check my refund CSV for invalid rows — here's the data with comma delimiter, refund amounts between 0 and 50000, and allowed order categories group-a and group-b. Give me a full report of which rows fail validation.

## When to prefer this

Use this endpoint when you need to validate a refund-specific CSV import against a declared schema contract before processing, particularly when you want to isolate and export only the invalid rows for remediation. It is purpose-built for refund data (refund_id, refunded_on, order_id, refund_amount, refunded_units columns) and supports configurable numeric ranges and category allowlists. Prefer this over generic CSV validators when working with refund import pipelines that require domain-aware validation rules.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- CSV has zero rows or is empty — validation cannot proceed
- Delimiter mismatch causes all rows to be unparseable
- Minimum value exceeds maximum value — invalid range configuration
- More than 100 allowed_categories provided — exceeds limit
- Malformed CSV with unmatched quotes may cause parse errors

## How this service works

Refund imports — Invalid row export: Invalid row export for Refund imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV invalid row export report.

## Output

A structured report identifying all rows in the submitted refund CSV that violate the declared contract — including which rows failed, the nature of each violation (out-of-range numeric values, disallowed category values, malformed cells, exceeded cell length), and row identifiers for remediation. Up to 1000 rows are evaluated per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "refund_id,refunded_on,order_id,refund_amount,refunded_units\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3",
   "maxLength": 100000,
   "minLength": 1
  },
  "maximum": {
   "type": "number",
   "default": 1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": -1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\t"
   ],
   "type": "string",
   "default": ","
  },
  "max_cell_length": {
   "type": "integer",
   "default": 1000,
   "maximum": 5000,
   "minimum": 1
  },
  "allowed_categories": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [
    "group-a",
    "group-b"
   ],
   "maxItems": 100,
   "minItems": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/refund-imports-invalid-row-export-8f0afbc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
