(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.
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
(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.
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
(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.
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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close