Liking cljdoc? Tell your friends :D

stripe-clojure.http.request


create-error-responseclj

(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.
sourceraw docstring

make-requestclj

(make-request method url params opts config)

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)
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)
sourceraw docstring

process-responseclj

(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.
sourceraw docstring

send-stripe-api-requestclj

(send-stripe-api-request method url options)

Sends an HTTP request to the Stripe API.

Sends an HTTP request to the Stripe API.
sourceraw docstring

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

× close