Indietro a Stripe
Connetti Knoon AI con Stripe per automatizzare i flussi di lavoro AI.
Fetch a Stripe coupon by ID.
stripeDefaultRetrieveCoupon
Beta
Interno
Autorizzazioni
Non ci sono elementi da visualizzare.
Autorizzazioni facoltative
Non ci sono elementi da visualizzare.
Parametri
| Nome | Tipo | Descrizione | Obbligatorio |
|---|---|---|---|
| couponId | mustache | Stripe coupon ID (e.g. "25OFF"). | Sì |
Resi
| Nome | Tipo | Descrizione |
|---|---|---|
| id | string | Coupon ID. |
| name | string | Coupon name when available. |
| percentOff | number | Percent off when available. |
| amountOff | number | Amount off when available. |
| currency | string | Currency for amount off. |
| duration | string | Coupon duration. |
| durationInMonths | number | Duration in months when available. |
| valid | boolean | Whether the coupon is valid. |
| createdAt | string | Coupon creation time (ISO). |
| redeemBy | string | Redeem by time (ISO) when set. |
| maxRedemptions | number | Max redemptions when set. |
| timesRedeemed | number | Times redeemed. |