# Refund Imports — Valid Row Export

> Refund Imports — Valid 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 CSV of refund records and exports only the rows that pass all defined validity checks, up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-refunds-valid-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-valid-row-export-cafcbeb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rWnq2MGFyY_Dc1Z2TDJKH

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-valid-row-export-cafcbeb8 -d '<json body>'
```

Example prompt: Can you validate this refund CSV and give me a report of only the valid rows? The CSV uses comma delimiters, amounts should be between 0 and 50000, and only orders from group-a and group-b are allowed categories.

## When to prefer this

Use this endpoint when you have a CSV of refund records and need to isolate only the valid rows before importing them into a downstream system. It is ideal for lightweight, self-contained validation without external enrichment, supports quoted cells, and enforces category allowlists and numeric range constraints in a single call. Prefer it over generic CSV validators when you need refund-domain-aware presets and a clean valid-row export rather than just an error report.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- CSV contains more than 1000 rows — rows beyond limit may be truncated or rejected
- Delimiter mismatch causes parsing errors — all rows may appear invalid
- Cell exceeds max_cell_length threshold — affected rows marked invalid
- Numeric values outside the min/max bounds — those rows excluded from valid export
- Malformed CSV structure (unclosed quotes, wrong column count) — parsing failure or row-level errors
- Payment not processed — endpoint returns 402 before any validation occurs

## How this service works

Refund imports — Valid row export: Valid 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 valid row export report.

## Output

A report listing only the rows from the input CSV that passed all validity checks (value range, allowed categories, cell length, and structural integrity), up to 1000 rows. Invalid rows are excluded from the export.

## 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-valid-row-export-cafcbeb8/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)
