Liking cljdoc? Tell your friends :D

stripe-clojure.files


create-fileclj

(create-file stripe-client file-path purpose)
(create-file stripe-client file-path purpose opts)

Creates a new file upload.

Arguments: file-path: Path to the file to be uploaded purpose: Purpose of the file (e.g., 'dispute_evidence', 'identity_document') opts: Additional options (e.g., :stripe-account for Connect)

Returns: A File object if successful, an error object otherwise.

Docs: https://stripe.com/docs/api/files/create

Creates a new file upload.

Arguments:
  file-path: Path to the file to be uploaded
  purpose: Purpose of the file (e.g., 'dispute_evidence', 'identity_document')
  opts: Additional options (e.g., :stripe-account for Connect)

Returns: 
  A File object if successful, an error object otherwise.

Docs: https://stripe.com/docs/api/files/create
sourceraw docstring

list-filesclj

(list-files stripe-client)
(list-files stripe-client params)
(list-files stripe-client params opts)

Returns a list of file objects.

Arguments: params: Map of parameters (e.g., :purpose, :limit) opts: Additional options (e.g., :stripe-account for Connect)

Returns: A map with :data as a sequence of File objects if successful, an error object otherwise.

Docs: https://stripe.com/docs/api/files/list

Returns a list of file objects.

Arguments:
  params: Map of parameters (e.g., :purpose, :limit)
  opts: Additional options (e.g., :stripe-account for Connect)

Returns:
  A map with :data as a sequence of File objects if successful, 
  an error object otherwise.

Docs: https://stripe.com/docs/api/files/list
sourceraw docstring

retrieve-fileclj

(retrieve-file stripe-client id)
(retrieve-file stripe-client id opts)

Retrieves the details of an existing file object.

Arguments: id: The identifier of the file to be retrieved. opts: Additional options (e.g., :stripe-account for Connect)

Returns: A File object if successful, an error object otherwise.

Docs: https://stripe.com/docs/api/files/retrieve

Retrieves the details of an existing file object.

Arguments:
  id: The identifier of the file to be retrieved.
  opts: Additional options (e.g., :stripe-account for Connect)

Returns:
  A File object if successful, an error object otherwise.

Docs: https://stripe.com/docs/api/files/retrieve
sourceraw docstring

stripe-files-endpointclj

source

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

× close