Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postTransfersTransferReversalsId
Synopsis
- postTransfersTransferReversalsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostTransfersTransferReversalsIdRequestBody -> m (Either HttpException (Response PostTransfersTransferReversalsIdResponse))
- postTransfersTransferReversalsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostTransfersTransferReversalsIdRequestBody -> m (Either HttpException (Response ByteString))
- postTransfersTransferReversalsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostTransfersTransferReversalsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostTransfersTransferReversalsIdResponse))
- postTransfersTransferReversalsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostTransfersTransferReversalsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostTransfersTransferReversalsIdRequestBody = PostTransfersTransferReversalsIdRequestBody {}
- data PostTransfersTransferReversalsIdRequestBodyMetadata' = PostTransfersTransferReversalsIdRequestBodyMetadata' {
- data PostTransfersTransferReversalsIdResponse
Documentation
postTransfersTransferReversalsId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | id | Constraints: Maximum length of 5000 |
-> String | transfer | Constraints: Maximum length of 5000 |
-> PostTransfersTransferReversalsIdRequestBody | The request body to send |
-> m (Either HttpException (Response PostTransfersTransferReversalsIdResponse)) | Monad containing the result of the operation |
POST /v1/transfers/{transfer}/reversals/{id}
<p>Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>
<p>This request only accepts metadata and description as arguments.</p>
postTransfersTransferReversalsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostTransfersTransferReversalsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/transfers/{transfer}/reversals/{id}
The same as postTransfersTransferReversalsId
but returns the raw ByteString
postTransfersTransferReversalsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostTransfersTransferReversalsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostTransfersTransferReversalsIdResponse)) Source #
POST /v1/transfers/{transfer}/reversals/{id}
Monadic version of postTransfersTransferReversalsId
(use with runWithConfiguration
)
postTransfersTransferReversalsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostTransfersTransferReversalsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/transfers/{transfer}/reversals/{id}
Monadic version of postTransfersTransferReversalsIdRaw
(use with runWithConfiguration
)
data PostTransfersTransferReversalsIdRequestBody Source #
Defines the data type for the schema postTransfersTransferReversalsIdRequestBody
PostTransfersTransferReversalsIdRequestBody | |
|
Instances
data PostTransfersTransferReversalsIdRequestBodyMetadata' Source #
Defines the data type for the schema postTransfersTransferReversalsIdRequestBodyMetadata'
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`.
Instances
data PostTransfersTransferReversalsIdResponse Source #
Represents a response of the operation postTransfersTransferReversalsId
.
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), PostTransfersTransferReversalsIdResponseError
is used.
PostTransfersTransferReversalsIdResponseError String | Means either no matching case available or a parse error |
PostTransfersTransferReversalsIdResponse200 TransferReversal | Successful response. |
PostTransfersTransferReversalsIdResponseDefault Error | Error response. |