Functions for Stripe Plans API
Functions for Stripe Plans API
(create-plan id money-amount interval name & extra-info)
Defines a create plan operation. Requires: The plan id as a string. The amount of money to be billed (see common/money-quantity). The billing period (see monthly and yearly). The name of the plan as a string. Optionally accepts the number of days of free trial (see trial-period-days).
Defines a create plan operation. Requires: The plan id as a string. The amount of money to be billed (see common/money-quantity). The billing period (see monthly and yearly). The name of the plan as a string. Optionally accepts the number of days of free trial (see trial-period-days).
(delete-plan id)
Creates a delete plan operation. Requires the ID of the plan as a string.
Creates a delete plan operation. Requires the ID of the plan as a string.
(get-all-plans & extra-info)
Creates a get all plans operation. Optionally accepts a count and an offset (see common/limit-count and common/offset) or alternatively an interval (see common/position).
Creates a get all plans operation. Optionally accepts a count and an offset (see common/limit-count and common/offset) or alternatively an interval (see common/position).
(get-plan id)
Defines a get plan operation. Requires the ID of the plan as a string.
Defines a get plan operation. Requires the ID of the plan as a string.
(monthly)
Specifies that the plan is billed monthly.
Specifies that the plan is billed monthly.
(trial-period-days td)
Specifies the amount of days that the plan is free to try.
Specifies the amount of days that the plan is free to try.
(yearly)
Specifies that the plan is billed yearly.
Specifies that the plan is billed yearly.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close