Swell · Schema
Swell Subscription
CommerceHeadless CommerceAPI-FirstB2CB2BSubscriptionMarketplacesWholesaleStorefrontCheckoutPaymentsCartOrderCatalogInternationalization
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| number | string | |
| account_id | string | |
| product_id | string | |
| plan_id | string | |
| status | string | |
| interval | string | |
| interval_count | integer | |
| trial_days | integer | |
| limit | integer | Maximum billing cycles before stopping. |
| price | number | |
| recurring_total | number | |
| date_period_start | string | |
| date_period_end | string | |
| date_canceled | string | |
| date_created | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/swell-io/main/json-schema/swell-subscription-schema.json",
"title": "Swell Subscription",
"type": "object",
"properties": {
"id": { "type": "string", "pattern": "^[a-f0-9]{24}$" },
"number": { "type": "string" },
"account_id": { "type": "string" },
"product_id": { "type": "string" },
"plan_id": { "type": "string" },
"status": {
"type": "string",
"enum": ["active", "paid", "unpaid", "canceled", "trial", "pastdue", "complete", "paused"]
},
"interval": { "type": "string", "enum": ["daily", "weekly", "monthly", "yearly"] },
"interval_count": { "type": "integer", "minimum": 1 },
"trial_days": { "type": "integer", "minimum": 0 },
"limit": { "type": "integer", "minimum": 0, "description": "Maximum billing cycles before stopping." },
"price": { "type": "number" },
"recurring_total": { "type": "number" },
"date_period_start": { "type": "string", "format": "date-time" },
"date_period_end": { "type": "string", "format": "date-time" },
"date_canceled": { "type": "string", "format": "date-time" },
"date_created": { "type": "string", "format": "date-time" }
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/swell-subscription"
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.