{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aifu-asia/json-schema/aifu-asia-create-checkout-request-schema.json",
  "title": "CreateCheckoutRequest",
  "description": "Request to create checkout session.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aifu-asia-billing-api-openapi.yml#/components/schemas/CreateCheckoutRequest",
  "properties": {
    "user_id": {
      "type": "string",
      "title": "User Id"
    },
    "email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email"
    },
    "telegram_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Telegram Id"
    }
  },
  "type": "object",
  "required": [
    "user_id"
  ]
}