HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Operations.PostFiles

Contains the different functions to run the operation postFiles

  • 1 type
  • 1 value
valuepostFiles
  1. :: MonadHTTP m
  2. => ClientT m (Response PostFilesResponse)

    Monadic computation which returns the result of the operation

#
POST /v1/files

<p>To upload a file to Stripe, you’ll need to send a request of type <code>multipart/form-data</code>. The request should contain the file you would like to upload, as well as the parameters for creating a file.</p>

<p>All of Stripe’s officially supported Client libraries should have support for sending <code>multipart/form-data</code>.</p>

datadata PostFilesResponse
#

Represents a response of the operation postFiles.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostFilesResponseError is used.

Constructors

Instances2Eq, Show