Recur · Schema

CheckoutSession

SubscriptionPaymentsCreator EconomyTaiwanSoftware-as-a-Service

Properties

Name Type Description
id string
status string Session status: - `OPEN`: awaiting payment - `COMPLETE`: paid - `EXPIRED`: expired
mode string
customer_email stringnull Customer email
customer_name stringnull Customer name
order_id stringnull ID of the created order
subscription_id stringnull ID of the created subscription (SUBSCRIPTION mode only)
payment_intent_id stringnull PaymentIntent ID
amount_total integer Total amount. TWD is a whole-number integer: 499 means NT$499, not cents
currency string
product object
expires_at string
created_at string
completed_at stringnull
View JSON Schema on GitHub

JSON Schema

recur-tw-checkout-session-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recur-tw/json-schema/recur-tw-checkout-session-schema.json",
  "title": "CheckoutSession",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recur-tw-openapi.json#/components/schemas/CheckoutSession",
  "type": "object",
  "required": [
    "id",
    "status",
    "mode",
    "amount_total",
    "currency",
    "product",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "OPEN",
        "COMPLETE",
        "EXPIRED"
      ],
      "description": "Session status:\n- `OPEN`: awaiting payment\n- `COMPLETE`: paid\n- `EXPIRED`: expired\n"
    },
    "mode": {
      "type": "string",
      "enum": [
        "PAYMENT",
        "SUBSCRIPTION",
        "SETUP"
      ]
    },
    "customer_email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email",
      "description": "Customer email"
    },
    "customer_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Customer name"
    },
    "order_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "ID of the created order"
    },
    "subscription_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "ID of the created subscription (SUBSCRIPTION mode only)"
    },
    "payment_intent_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "PaymentIntent ID"
    },
    "amount_total": {
      "type": "integer",
      "description": "Total amount. TWD is a whole-number integer: 499 means NT$499, not cents"
    },
    "currency": {
      "type": "string"
    },
    "product": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "completed_at": {
      "type": [
        "string",
        "null"
      ],
      "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/recur-tw-checkout-session"
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.