# Refund Imports CSV Header Contract Check

> Refund Imports CSV Header Contract Check 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 the column headers and data contract of a refund imports CSV file against declared constraints, returning a contract check report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-refunds-schema?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-csv-header-contract-check-3581dfec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PCL2oeD44pHviwtJMN_qW

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-csv-header-contract-check-3581dfec -d '<json body>'
```

Example prompt: Can you check this refund CSV to make sure the headers match the expected contract — it has columns refund_id, refunded_on, order_id, refund_amount, refunded_units, uses a comma delimiter, and allowed categories are group-a and group-b?

## When to prefer this

Choose this endpoint when you need a lightweight, low-cost ($0.01 USDC) header-level contract check specifically for refund import CSV files, particularly when you want to validate column names, delimiters, category allowlists, and numeric bounds without sending data to an external enrichment service. Ideal for pre-import gating in refund processing pipelines.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- Fewer than 1 character in CSV body — rejected as empty
- Delimiter not in allowed set (comma, semicolon, tab) — validation error
- Allowed categories list exceeds 100 items — schema error
- Cell length exceeds max_cell_length threshold — contract violation reported
- Malformed CSV structure (unmatched quotes) — parse error

## How this service works

Refund imports — Header contract check: Header contract check 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 header contract check report.

## Output

A CSV header contract check report indicating whether the declared headers conform to the expected schema, including any violations of column naming, delimiter usage, allowed category values, numeric range bounds, or cell length constraints. Up to 1000 rows are assessed.

## 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-csv-header-contract-check-3581dfec/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)
