(create-instance opts)
Creates and returns a new Stripe client instance without using any global state.
Options include:
Returns a StripeClientInstance record that implements the StripeClient protocol.
Creates and returns a new Stripe client instance without using any global state. Options include: - :api-key (required), - :api-version, :stripe-account, :max-network-retries, :timeout, - :protocol (default: "https"), - :host (default: "api.stripe.com"), :port (default: 443), - :rate-limits (only creates throttler if limits are restrictive), - :use-connection-pool? (default: false), - :pool-options (if pooling is enabled). Returns a StripeClientInstance record that implements the StripeClient protocol.
(mask-client-config client-config)
Returns the client configuration with sensitive data (like the API key) masked.
Returns the client configuration with sensitive data (like the API key) masked.
(merge-client-config base-config request-opts)
Merges per-request options with the instance's configuration.
Merges per-request options with the instance's configuration.
(request instance method endpoint params opts)
Delegates to client/execute-request for backwards compatibility.
Delegates to client/execute-request for backwards compatibility.
(shutdown-connection-manager client-config)
Shuts down the client connection manager if it exists.
Shuts down the client connection manager if it exists.
Defines the operations for Stripe API client instances.
Defines the operations for Stripe API client instances.
(execute-request this method endpoint params opts)
Executes an API request using the instance configuration.
Executes an API request using the instance configuration.
(get-client-config this)
Returns the Stripe configuration with sensitive data masked.
Returns the Stripe configuration with sensitive data masked.
(shutdown this)
Shuts down internal resources (e.g., connection pools).
Shuts down internal resources (e.g., connection pools).
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 |