{
  "ok": true,
  "door": "checkout",
  "module": "WebsDocs AIG — Stable Checkout Door",
  "version": "websdocs-checkout-door-v2-dual-mode",
  "canonicalAigBaseUrl": "https://ai.websdocs.com",
  "allowed": true,
  "executed": false,
  "paymentExecution": {
    "humanRedirect": true,
    "delegatedAutonomous": true,
    "rawCardAccepted": false,
    "requiresSignedMandate": true,
    "humanFallbackSupported": true,
    "executedBy": "product_checkout_worker"
  },
  "purpose": "One stable WebsDocs checkout contract supporting human-authorized Stripe continuation and signed delegated autonomous execution. Product pricing, payment execution, webhooks, recurring billing, and fulfillment remain owned by product checkout Workers behind private service bindings.",
  "contract": {
    "create": {
      "method": "POST",
      "endpoint": "https://ai.websdocs.com/ai-room/checkout-door"
    },
    "ucpRestBase": "https://ai.websdocs.com/checkout/v1",
    "ucpCheckoutSessions": "https://ai.websdocs.com/checkout/v1/checkout-sessions",
    "discovery": "https://ai.websdocs.com/.well-known/ucp",
    "required": [
      "product",
      "plan"
    ],
    "buyerShape": {
      "email": "optional_by_product",
      "name": "optional_by_product",
      "companyName": "optional_by_product",
      "websiteUrl": "optional_by_product"
    },
    "exampleBody": {
      "product": "asg",
      "kind": "subscription",
      "plan": "business",
      "billingCycle": "monthly",
      "buyer": {
        "email": "buyer@example.com",
        "companyName": "Example Co",
        "websiteUrl": "https://example.com"
      }
    },
    "delegatedExample": {
      "product": "asg",
      "kind": "subscription",
      "plan": "business",
      "buyer": {
        "email": "buyer@example.com",
        "companyName": "Example Co",
        "websiteUrl": "https://example.com"
      },
      "payment": {
        "mode": "delegated",
        "provider": "stripe",
        "credentialToken": "opaque_provider_token",
        "mandate": {
          "id": "buyer_mandate_id",
          "merchant": "websdocs",
          "product": "asg",
          "plan": "business",
          "maximumAmountCents": 9900,
          "currency": "USD",
          "recurring": true,
          "expiresAt": "short_lived_iso_timestamp",
          "nonce": "single_use_nonce"
        }
      }
    }
  },
  "products": [
    {
      "key": "asg",
      "owner": "ASG checkout",
      "stableKinds": [
        "subscription",
        "topup",
        "quote"
      ],
      "ready": true
    },
    {
      "key": "ai_business_agent",
      "owner": "WebsDocs AI checkout",
      "stableKinds": [
        "plan",
        "topup"
      ],
      "ready": false
    },
    {
      "key": "voice_agent",
      "owner": "Voice checkout",
      "stableKinds": [
        "subscription",
        "topup"
      ],
      "ready": false
    },
    {
      "key": "industry_agent",
      "owner": "Commerce checkout",
      "stableKinds": [
        "subscription",
        "topup"
      ],
      "ready": false
    },
    {
      "key": "commerce_service",
      "owner": "Commerce checkout",
      "stableKinds": [
        "service"
      ],
      "ready": false
    },
    {
      "key": "domain",
      "owner": "Commerce checkout",
      "stableKinds": [
        "domain"
      ],
      "ready": false
    }
  ],
  "response": {
    "status": "requires_escalation | processing | requires_action | succeeded | failed",
    "continue_url": "seller-controlled Stripe Checkout, required-authentication, or product intake URL",
    "note": "The buyer may set only a maximum authorized amount. The seller calculates the actual amount. Raw PAN/CVV data is always rejected."
  },
  "security": {
    "sellerIsMerchantOfRecord": true,
    "storesRawCardData": false,
    "browserCreateRestrictedToAllowedOrigins": true,
    "ucpGatewayHmacRequired": true,
    "idempotencySupported": true,
    "delegatedExecutionRequiresSignedUcp": true,
    "mandateBoundToMerchantProductPlanAndMaximum": true,
    "returnUrlsAllowlisted": true,
    "serviceBindingOnly": true
  },
  "publicHumanRoutes": {
    "paymentPage": "https://websdocs.com/payment.html",
    "contact": "https://websdocs.com/contact.html",
    "support": "https://websdocs.com/support-ticket.html"
  }
}