ย้อนกลับไปยัง 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. |