Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postPayoutsPayout
Synopsis
- postPayoutsPayout :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostPayoutsPayoutRequestBody -> m (Either HttpException (Response PostPayoutsPayoutResponse))
- postPayoutsPayoutRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostPayoutsPayoutRequestBody -> m (Either HttpException (Response ByteString))
- postPayoutsPayoutM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostPayoutsPayoutRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostPayoutsPayoutResponse))
- postPayoutsPayoutRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostPayoutsPayoutRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostPayoutsPayoutRequestBody = PostPayoutsPayoutRequestBody {}
- data PostPayoutsPayoutRequestBodyMetadata' = PostPayoutsPayoutRequestBodyMetadata' {
- data PostPayoutsPayoutResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | payout | Constraints: Maximum length of 5000 |
-> PostPayoutsPayoutRequestBody | The request body to send |
-> m (Either HttpException (Response PostPayoutsPayoutResponse)) | Monad containing the result of the operation |
POST /v1/payouts/{payout}
<p>Updates the specified payout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. This request accepts only the metadata as arguments.</p>
postPayoutsPayoutRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostPayoutsPayoutRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/payouts/{payout}
The same as postPayoutsPayout
but returns the raw ByteString
postPayoutsPayoutM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostPayoutsPayoutRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostPayoutsPayoutResponse)) Source #
POST /v1/payouts/{payout}
Monadic version of postPayoutsPayout
(use with runWithConfiguration
)
postPayoutsPayoutRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostPayoutsPayoutRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/payouts/{payout}
Monadic version of postPayoutsPayoutRaw
(use with runWithConfiguration
)
data PostPayoutsPayoutRequestBody Source #
Defines the data type for the schema postPayoutsPayoutRequestBody
PostPayoutsPayoutRequestBody | |
|
Instances
data PostPayoutsPayoutRequestBodyMetadata' Source #
Defines the data type for the schema postPayoutsPayoutRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
data PostPayoutsPayoutResponse Source #
Represents a response of the operation postPayoutsPayout
.
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), PostPayoutsPayoutResponseError
is used.
PostPayoutsPayoutResponseError String | Means either no matching case available or a parse error |
PostPayoutsPayoutResponse200 Payout | Successful response. |
PostPayoutsPayoutResponseDefault Error | Error response. |