Liking cljdoc? Tell your friends :D

stripe.charge


amount-availableclj

(amount-available charge)

Returns the amount that the charge is actually worth, or the amount available for further refunds.

Returns the amount that the charge is actually worth, or the amount
available for further refunds.
sourceraw docstring

amount-refundedclj

(amount-refunded charge)

Returns the total amount that was refunded for the charge.

Returns the total amount that was refunded for the charge.
sourceraw docstring

capture!clj

(capture! charge-id params)
(capture! charge-id params opts)

Returns an updated charge with captured property set to true. If charge is already refunded, expired, captured, or an invalid capture amount is specified, returns an error.

Returns an updated charge with captured property set to true. If charge is already refunded, expired, captured, or an invalid capture amount is specified, returns an error.
sourceraw docstring

capture-params?clj

Is the argument a valid capture request?

Is the argument a valid capture request?
sourceraw docstring

charge-amount?clj

Is the argument a valid charge amount?

Is the argument a valid charge amount?
sourceraw docstring

charge-params?clj

Is the argument a valid charge request?

Is the argument a valid charge request?
sourceraw docstring

charge?clj

Is the argument a charge?

Is the argument a charge?
sourceraw docstring

create!clj

(create! amount params)
(create! amount {:keys [currency] :or {currency "usd"} :as params} opts)

Create a charge.

Create a charge.
sourceraw docstring

fetchclj

(fetch charge-id)
(fetch charge-id opts)

Returns a channel containing the charge if it exists, or an error if it doesn't.

Returns a channel containing the charge if it exists, or an error if it
doesn't.
sourceraw docstring

fetch-allclj

(fetch-all params)
(fetch-all params opts)

Returns a channel containing all charges if they exist up to a certain limit, if specified. If charges do not exist, return will be an empty vector.

Returns a channel containing all charges if they exist up to a certain limit, if specified. If charges do not exist, return will be an empty vector.
sourceraw docstring

fetch-all-params?clj

Is the argument a valid fetch all request?

Is the argument a valid fetch all request?
sourceraw docstring

update!clj

(update! charge-id params)
(update! charge-id params opts)

Returns an updated charge with values for any of the following arguments: customer, description, fraud details, metadata, receipt email, shipping. If any parameters are invalid, returns an error.

Returns an updated charge with values for any of the following arguments: customer, description, fraud details, metadata, receipt email, shipping. If any parameters are invalid, returns an error.
sourceraw docstring

update-params?clj

Is the argument a valid update request?

Is the argument a valid update request?
sourceraw docstring

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

× close