返回 Stripe
将 Knoon AI 与 Stripe 连接以自动化 AI 工作流。
List Stripe promotion codes.
stripeDefaultListPromotionCodes
测试版
内部
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| code | mustache | Optional promotion code to match. | 没有 |
| customerId | mustache | Optional Stripe customer ID to filter by. | 没有 |
| active | mustache | Optional active filter ("true" or "false"). | 没有 |
| limit | mustache | Optional max number of promotion codes to return (1-100). Defaults to 10. | 没有 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| id | string | Promotion code ID. |
| code | string | Promotion code. |
| active | boolean | Whether the promotion code is active. |
| couponId | string | Coupon ID tied to the promotion. |
| maxRedemptions | number | Max redemptions when set. |
| timesRedeemed | number | Times redeemed. |
| createdAt | string | Promotion code creation time (ISO). |