RapidAPI · Schema

Subscription

API MarketplaceAPI ManagementAPI TestingAPI GatewayAPI DesignEnterprise

Properties

Name Type Description
id string Unique identifier for the subscription
apiId string The API being subscribed to
userId string The subscribing user
plan string Name of the subscription plan
status string Current subscription status
createdAt string Timestamp when the subscription was created
View JSON Schema on GitHub

JSON Schema

rapidapi-subscription-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Subscription",
  "title": "Subscription",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the subscription"
    },
    "apiId": {
      "type": "string",
      "description": "The API being subscribed to"
    },
    "userId": {
      "type": "string",
      "description": "The subscribing user"
    },
    "plan": {
      "type": "string",
      "description": "Name of the subscription plan"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "cancelled",
        "expired"
      ],
      "description": "Current subscription status"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the subscription was created"
    }
  }
}