返回 Stripe
将 Knoon AI 与 Stripe 连接以自动化 AI 工作流。
Fetch a Stripe subscription by ID and return its status and billing period.
stripeDefaultRetrieveSubscription
测试版
内部
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| subscriptionId | mustache | Stripe subscription ID (e.g. "sub_12345"). | 是的 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| id | string | Subscription ID. |
| status | string | Subscription status (e.g. active, canceled). |
| customerId | string | Stripe customer ID. |
| currentPeriodStart | string | Current period start time (ISO). |
| currentPeriodEnd | string | Current period end time (ISO). |
| cancelAtPeriodEnd | boolean | Whether the subscription is set to cancel at period end. |
| cancelAt | string | Scheduled cancel time (ISO) when set. |
| canceledAt | string | Cancellation time (ISO) when canceled. |
| trialEnd | string | Trial end time (ISO) when set. |
| latestInvoiceId | string | Latest invoice ID when available. |
| items.id | string | Subscription item ID. |
| items.priceId | string | Price ID for the item. |
| items.productId | string | Product ID for the item. |
| items.quantity | number | Item quantity. |