返回 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). |