(create-error-response response full-response?)
Creates a structured error response from the original response. If full-response? is true, it returns the full response with parsed body. Otherwise, it returns a simplified error object.
Creates a structured error response from the original response. If full-response? is true, it returns the full response with parsed body. Otherwise, it returns a simplified error object.
(make-request method url params opts config)
Makes an HTTP request to the Stripe API with retry capability for idempotent requests.
Parameters:
Makes an HTTP request to the Stripe API with retry capability for idempotent requests. Parameters: - method: The HTTP method as a keyword (:get, :post, or :delete) - url: The full URL for the API endpoint - params: A map of parameters to send with the request - opts: A map of additional options - config: The effective configuration (from closure)
(process-response response full-response?)
Process the response based on its status and the full-response flag.
Process the response based on its status and the full-response flag.
(send-stripe-api-request method url options)
Sends an HTTP request to the Stripe API.
Sends an HTTP request to the Stripe API.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close