Recur · Schema
Subscription
A subscription with its product, customer and 10 most recent invoices
SubscriptionPaymentsCreator EconomyTaiwanSoftware-as-a-Service
Properties
| Name | Type | Description |
|---|---|---|
| object | string | |
| id | string | |
| status | string | |
| product | object | |
| customer | object | |
| amount | integer | TWD, a whole number (499 is NT$499) |
| interval | string | |
| interval_count | integer | |
| current_period_start | string | |
| current_period_end | string | |
| cancel_at_period_end | boolean | |
| canceled_at | stringnull | |
| started_at | stringnull | |
| trial_start | stringnull | |
| trial_end | stringnull | |
| coupon | objectnull | |
| promotion_code_id | stringnull | |
| discount_amount | integer | Discount the coupon gives on the product price, in TWD |
| invoices | array | The 10 most recent invoices |
| metadata | objectnull | |
| created_at | string | |
| livemode | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/recur-tw/json-schema/recur-tw-subscription-schema.json",
"title": "Subscription",
"description": "A subscription with its product, customer and 10 most recent invoices",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/recur-tw-openapi.json#/components/schemas/Subscription",
"type": "object",
"required": [
"object",
"id",
"status",
"product",
"customer",
"amount",
"interval",
"interval_count",
"current_period_start",
"current_period_end",
"cancel_at_period_end",
"created_at",
"livemode"
],
"properties": {
"object": {
"type": "string",
"enum": [
"subscription"
]
},
"id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"PENDING",
"TRIAL",
"ACTIVE",
"PAST_DUE",
"CANCELED",
"EXPIRED"
]
},
"product": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"price": {
"type": "integer",
"description": "TWD, a whole number (499 is NT$499)"
},
"interval": {
"type": "string"
},
"interval_count": {
"type": "integer"
}
}
},
"customer": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"email": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"external_id": {
"type": [
"string",
"null"
]
}
}
},
"amount": {
"type": "integer",
"description": "TWD, a whole number (499 is NT$499)"
},
"interval": {
"type": "string"
},
"interval_count": {
"type": "integer"
},
"current_period_start": {
"type": "string",
"format": "date-time"
},
"current_period_end": {
"type": "string",
"format": "date-time"
},
"cancel_at_period_end": {
"type": "boolean"
},
"canceled_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"started_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"trial_start": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"trial_end": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"coupon": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"discount_type": {
"type": "string"
},
"discount_amount": {
"type": "integer"
},
"duration": {
"type": "string"
},
"duration_months": {
"type": [
"integer",
"null"
]
}
}
},
"promotion_code_id": {
"type": [
"string",
"null"
]
},
"discount_amount": {
"type": "integer",
"description": "Discount the coupon gives on the product price, in TWD"
},
"invoices": {
"type": "array",
"description": "The 10 most recent invoices",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"amount": {
"type": "integer"
},
"period_start": {
"type": "string",
"format": "date-time"
},
"period_end": {
"type": "string",
"format": "date-time"
},
"paid_at": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
}
},
"metadata": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"created_at": {
"type": "string",
"format": "date-time"
},
"livemode": {
"type": "boolean"
}
}
}
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/recur-tw-subscription"
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.