{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pricklymails-com/json-schema/pricklymails-com-create-portal-request-schema.json",
  "title": "CreatePortalRequest",
  "description": "Request body for `POST /api/billing/portal`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pricklymails-com-billing-api-openapi.yml#/components/schemas/CreatePortalRequest",
  "type": "object",
  "required": [
    "return_url"
  ],
  "properties": {
    "return_url": {
      "type": "string",
      "description": "URL the user is redirected to when they leave the billing portal."
    }
  }
}