# Refund Imports — Category Allowlist Check

> Refund Imports — Category Allowlist 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 that all category values in a refund CSV file belong to a declared allowlist, returning a compliance report for up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-refunds-categories?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-category-allowlist-check-0e06d8af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qedLnDPTxn2rmYgvUSFHf

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-category-allowlist-check-0e06d8af -d '<json body>'
```

Example prompt: Check my refund imports CSV for category compliance — the allowed categories are 'group-a', 'group-b', and 'group-c', and the file uses comma as the delimiter. Flag any rows where the category field isn't on that list.

## When to prefer this

Use this endpoint when you need a fast, low-cost ($0.01) automated check that category fields in a refund CSV conform to a known, finite set of approved values before importing or processing the data. It is ideal for pre-import pipeline gates, compliance audits, and finance policy enforcement where the allowlist is known in advance and the dataset is up to 1000 rows. Prefer this over generic CSV validators when you specifically need allowlist-based category validation scoped to refund data.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- CSV has more than 1000 rows — excess rows not validated
- allowed_categories list exceeds 100 items — request rejected
- Invalid delimiter specified — must be comma, semicolon, or tab
- Cell content exceeds max_cell_length — validation error returned
- Malformed CSV with unclosed quotes — parsing may fail or error
- Empty CSV string submitted — validation returns error
- Payment of 0.01 USDC not completed — request blocked

## How this service works

Refund imports — Category allowlist check: Category allowlist 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 category allowlist check report.

## Output

A structured category allowlist check report identifying which rows (if any) contain category values not present in the declared allowed_categories list, covering up to 1000 rows of the submitted refund CSV, with overall compliance status and details of non-conforming entries.

## 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-category-allowlist-check-0e06d8af/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)
