Stripe Tools
Stripe Create Coupon
Aident Loadout के माध्यम से Stripe Tools के साथ Stripe Create Coupon का उपयोग करें। चलाने से पहले इनपुट, आउटपुट, सेटअप, मूल्य और जोखिम देखें।
राइट Actionजोखिम स्तर 2/5OAuth कनेक्शन
प्रदाता विवरण
Creates a new discount coupon in Stripe with percentage or fixed amount discount. Use when creating promotional discounts for customers.
मूल्य और सीमाएँ
- मूल्य
- मुफ़्त Action
- एकीकृत भुगतान
- अभी समर्थित नहीं
इनपुट
- Unique identifier for the coupon. If not provided, Stripe will generate one automatically.idstring
- Name of the coupon displayed to customers on invoices or receipts. Maximum 40 characters.namestring
- Three-letter ISO currency code in lowercase (e.g., 'usd', 'eur'). Required if amount_off is passed.currencystring
- Specifies how long the discount applies. 'once' applies to a single invoice, 'forever' applies to all invoices indefinitely, 'repeating' applies to invoices for a specified number of months.durationstring
- Set of key-value pairs for storing additional structured information about the coupon.metadataobject
- Unix timestamp specifying the last time at which the coupon can be redeemed.redeem_byinteger
- A positive integer representing the amount to subtract from an invoice total in the smallest currency unit (e.g., cents for USD). Required if percent_off is not passed.amount_offinteger
- Specifies which products this coupon applies to.applies_toobject
- A positive float larger than 0 and smaller or equal to 100 that represents the discount percentage. Required if amount_off is not passed.percent_offnumber
- A positive integer specifying the maximum number of times this coupon can be redeemed before it becomes invalid.max_redemptionsinteger
- Coupons defined in each available currency option. Each key must be a three-letter ISO currency code.currency_optionsobject
- Required only if duration is 'repeating'. Must be a positive integer specifying the number of months the discount is valid.duration_in_monthsinteger
देखा जा सकने वाला आउटपुट
- Data from the action executiondataआवश्यक
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanआवश्यक
इस Action का उपयोग करने वाली Skills
संबंधित उपयोग के मामले
अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।