返回 Stripe
將 Knoon AI 與 Stripe 連接以自動化 AI 工作流程。
Fetch a Stripe promotion code by ID.
stripeDefaultRetrievePromotionCode
測試版
內部
權限
沒有項目可顯示。
可選權限
沒有項目可顯示。
參數
| 名稱 | 類型 | 說明 | 必填 |
|---|---|---|---|
| promotionCodeId | mustache | Stripe promotion code ID (e.g. "promo_12345"). | 是的 |
退貨
| 名稱 | 類型 | 說明 |
|---|---|---|
| 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). |