Retour à Stripe
Connecter Knoon AI avec Stripe pour automatiser les flux de travail AI.
List Stripe promotion codes.
stripeDefaultListPromotionCodes
Bêta
Interne
Autorisations
Il n'y a aucun élément à afficher.
Autorisations optionnelles
Il n'y a aucun élément à afficher.
Paramètres
| Nom | Type | Description | Requis |
|---|---|---|---|
| code | mustache | Optional promotion code to match. | Non |
| customerId | mustache | Optional Stripe customer ID to filter by. | Non |
| active | mustache | Optional active filter ("true" or "false"). | Non |
| limit | mustache | Optional max number of promotion codes to return (1-100). Defaults to 10. | Non |
Retours
| Nom | Type | Description |
|---|---|---|
| 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). |