ASAP · Schema
SubscriptionView
Subscription view returned by `GET /v1/billing/subscription`.
FreelanceBillingCRMProductivity
Properties
| Name | Type | Description |
|---|---|---|
| cancel_at_period_end | boolean | `true` when the user has scheduled an end-of-period cancellation. |
| card | object | |
| current_period_end | integernull | `current_period_end` as a Unix timestamp (seconds), when known. |
| plan | string | Resolved plan slug (`starter`, `solo`, `studio`). |
| status | stringnull | Stripe subscription status as a lowercase string, when a row exists. |
| trial_end | integernull | End of the trial as a Unix timestamp (seconds), when in trial: a Stripe trial, or the 14-day reverse trial every new org starts with (`status` is then absent and `plan` is `solo`). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-subscription-view-schema.json",
"title": "SubscriptionView",
"description": "Subscription view returned by `GET /v1/billing/subscription`.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/asap-cool-billing-api-openapi.yml#/components/schemas/SubscriptionView",
"type": "object",
"required": [
"plan",
"cancel_at_period_end"
],
"properties": {
"cancel_at_period_end": {
"type": "boolean",
"description": "`true` when the user has scheduled an end-of-period cancellation."
},
"card": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/$defs/CardView",
"description": "Card on file, when one has been captured."
}
]
},
"current_period_end": {
"type": [
"integer",
"null"
],
"format": "int64",
"description": "`current_period_end` as a Unix timestamp (seconds), when known."
},
"plan": {
"type": "string",
"description": "Resolved plan slug (`starter`, `solo`, `studio`)."
},
"status": {
"type": [
"string",
"null"
],
"description": "Stripe subscription status as a lowercase string, when a row exists."
},
"trial_end": {
"type": [
"integer",
"null"
],
"format": "int64",
"description": "End of the trial as a Unix timestamp (seconds), when in trial: a\nStripe trial, or the 14-day reverse trial every new org starts with\n(`status` is then absent and `plan` is `solo`)."
}
},
"$defs": {
"CardView": {
"type": "object",
"description": "Card on file as exposed by `GET /v1/billing/subscription`.",
"required": [
"brand",
"last4",
"exp_month",
"exp_year"
],
"properties": {
"brand": {
"type": "string",
"description": "Card brand (`visa`, `mastercard`, …)."
},
"exp_month": {
"type": "integer",
"format": "int32",
"description": "Expiration month (1–12)."
},
"exp_year": {
"type": "integer",
"format": "int32",
"description": "Expiration year (four digits)."
},
"last4": {
"type": "string",
"description": "Last four digits."
}
}
}
}
}
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/asap-cool-subscription-view"
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.