SerenAI

Pay Per Call Agentic Commerce

OrganizationPlan

OrganizationPlan tracks which plan an organization is currently on

Properties

PropertyTypeRequiredDescription
cancellation_reason string,null No
cancelled_at string,null No
cancelled_by string,null No
created_at string Yes
ends_at string,null No
id string Yes
is_trial boolean Yes
organization_id string Yes
plan_id string Yes
started_at string Yes
stripe_subscription_id string,null No
trial_ends_at string,null No
updated_at string Yes
View JSON Schema
{
  "type": "object",
  "description": "OrganizationPlan tracks which plan an organization is currently on",
  "required": [
    "id",
    "organization_id",
    "plan_id",
    "started_at",
    "is_trial",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "cancellation_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "cancelled_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "cancelled_by": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "ends_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "is_trial": {
      "type": "boolean"
    },
    "organization_id": {
      "type": "string",
      "format": "uuid"
    },
    "plan_id": {
      "type": "string",
      "format": "uuid"
    },
    "started_at": {
      "type": "string",
      "format": "date-time"
    },
    "stripe_subscription_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "trial_ends_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}