Functions for Stripe's Balance API.
Functions for Stripe's Balance API.
(available-amount {:keys [available]} & [currency])
Returns the current amount in the given currency or USD currently available in our account.
Returns the current amount in the given currency or USD currently available in our account.
(get-all-history & [account-id])
Synchronously fetches all transaction history for an optional Connect account
; otherwise
will fetch from the platform account.
Synchronously fetches all transaction history for an optional Connect `account`; otherwise will fetch from the platform account.
(get-balance)
(get-balance opts)
Returns a channel containing the current account balance, based on the API key that was used to make the request.
Returns a channel containing the current account balance, based on the API key that was used to make the request.
(get-balance-tx id)
(get-balance-tx id opts)
Returns a channel that contains the balance transaction referenced by the supplied ID, or an error if it doesn't exist.
Returns a channel that contains the balance transaction referenced by the supplied ID, or an error if it doesn't exist.
(pending-amount {:keys [pending]} & [currency])
Returns the current amount in the given currency or USD pending in our account.
Returns the current amount in the given currency or USD pending in our account.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close