Functions for Stripe Subscriptions API
Functions for Stripe Subscriptions API
(at-period-end)
Specifies that a cancelled subscription must be continued until the end of the current subscription period.
Specifies that a cancelled subscription must be continued until the end of the current subscription period.
(do-not-prorate)
Specifies that the difference between plans should not be prorated.
Specifies that the difference between plans should not be prorated.
(immediately)
Specifies that a cancelled subscription must be terminated immediately.
Specifies that a cancelled subscription must be terminated immediately.
(prorate)
Specifies that the difference between plans should be prorated.
Specifies that the difference between plans should be prorated.
(subscribe-customer plan customer & extra-info)
Creates a subscription operation for a customer. Requires the plan ID (see common/plan) and the customer ID (see common/customer). Optionally accepts: A coupon code (see common/coupon). Prorate or not the plan switching differente (see prorate and do-not-prorate). End of trial period (see common/trial-end). New credit card to attach to the customer (see common/card).
Creates a subscription operation for a customer. Requires the plan ID (see common/plan) and the customer ID (see common/customer). Optionally accepts: A coupon code (see common/coupon). Prorate or not the plan switching differente (see prorate and do-not-prorate). End of trial period (see common/trial-end). New credit card to attach to the customer (see common/card).
(unsubscribe-customer customer & extra-info)
Creates a subscription cancellation operation for a customer. Requires the customer ID (see common/customer). Optionally accepts a parameter to specify when to end the subscription (see at-period-end and immediately).
Creates a subscription cancellation operation for a customer. Requires the customer ID (see common/customer). Optionally accepts a parameter to specify when to end the subscription (see at-period-end and immediately).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close