Liking cljdoc? Tell your friends :D

stripe-clojure.coupons


create-couponclj

(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
sourceraw docstring

delete-couponclj

(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
sourceraw docstring

list-couponsclj

(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
sourceraw docstring

retrieve-couponclj

(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
sourceraw docstring

stripe-coupons-endpointclj

source

update-couponclj

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close