Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getBalanceHistoryId
Synopsis
- getBalanceHistoryId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Text -> Maybe GetBalanceHistoryIdRequestBody -> m (Either HttpException (Response GetBalanceHistoryIdResponse))
- getBalanceHistoryIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Text -> Maybe GetBalanceHistoryIdRequestBody -> m (Either HttpException (Response ByteString))
- getBalanceHistoryIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Text -> Maybe GetBalanceHistoryIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetBalanceHistoryIdResponse))
- getBalanceHistoryIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Text -> Maybe GetBalanceHistoryIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetBalanceHistoryIdRequestBody = GetBalanceHistoryIdRequestBody {
- data GetBalanceHistoryIdResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe Text | expand: Specifies which fields in the response should be expanded. |
-> Text | id | Constraints: Maximum length of 5000 |
-> Maybe GetBalanceHistoryIdRequestBody | The request body to send |
-> m (Either HttpException (Response GetBalanceHistoryIdResponse)) | Monad containing the result of the operation |
GET /v1/balance/history/{id}
<p>Retrieves the balance transaction with the given ID.</p>
<p>Note that this endpoint previously used the path <code>/v1/balance/history/:id</code>.</p>
getBalanceHistoryIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Text -> Maybe GetBalanceHistoryIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/balance/history/{id}
The same as getBalanceHistoryId
but returns the raw ByteString
getBalanceHistoryIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Text -> Maybe GetBalanceHistoryIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetBalanceHistoryIdResponse)) Source #
GET /v1/balance/history/{id}
Monadic version of getBalanceHistoryId
(use with runWithConfiguration
)
getBalanceHistoryIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Text -> Maybe GetBalanceHistoryIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/balance/history/{id}
Monadic version of getBalanceHistoryIdRaw
(use with runWithConfiguration
)
data GetBalanceHistoryIdRequestBody Source #
Defines the data type for the schema getBalanceHistoryIdRequestBody
data GetBalanceHistoryIdResponse Source #
Represents a response of the operation getBalanceHistoryId
.
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), GetBalanceHistoryIdResponseError
is used.
GetBalanceHistoryIdResponseError String | Means either no matching case available or a parse error |
GetBalanceHistoryIdResponse200 BalanceTransaction | Successful response. |
GetBalanceHistoryIdResponseDefault Error | Error response. |