You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Stripe . Coupons . CreateCoupon
Creates a coupon that can be redeemed by customers for a discount.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo uses your API Key to authenticate your account with Stripe, and creates a coupon that can be redeemed by customers for a discount. Note that when setting the Duration input to 'repeating', you will also need to specify a value for the DurationInMonths input variable. The documentation for this Stripe API function can be found here.
The following is a sample of the JSON information returned by this Choreo:
{ "id": "25O2FF", "percent_off": 25, "amount_off": null, "currency": null, "object": "coupon", "livemode": false, "duration": "repeating", "redeem_by": null, "max_redemptions": null, "times_redeemed": 0, "duration_in_months": 3 }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms