{"uid":"cap_DrBinpAvHN7AEwrbOgpEY","slug":"provecart-cart-verification-a601355e","name":"ProveCart Cart Verification","description":"ProveCart compares what a customer asked their AI agent to order, book, or reserve against what the agent actually built, before the payment, and returns a MATCH, REVIEW, or BLOCK verdict, with a sealed evidence record for disputes. Patent pending.","url":"https://api.provecart.com/x402/verify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"check":{"type":"object","title":"VerifyIn","required":["mandate_id","merchant","items","total_price"],"properties":{"tax":{"type":"number","title":"Tax","default":0,"minimum":0},"fees":{"type":"number","title":"Fees","default":0,"minimum":0},"items":{"type":"array","items":{"type":"object","title":"CartItem","required":["name","unit_price"],"properties":{"name":{"type":"string","title":"Name"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand","default":null},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant","default":null},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","default":null},"quantity":{"type":"integer","title":"Quantity","default":1,"minimum":1},"unit_price":{"type":"number","title":"Unit Price","minimum":0}}},"title":"Items"},"currency":{"type":"string","title":"Currency","default":"USD"},"merchant":{"type":"object","title":"MerchantIn","required":["name"],"properties":{"name":{"type":"string","title":"Name"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","default":null}}},"shipping":{"type":"number","title":"Shipping","default":0,"minimum":0},"mandate_id":{"type":"string","title":"Mandate Id"},"total_price":{"type":"number","title":"Total Price","minimum":0},"cart_changed":{"type":"boolean","title":"Cart Changed","default":false},"previous_record_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Record Id","default":null}}},"mandate":{"type":"object","title":"MandateIn","required":["user_id","item_description","category","max_total_price","expires_at"],"properties":{"type":{"type":"string","title":"Type","default":"single_purchase"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand","default":null},"user_id":{"type":"string","title":"User Id"},"category":{"type":"string","title":"Category"},"currency":{"type":"string","title":"Currency","default":"USD"},"expires_at":{"type":"string","title":"Expires At"},"period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period End","default":null},"price_basis":{"type":"string","title":"Price Basis","default":"grand_total"},"max_quantity":{"type":"integer","title":"Max Quantity","default":1},"period_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Start","default":null},"item_keywords":{"type":"array","items":{"type":"string"},"title":"Item Keywords"},"period_budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Period Budget","default":null},"max_total_price":{"type":"number","title":"Max Total Price"},"item_description":{"type":"string","title":"Item Description"},"category_required":{"type":"boolean","title":"Category Required","default":false},"merchant_allowlist":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Merchant Allowlist","default":null},"merchant_blocklist":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Merchant Blocklist","default":null},"variant_constraints":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"title":"Variant Constraints","default":null}}}}},"responseSchema":{"type":"json","example":{"note":"Example output. A real call returns the full sealed verdict object for its own record_id.","results":[{"check":"price","details":["total within the buyer's ceiling"],"outcome":"pass"}],"verdict":"MATCH","record_id":"rec_example0000000000","mandate_id":"00000000-0000-0000-0000-000000000000","corrections":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QLCtIuFOdbgZkWOSLQEv-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares a customer's purchase mandate against an AI-built cart and returns a MATCH, REVIEW, or BLOCK verdict with a sealed evidence record before payment is processed.","exampleAgentPrompt":"Before you place that order at BestBuy for the Sony WH-1000XM5 headphones, run a ProveCart check to confirm the cart — one item, $279.99 total, USD — matches my mandate (mandate ID: mnd-abc123, max $300, expires tonight at midnight) and give me the verdict plus the sealed record ID.","exampleUseCases":[{"title":"Blocking overpriced AI grocery order","prompt":"Before you finalize my grocery order at Whole Foods, verify it against my mandate — I asked for organic oat milk (1 unit, max $8) and the cart is showing $12.50 total. Run a ProveCart check with mandate ID mnd-grocery-99 and block it if it's over my ceiling."},{"title":"Validating AI-booked hotel reservation","prompt":"My AI travel agent just built a hotel booking at Marriott for a Deluxe King room, $189 per night, $210 total including taxes and fees — can you verify this matches my mandate (ID: mnd-travel-55, max $220, category: lodging, expires tomorrow at noon) before I approve payment?"},{"title":"Auditing AI electronics purchase for dispute record","prompt":"I need a sealed audit record before my agent charges my wallet for the Apple AirPods Pro from Amazon — mandate ID is mnd-elec-007, max $260, the cart shows 1 unit at $249 plus $5 shipping. Run the ProveCart verify and save the evidence record ID in case I need it for a dispute later."}],"resultDescription":"A JSON object containing a verdict string (MATCH, REVIEW, or BLOCK), an array of check results with pass/fail outcomes and details for each check (price, items, merchant, etc.), a list of corrections if discrepancies were found, a unique sealed record_id for dispute evidence, and the mandate_id that was evaluated.","failureModes":["Missing required mandate fields (user_id, item_description, category, max_total_price, expires_at) returns a 422 validation error","Expired mandate (expires_at in the past) results in a BLOCK verdict or rejection","Total price exceeding max_total_price ceiling triggers a BLOCK verdict","Cart items not matching the mandate description return a REVIEW or BLOCK verdict with corrections listed","Invalid or malformed mandate_id causes a 400 or 422 error","Payment failure for the $0.05 USDC fee via x402 prevents the check from completing","Providing a previous_record_id that does not exist may cause a lookup error"],"whenToPreferThis":"Use ProveCart when an AI agent has autonomously constructed a cart, booking, or reservation on behalf of a user and you need a pre-payment integrity check that produces a sealed, dispute-ready evidence record. It is specifically designed for agentic commerce workflows where the user set a mandate (spending ceiling, item description, category) in advance and the agent acted on it — giving you a verifiable MATCH/REVIEW/BLOCK verdict rather than just a boolean check. Prefer this over custom validation logic when you need an immutable audit trail for consumer protection or dispute resolution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T18:33:50.783Z","isFirstParty":false,"canonicalSlug":"provecart-cart-verification-a601355e"}