{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/satoshidata-ai/json-schema/satoshidata-ai-checkout-create-request-schema.json",
  "title": "CheckoutCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/satoshidata-ai-billing-api-openapi.yml#/components/schemas/CheckoutCreateRequest",
  "properties": {
    "plan_id": {
      "type": "string",
      "title": "Plan Id"
    },
    "payment_method_id": {
      "type": "string",
      "title": "Payment Method Id"
    },
    "customer_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Customer Email"
    }
  },
  "type": "object",
  "required": [
    "plan_id",
    "payment_method_id"
  ]
}