{"uid":"cap_fYytoT6JiH_V3ivsNxJyK","slug":"refund-imports-csv-trimmed-typed-conversion-27de3b7e","name":"Refund Imports CSV Trimmed Typed Conversion","description":"Refund imports — Trimmed typed conversion: Trimmed typed conversion 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 trimmed typed conversion report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-refunds-normalise?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_xyhckTWyEImNtvzllbKMB","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 and normalizes a CSV table of refund records (up to 1000 rows) into trimmed, typed data with configurable delimiter, numeric bounds, and allowed categories.","exampleAgentPrompt":"Can you validate and normalize this refund CSV for me? It uses comma delimiters, refund amounts should be between 0 and 50000, and only orders from group-a and group-b are allowed: 'refund_id,refunded_on,order_id,refund_amount,refunded_units\\nrec-1,2026-01-05,group-a,25.00,1'","exampleUseCases":[{"title":"Pre-import refund data validation","prompt":"Before I load this month's refund exports into our database, can you validate this CSV and make sure all refund amounts are between 0 and 100000, categories are only group-a or group-b, and the data is properly typed and trimmed? Here's the CSV content."},{"title":"Catching bad values in refund batch","prompt":"I've got a refund CSV from our payment processor and I need to check it for out-of-range amounts — nothing should be below 0 or above 25000 — and flag any records with unexpected order categories. The file uses semicolon delimiters. Can you run it through the refund normalizer?"},{"title":"Finance team refund reconciliation cleanup","prompt":"Our finance team exported refunds as a tab-separated CSV and needs it cleaned up and type-checked before reconciliation — max cell length should be 500, allowed categories are enterprise and retail, and amounts must be between -500 and 500000. Can you normalize it?"}],"resultDescription":"A trimmed typed conversion report for the submitted refund CSV, including parsed and validated rows with typed fields (dates, numbers, strings), flagged out-of-range numeric values, disallowed category entries, and overall validation status — covering up to 1000 rows with no external data enrichment.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — rows beyond limit may be ignored or rejected","Delimiter mismatch causes all rows to parse as single-column — garbled output","Numeric values outside configured minimum/maximum bounds flagged as invalid","Cell content exceeding max_cell_length truncated or flagged","Malformed CSV (unclosed quotes, inconsistent column counts) — parse error returned","Empty CSV string submitted — validation error"],"whenToPreferThis":"Choose this endpoint when you need fast, offline typed validation and normalization of refund-specific CSV data without any external API calls or data enrichment. It is best suited for pre-import QA pipelines, finance reconciliation cleanup, and catching bad category or numeric range violations in refund exports. It is not appropriate for general-purpose CSV processing, large files over 1000 rows, or when you need enrichment from external sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:17.156Z","isFirstParty":false,"canonicalSlug":"refund-imports-csv-trimmed-typed-conversion-27de3b7e"}