(create-coupon stripe-client params)
(create-coupon stripe-client params opts)
Creates a new coupon that can be applied to subscriptions or invoices.
Stripe API docs: https://stripe.com/docs/api/coupons/create
Creates a new coupon that can be applied to subscriptions or invoices. Stripe API docs: https://stripe.com/docs/api/coupons/create
(delete-coupon stripe-client coupon-id)
(delete-coupon stripe-client coupon-id opts)
Deletes the coupon with the given ID.
Stripe API docs: https://stripe.com/docs/api/coupons/delete
Deletes the coupon with the given ID. Stripe API docs: https://stripe.com/docs/api/coupons/delete
(list-coupons stripe-client)
(list-coupons stripe-client params)
(list-coupons stripe-client params opts)
Returns a list of your coupons.
Stripe API docs: https://stripe.com/docs/api/coupons/list
Returns a list of your coupons. Stripe API docs: https://stripe.com/docs/api/coupons/list
(retrieve-coupon stripe-client coupon-id)
(retrieve-coupon stripe-client coupon-id opts)
Retrieves the coupon with the given ID.
Stripe API docs: https://stripe.com/docs/api/coupons/retrieve
Retrieves the coupon with the given ID. Stripe API docs: https://stripe.com/docs/api/coupons/retrieve
(update-coupon stripe-client coupon-id params)
(update-coupon stripe-client coupon-id params opts)
Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable.
Stripe API docs: https://stripe.com/docs/api/coupons/update
Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable. Stripe API docs: https://stripe.com/docs/api/coupons/update
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close