Moesif · Schema

AddSubscriptionDTO

AnalyticsMonitoringMonetizationGovernanceObservabilityBillingAI AgentsLLM AnalyticsOpenTelemetryDeveloper PortalPlatformInsightsDeveloper Tools

Properties

Name Type Description
trial_start string
company_id string
start_date string
collection_method string
provider string
items array
current_period_start string
company_external_id string
payment_status string
cancel_time string
status string
trial_end string
external_id string
metadata object
subscription_id string
version_id string
current_period_end string
created string
View JSON Schema on GitHub

JSON Schema

moesif-add-subscription-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moesif/main/json-schema/moesif-add-subscription-dto-schema.json",
  "title": "AddSubscriptionDTO",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moesif-subscriptions-api-openapi.yml#/components/schemas/AddSubscriptionDTO",
  "properties": {
    "trial_start": {
      "type": "string",
      "format": "date-time"
    },
    "company_id": {
      "type": "string"
    },
    "start_date": {
      "type": "string",
      "format": "date-time"
    },
    "collection_method": {
      "type": "string"
    },
    "provider": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubscriptionItem"
      }
    },
    "current_period_start": {
      "type": "string",
      "format": "date-time"
    },
    "company_external_id": {
      "type": "string"
    },
    "payment_status": {
      "type": "string"
    },
    "cancel_time": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "type": "string"
    },
    "trial_end": {
      "type": "string",
      "format": "date-time"
    },
    "external_id": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "subscription_id": {
      "type": "string"
    },
    "version_id": {
      "type": "string"
    },
    "current_period_end": {
      "type": "string",
      "format": "date-time"
    },
    "created": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "subscription_id",
    "company_id",
    "status"
  ],
  "$defs": {
    "SubscriptionItem": {
      "properties": {
        "item_price_id": {
          "type": "string"
        },
        "price_id": {
          "type": "string"
        },
        "is_metered": {
          "type": "boolean"
        },
        "plan_id": {
          "type": "string"
        },
        "unit_of_measure": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "subscription_item_id": {
          "type": "string"
        }
      },
      "required": [
        "plan_id"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/moesif-add-subscription-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.