{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vibe-fixer-com/json-schema/vibe-fixer-com-post-v1-checkout-sessions-request-schema.json",
  "title": "PostV1CheckoutSessionsRequest",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/vibe-fixer-com-openapi-generated.yml#/components/schemas/PostV1CheckoutSessionsRequest",
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "description": "One of \"payment\", \"setup\" or \"subscription\"."
    },
    "line_items": {
      "type": "array",
      "description": "Array of line item objects, each containing a price ID and quantity."
    },
    "line_items[].price": {
      "type": "string",
      "description": "The price ID to charge."
    },
    "line_items[].quantity": {
      "type": "integer",
      "description": "Quantity for the price."
    },
    "success_url": {
      "type": "string",
      "description": "URL to which Stripe redirects after successful payment or setup."
    },
    "cancel_url": {
      "type": "string",
      "description": "URL to which Stripe redirects if the customer cancels."
    }
  },
  "required": [
    "mode",
    "line_items",
    "line_items[].price",
    "line_items[].quantity",
    "success_url",
    "cancel_url"
  ]
}