{"uid":"cap_OMKYnqHKB7IaHxBQnviTO","slug":"refund-imports-invalid-row-export-8f0afbc6","name":"Refund Imports — Invalid Row Export","description":"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.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-refunds-invalid-rows?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AYaU-lA12iTxsNQGvYmaF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a refund CSV against a declared schema contract and returns a report of all invalid rows, up to 1000 rows.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Pre-import refund data quality check","prompt":"Before I import this refund file into our system, can you validate it and tell me which rows are invalid? The CSV uses comma delimiters, refund amounts should be between 0 and 10000, and valid order categories are group-a, group-b, and group-c."},{"title":"Flagging out-of-range refund amounts","prompt":"I have a refund CSV and I need to catch any rows where the refund_amount is outside the range of -500 to 5000 — can you run it through the invalid row check and give me an export of all the bad rows?"},{"title":"Category constraint violation detection","prompt":"Can you validate my refund import CSV and flag any rows that have an order_id category not in my allowed list: premium, standard, and bulk? Use semicolon as the delimiter and max cell length of 200."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:22.901Z","isFirstParty":false,"canonicalSlug":"refund-imports-invalid-row-export-8f0afbc6"}