Назад к Stripe

Подключите Knoon AI к Stripe, чтобы автоматизировать AI рабочие процессы.

Fetch a Stripe subscription by ID and return its status and billing period.
stripeDefaultRetrieveSubscription
Бета
Внутренний
Разрешения
Нет элементов для отображения.
Опциональные разрешения
Нет элементов для отображения.
Параметры
ИмяТипОписаниеОбязательно
subscriptionIdmustache Stripe subscription ID (e.g. "sub_12345").Да
Возвраты
ИмяТипОписание
idstring Subscription ID.
statusstring Subscription status (e.g. active, canceled).
customerIdstring Stripe customer ID.
currentPeriodStartstring Current period start time (ISO).
currentPeriodEndstring Current period end time (ISO).
cancelAtPeriodEndboolean Whether the subscription is set to cancel at period end.
cancelAtstring Scheduled cancel time (ISO) when set.
canceledAtstring Cancellation time (ISO) when canceled.
trialEndstring Trial end time (ISO) when set.
latestInvoiceIdstring Latest invoice ID when available.
items.idstring Subscription item ID.
items.priceIdstring Price ID for the item.
items.productIdstring Product ID for the item.
items.quantitynumber Item quantity.