Cayra · Schema

SubscriptionResponse

Artificial IntelligenceEnterpriseDecision IntelligenceERPDatabase

Properties

Name Type Description
has_subscription boolean
status object
billing_cycle object
current_period_end object
cancel_at_period_end boolean
package object
current_balance object
warnings array
package_features object
pending_downgrade_package_name object
View JSON Schema on GitHub

JSON Schema

cayra-io-subscription-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cayra-io/json-schema/cayra-io-subscription-response-schema.json",
  "title": "SubscriptionResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cayra-io-stripe-api-openapi.yml#/components/schemas/SubscriptionResponse",
  "properties": {
    "has_subscription": {
      "type": "boolean",
      "title": "Has Subscription"
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "billing_cycle": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Billing Cycle"
    },
    "current_period_end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period End"
    },
    "cancel_at_period_end": {
      "type": "boolean",
      "title": "Cancel At Period End",
      "default": false
    },
    "package": {
      "anyOf": [
        {
          "$ref": "#/$defs/PackageInfo"
        },
        {
          "type": "null"
        }
      ]
    },
    "current_balance": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Balance"
    },
    "warnings": {
      "items": {
        "$ref": "#/$defs/SubscriptionWarning"
      },
      "type": "array",
      "title": "Warnings",
      "default": []
    },
    "package_features": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Package Features"
    },
    "pending_downgrade_package_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pending Downgrade Package Name"
    }
  },
  "type": "object",
  "required": [
    "has_subscription"
  ],
  "$defs": {
    "PackageInfo": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "code": {
          "type": "string",
          "title": "Code"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "credits_total": {
          "type": "integer",
          "title": "Credits Total"
        },
        "price_usd_monthly": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Price Usd Monthly"
        },
        "price_usd_yearly": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Price Usd Yearly"
        }
      },
      "type": "object",
      "required": [
        "id",
        "code",
        "name",
        "credits_total"
      ],
      "title": "PackageInfo"
    },
    "SubscriptionWarning": {
      "properties": {
        "type": {
          "type": "string",
          "title": "Type"
        },
        "message": {
          "type": "string",
          "title": "Message"
        },
        "severity": {
          "type": "string",
          "title": "Severity"
        }
      },
      "type": "object",
      "required": [
        "type",
        "message",
        "severity"
      ],
      "title": "SubscriptionWarning"
    }
  }
}

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/cayra-io-subscription-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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