# ProveCart Cart Verification

> ProveCart Cart Verification is a paid API for AI agents from api.provecart.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-12-01).

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.

## Facts

- Endpoint: POST https://api.provecart.com/x402/verify?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/provecart-cart-verification-a601355e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DrBinpAvHN7AEwrbOgpEY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability provecart-cart-verification-a601355e -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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_reco
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/provecart-cart-verification-a601355e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.provecart.com](https://www.zero.xyz/host/api.provecart.com/llms.txt)
