Curlec · Schema

Plan

A billing plan defining the recurring charge amount and frequency. Reusable across multiple subscriptions.

CompanyPaymentsPayment GatewayRecurring PaymentsSubscriptionDirect DebitFintechMalaysiaDuitNowFPXWebhookRazorpayA2A

Properties

Name Type Description
id string Plan ID. Prefix: plan_
entity string
interval integer Number of periods between charges. For daily period, minimum interval is 7.
period string Billing frequency unit. daily requires interval ≥ 7.
item object The item (price, currency, name) billed each cycle.
notes object
created_at integer
View JSON Schema on GitHub

JSON Schema

curlec-plan-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/curlec/json-schema/curlec-plan-schema.json",
  "title": "Plan",
  "description": "A billing plan defining the recurring charge amount and frequency. Reusable across multiple subscriptions.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/curlec-plans-api-openapi.yml#/components/schemas/Plan",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Plan ID. Prefix: plan_"
    },
    "entity": {
      "type": "string",
      "enum": [
        "plan"
      ]
    },
    "interval": {
      "type": "integer",
      "description": "Number of periods between charges. For daily period, minimum interval is 7."
    },
    "period": {
      "type": "string",
      "enum": [
        "daily",
        "weekly",
        "monthly",
        "quarterly",
        "yearly"
      ],
      "description": "Billing frequency unit. daily requires interval ≥ 7."
    },
    "item": {
      "$ref": "#/$defs/Item",
      "description": "The item (price, currency, name) billed each cycle."
    },
    "notes": {
      "$ref": "#/$defs/Notes"
    },
    "created_at": {
      "type": "integer"
    }
  },
  "$defs": {
    "Item": {
      "type": "object",
      "description": "A reusable catalog item used in invoice line items.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Item ID. Prefix: item_"
        },
        "entity": {
          "type": "string",
          "enum": [
            "item"
          ]
        },
        "active": {
          "type": "boolean",
          "description": "Whether the item is active and available for use in new invoices."
        },
        "amount": {
          "type": "integer",
          "description": "Item price in paise (smallest INR unit)."
        },
        "unit_amount": {
          "type": "integer",
          "description": "Per-unit price in paise."
        },
        "currency": {
          "type": "string",
          "default": "INR"
        },
        "name": {
          "type": "string",
          "description": "Display name of the item."
        },
        "description": {
          "type": "string"
        },
        "created_at": {
          "type": "integer"
        }
      }
    },
    "Notes": {
      "type": "object",
      "description": "Key-value pairs for storing custom metadata. Maximum 15 pairs. Each key and value must not exceed 256 characters.",
      "additionalProperties": {
        "type": "string"
      },
      "maxProperties": 15
    }
  }
}

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/curlec-plan"
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. See our Privacy Policy and Terms.

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