{"uid":"cap_LKvL89UsZBfkMy6tX6qmC","slug":"payment-imports-invalid-row-export-0d5556ea","name":"Payment Imports — Invalid Row Export","description":"Payment imports — Invalid row export: Invalid row export for Payment 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-payments-invalid-rows?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"payment_id,paid_on,invoice_id,paid_amount,processing_fee\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_XoU-2I4dKRyyoeZJxDgqy","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 CSV of payment records and returns a report identifying all rows that fail defined constraints (numeric ranges, allowed categories, cell length limits).","exampleAgentPrompt":"Check my payment import CSV for invalid rows — use a comma delimiter, flag any paid_amount outside the range 0 to 50000, and only allow categories 'group-a' and 'group-b': payment_id,paid_on,invoice_id,paid_amount,processing_fee\\nrecord-a,2026-01-01,group-a,10,2\\nrecord-b,2026-01-02,group-z,99999,3","exampleUseCases":[{"title":"Pre-import payment data audit","prompt":"I have a CSV of 800 payment records I'm about to import — can you scan it and give me a report of every row that has an amount below 0 or above 1000000, or uses a category that isn't 'enterprise' or 'standard'? Delimiter is a comma."},{"title":"Catch bad rows before finance reconciliation","prompt":"Before we reconcile this month's payments, run this semicolon-delimited CSV through validation and export all the rows that fail — amounts should be between 1 and 500000, and only 'EMEA', 'APAC', and 'AMER' are valid invoice categories."},{"title":"QA check on partner payment feed","prompt":"Our partner sent us a tab-delimited payment file and I suspect some rows have corrupted data — can you validate it and export just the invalid rows? Set the allowed categories to 'retail' and 'wholesale', and flag anything with a paid amount under 0.01 or over 999999."}],"resultDescription":"A structured report identifying which rows in the submitted CSV failed validation, including details on which constraints were violated (out-of-range numeric values, disallowed category values, cell length violations). Up to 1000 rows are evaluated per call.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only first 1000 processed or error returned","Invalid delimiter specified — parsing fails","Cell content exceeds max_cell_length — row flagged as invalid","Malformed CSV (unmatched quotes, inconsistent columns) — parsing error returned","Empty CSV string submitted — validation error"],"whenToPreferThis":"Use this endpoint when you need to identify and export specifically the invalid rows from a payment CSV before importing or processing it downstream. It is purpose-built for payment data with fields like payment_id, paid_on, invoice_id, paid_amount, and processing_fee, and supports configurable numeric bounds and category whitelists. Prefer this over generic CSV validators when you need payment-domain-aware validation with a ready-to-use invalid-row export report.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:45.164Z","isFirstParty":false,"canonicalSlug":"payment-imports-invalid-row-export-0d5556ea"}