{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentry-com/json-schema/agentry-com-routes-payments-checkout-request-schema.json",
  "title": "CheckoutRequest",
  "description": "Request to create a Stripe checkout session.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentry-com-payments-api-openapi.yml#/components/schemas/routes__payments__CheckoutRequest",
  "properties": {
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "customer_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Customer Email"
    },
    "success_url": {
      "type": "string",
      "title": "Success Url",
      "default": "https://agentry.com/pricing/?payment=success"
    },
    "cancel_url": {
      "type": "string",
      "title": "Cancel Url",
      "default": "https://agentry.com/pricing/?payment=cancelled"
    }
  },
  "type": "object",
  "required": [
    "tier"
  ]
}