Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postApplicationFeesIdRefund
Synopsis
- postApplicationFeesIdRefund :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe PostApplicationFeesIdRefundRequestBody -> m (Either HttpException (Response PostApplicationFeesIdRefundResponse))
- postApplicationFeesIdRefundRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe PostApplicationFeesIdRefundRequestBody -> m (Either HttpException (Response ByteString))
- postApplicationFeesIdRefundM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostApplicationFeesIdRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostApplicationFeesIdRefundResponse))
- postApplicationFeesIdRefundRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostApplicationFeesIdRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostApplicationFeesIdRefundRequestBody = PostApplicationFeesIdRefundRequestBody {}
- data PostApplicationFeesIdRefundResponse
Documentation
postApplicationFeesIdRefund Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Text | id | Constraints: Maximum length of 5000 |
-> Maybe PostApplicationFeesIdRefundRequestBody | The request body to send |
-> m (Either HttpException (Response PostApplicationFeesIdRefundResponse)) | Monad containing the result of the operation |
POST /v1/application_fees/{id}/refund
postApplicationFeesIdRefundRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe PostApplicationFeesIdRefundRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/application_fees/{id}/refund
The same as postApplicationFeesIdRefund
but returns the raw ByteString
postApplicationFeesIdRefundM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostApplicationFeesIdRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostApplicationFeesIdRefundResponse)) Source #
POST /v1/application_fees/{id}/refund
Monadic version of postApplicationFeesIdRefund
(use with runWithConfiguration
)
postApplicationFeesIdRefundRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostApplicationFeesIdRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/application_fees/{id}/refund
Monadic version of postApplicationFeesIdRefundRaw
(use with runWithConfiguration
)
data PostApplicationFeesIdRefundRequestBody Source #
Defines the data type for the schema postApplicationFeesIdRefundRequestBody
PostApplicationFeesIdRefundRequestBody | |
|
data PostApplicationFeesIdRefundResponse Source #
Represents a response of the operation postApplicationFeesIdRefund
.
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), PostApplicationFeesIdRefundResponseError
is used.
PostApplicationFeesIdRefundResponseError String | Means either no matching case available or a parse error |
PostApplicationFeesIdRefundResponse200 ApplicationFee | Successful response. |
PostApplicationFeesIdRefundResponseDefault Error | Error response. |