{"uid":"cap_PCL2oeD44pHviwtJMN_qW","slug":"refund-imports-csv-header-contract-check-3581dfec","name":"Refund Imports CSV Header Contract Check","description":"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.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-refunds-schema?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_9DNuY_ix33pPtHCulVovT","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 the column headers and data contract of a refund imports CSV file against declared constraints, returning a contract check report.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Pre-import refund file header check","prompt":"Before I upload this refunds export to our system, can you validate the CSV header contract? The file has columns refund_id, refunded_on, order_id, refund_amount, refunded_units, comma-separated, with allowed categories group-a and group-b and refund amounts between 0 and 500."},{"title":"Automated refund pipeline schema gate","prompt":"I have a nightly refund CSV coming in from our payment processor — can you run a header contract check on it to make sure the columns are correct before we process it? Delimiter is a comma, and valid order categories are group-a and group-b."},{"title":"Detecting malformed refund export headers","prompt":"Our finance team exported a refund report and I'm not sure the column names are right. Can you validate the header contract for this CSV? It should have refund_id, refunded_on, order_id, refund_amount, refunded_units with a tab delimiter, and cell values shouldn't exceed 200 characters."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:26.820Z","isFirstParty":false,"canonicalSlug":"refund-imports-csv-header-contract-check-3581dfec"}