Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTransfersTransferReversalsId
Synopsis
- getTransfersTransferReversalsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> String -> GetTransfersTransferReversalsIdRequestBody -> m (Either HttpException (Response GetTransfersTransferReversalsIdResponse))
- getTransfersTransferReversalsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> String -> GetTransfersTransferReversalsIdRequestBody -> m (Either HttpException (Response ByteString))
- getTransfersTransferReversalsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> String -> GetTransfersTransferReversalsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTransfersTransferReversalsIdResponse))
- getTransfersTransferReversalsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> String -> GetTransfersTransferReversalsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetTransfersTransferReversalsIdRequestBody = GetTransfersTransferReversalsIdRequestBody {
- data GetTransfersTransferReversalsIdResponse
Documentation
getTransfersTransferReversalsId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | id | Constraints: Maximum length of 5000 |
-> String | transfer | Constraints: Maximum length of 5000 |
-> GetTransfersTransferReversalsIdRequestBody | The request body to send |
-> m (Either HttpException (Response GetTransfersTransferReversalsIdResponse)) | Monad containing the result of the operation |
GET /v1/transfers/{transfer}/reversals/{id}
<p>By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.</p>
getTransfersTransferReversalsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> String -> GetTransfersTransferReversalsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/transfers/{transfer}/reversals/{id}
The same as getTransfersTransferReversalsId
but returns the raw ByteString
getTransfersTransferReversalsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> String -> GetTransfersTransferReversalsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTransfersTransferReversalsIdResponse)) Source #
GET /v1/transfers/{transfer}/reversals/{id}
Monadic version of getTransfersTransferReversalsId
(use with runWithConfiguration
)
getTransfersTransferReversalsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> String -> GetTransfersTransferReversalsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/transfers/{transfer}/reversals/{id}
Monadic version of getTransfersTransferReversalsIdRaw
(use with runWithConfiguration
)
data GetTransfersTransferReversalsIdRequestBody Source #
Defines the data type for the schema getTransfersTransferReversalsIdRequestBody
Instances
data GetTransfersTransferReversalsIdResponse Source #
Represents a response of the operation getTransfersTransferReversalsId
.
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), GetTransfersTransferReversalsIdResponseError
is used.
GetTransfersTransferReversalsIdResponseError String | Means either no matching case available or a parse error |
GetTransfersTransferReversalsIdResponse200 TransferReversal | Successful response. |
GetTransfersTransferReversalsIdResponseDefault Error | Error response. |