Recur · Schema
CreateCheckoutSessionResponse
SubscriptionPaymentsCreator EconomyTaiwanSoftware-as-a-Service
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Checkout Session ID |
| url | string | Hosted checkout page URL |
| expires_at | string | When the session expires (30 minutes after creation) |
| amount | integer | Amount actually charged after discount (whole TWD) |
| requires_payment_method | boolean | Whether a card is required. Derived from `collectPaymentMethod` and the amount: - `always` → always `true` - `if_required` with amount > 0 → `true` - `if_required` with amount = 0 → `false` |
| client_secret | string | PaymentIntent client secret, used by the client SDK to poll status safely |
| discount | object | Discount details, present only when a promotion code was applied |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/recur-tw/json-schema/recur-tw-create-checkout-session-response-schema.json",
"title": "CreateCheckoutSessionResponse",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/recur-tw-openapi.json#/components/schemas/CreateCheckoutSessionResponse",
"type": "object",
"required": [
"id",
"url",
"expires_at",
"amount",
"requires_payment_method"
],
"properties": {
"id": {
"type": "string",
"description": "Checkout Session ID"
},
"url": {
"type": "string",
"format": "uri",
"description": "Hosted checkout page URL"
},
"expires_at": {
"type": "string",
"format": "date-time",
"description": "When the session expires (30 minutes after creation)"
},
"amount": {
"type": "integer",
"description": "Amount actually charged after discount (whole TWD)"
},
"requires_payment_method": {
"type": "boolean",
"description": "Whether a card is required. Derived from `collectPaymentMethod` and the amount:\n- `always` → always `true`\n- `if_required` with amount > 0 → `true`\n- `if_required` with amount = 0 → `false`\n"
},
"client_secret": {
"type": "string",
"description": "PaymentIntent client secret, used by the client SDK to poll status safely"
},
"discount": {
"type": "object",
"description": "Discount details, present only when a promotion code was applied",
"properties": {
"code": {
"type": "string",
"description": "Promotion code"
},
"coupon_id": {
"type": "string",
"description": "Coupon ID"
},
"coupon_name": {
"type": "string",
"description": "Coupon name"
},
"discount_type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED_AMOUNT",
"FIRST_PERIOD_PRICE"
]
},
"discount_amount": {
"type": "integer",
"description": "Discount amount (whole TWD)"
},
"final_amount": {
"type": "integer",
"description": "Amount after discount"
},
"original_amount": {
"type": "integer",
"description": "Original price"
}
}
}
}
}
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-create-checkout-session-response"
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.