Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postPayoutsPayoutCancel
Synopsis
- postPayoutsPayoutCancel :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe PostPayoutsPayoutCancelRequestBody -> m (Either HttpException (Response PostPayoutsPayoutCancelResponse))
- postPayoutsPayoutCancelRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe PostPayoutsPayoutCancelRequestBody -> m (Either HttpException (Response ByteString))
- postPayoutsPayoutCancelM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostPayoutsPayoutCancelRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostPayoutsPayoutCancelResponse))
- postPayoutsPayoutCancelRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostPayoutsPayoutCancelRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostPayoutsPayoutCancelRequestBody = PostPayoutsPayoutCancelRequestBody {}
- data PostPayoutsPayoutCancelResponse
Documentation
postPayoutsPayoutCancel Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Text | payout | Constraints: Maximum length of 5000 |
-> Maybe PostPayoutsPayoutCancelRequestBody | The request body to send |
-> m (Either HttpException (Response PostPayoutsPayoutCancelResponse)) | Monad containing the result of the operation |
POST /v1/payouts/{payout}/cancel
<p>A previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts.</p>
postPayoutsPayoutCancelRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe PostPayoutsPayoutCancelRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/payouts/{payout}/cancel
The same as postPayoutsPayoutCancel
but returns the raw ByteString
postPayoutsPayoutCancelM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostPayoutsPayoutCancelRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostPayoutsPayoutCancelResponse)) Source #
POST /v1/payouts/{payout}/cancel
Monadic version of postPayoutsPayoutCancel
(use with runWithConfiguration
)
postPayoutsPayoutCancelRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostPayoutsPayoutCancelRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/payouts/{payout}/cancel
Monadic version of postPayoutsPayoutCancelRaw
(use with runWithConfiguration
)
data PostPayoutsPayoutCancelRequestBody Source #
Defines the data type for the schema postPayoutsPayoutCancelRequestBody
PostPayoutsPayoutCancelRequestBody | |
|
data PostPayoutsPayoutCancelResponse Source #
Represents a response of the operation postPayoutsPayoutCancel
.
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), PostPayoutsPayoutCancelResponseError
is used.
PostPayoutsPayoutCancelResponseError String | Means either no matching case available or a parse error |
PostPayoutsPayoutCancelResponse200 Payout | Successful response. |
PostPayoutsPayoutCancelResponseDefault Error | Error response. |