返回 Stripe
将 Knoon AI 与 Stripe 连接以自动化 AI 工作流。
Fetch a Stripe coupon by ID.
stripeDefaultRetrieveCoupon
测试版
内部
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| couponId | mustache | Stripe coupon ID (e.g. "25OFF"). | 是的 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| id | string | Coupon ID. |
| name | string | Coupon name when available. |
| percentOff | number | Percent off when available. |
| amountOff | number | Amount off when available. |
| currency | string | Currency for amount off. |
| duration | string | Coupon duration. |
| durationInMonths | number | Duration in months when available. |
| valid | boolean | Whether the coupon is valid. |
| createdAt | string | Coupon creation time (ISO). |
| redeemBy | string | Redeem by time (ISO) when set. |
| maxRedemptions | number | Max redemptions when set. |
| timesRedeemed | number | Times redeemed. |