Functions for Stripe Charges API
Functions for Stripe Charges API
(create-charge money-quantity & extra-info)Creates a new charge operation. Requires one money quantity (see common/money-quantity), and either a customer (see common/customer) or a card (see common/card). Optionally accepts a desciption (see common/description). Execute the operation using common/execute.
Creates a new charge operation. Requires one money quantity (see common/money-quantity), and either a customer (see common/customer) or a card (see common/card). Optionally accepts a desciption (see common/description). Execute the operation using common/execute.
(create-refund charge-id)(create-refund charge-id amount)Creates a charge-refund operation. Requires the charge id (as a string). Optionally accepts the amount to be refunded (see common/amount). Execute the operation using common/execute.
Creates a charge-refund operation. Requires the charge id (as a string). Optionally accepts the amount to be refunded (see common/amount). Execute the operation using common/execute.
(get-all-charges & extra-info)Creates a new get-all-charges operation. Optionally accepts a customer (see common/customer), offset and count (see common/offset, common/limit-count and common/position). Execute the operation using common/execute.
Creates a new get-all-charges operation. Optionally accepts a customer (see common/customer), offset and count (see common/offset, common/limit-count and common/position). Execute the operation using common/execute.
(get-charge charge-id)Creates a new get-charge operation. Requires a charge id as a string. Execute the operation using common/execute.
Creates a new get-charge operation. Requires a charge id as a string. Execute the operation using common/execute.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |