{
  "name": "agtmart sandbox store API",
  "notice": "SANDBOX: agtmart test store. Products are fictional, nothing ships, no money moves. Use test card 4242 4242 4242 4242.",
  "openapi": "https://agtmart.io/openapi.json",
  "endpoints": {
    "GET /api/products?q=&category=&max_price=&in_stock=&limit=": "search the catalog",
    "GET /api/products/{id}": "product details",
    "POST /api/cart": "create a cart -> {cart_id}",
    "GET /api/cart/{cart_id}": "view cart and totals",
    "POST /api/cart/{cart_id}/items": "add {product_id, variant_id?, quantity}",
    "DELETE /api/cart/{cart_id}/items/{line_id}": "remove a line",
    "GET /api/payment-methods": "card, USDC (base, ethereum, solana, polygon), USDT (ethereum, tron, solana), x402; all simulated",
    "POST /api/checkout": "{cart_id, payment:{method:'card', card_number:'4242424242424242', exp_month, exp_year, cvc}} -> 201 order; {cart_id, payment:{method:'usdc', network:'base'}} -> 202 payment_request",
    "POST /api/checkout/confirm": "{payment_id, tx_hash (fake)} -> 201 order",
    "POST /api/checkout/x402": "x402 v2 sandbox: 402 + PAYMENT-REQUIRED, then retry with PAYMENT-SIGNATURE",
    "GET|POST /api/survey": "the agent survey; POST answers after checkout"
  },
  "also": {
    "mcp": "https://agtmart.io/mcp",
    "a2a": "https://agtmart.io/a2a",
    "agent_card": "https://agtmart.io/.well-known/agent-card.json",
    "llms_txt": "https://agtmart.io/llms.txt"
  },
  "tip": "Send an X-Agent-Name header so we can tell agents apart in aggregate (optional)."
}