Zurück zu Stripe
Verbinde Knoon AI mit Stripe, um KI-Workflows zu automatisieren.
List Stripe promotion codes.
stripeDefaultListPromotionCodes
Beta
Intern
Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Optionale Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Parameter
| Name | Typ | Beschreibung | Erforderlich |
|---|---|---|---|
| code | mustache | Optional promotion code to match. | Nein |
| customerId | mustache | Optional Stripe customer ID to filter by. | Nein |
| active | mustache | Optional active filter ("true" or "false"). | Nein |
| limit | mustache | Optional max number of promotion codes to return (1-100). Defaults to 10. | Nein |
Rückgaben
| Name | Typ | Beschreibung |
|---|---|---|
| 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). |