Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getBalanceTransactionsId
Synopsis
- getBalanceTransactionsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Text -> Maybe GetBalanceTransactionsIdRequestBody -> m (Either HttpException (Response GetBalanceTransactionsIdResponse))
- getBalanceTransactionsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Text -> Maybe GetBalanceTransactionsIdRequestBody -> m (Either HttpException (Response ByteString))
- getBalanceTransactionsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Text -> Maybe GetBalanceTransactionsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetBalanceTransactionsIdResponse))
- getBalanceTransactionsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Text -> Maybe GetBalanceTransactionsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetBalanceTransactionsIdRequestBody = GetBalanceTransactionsIdRequestBody {
- data GetBalanceTransactionsIdResponse
Documentation
getBalanceTransactionsId Source #
:: (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 GetBalanceTransactionsIdRequestBody | The request body to send |
-> m (Either HttpException (Response GetBalanceTransactionsIdResponse)) | Monad containing the result of the operation |
GET /v1/balance_transactions/{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>
getBalanceTransactionsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Text -> Maybe GetBalanceTransactionsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/balance_transactions/{id}
The same as getBalanceTransactionsId
but returns the raw ByteString
getBalanceTransactionsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Text -> Maybe GetBalanceTransactionsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetBalanceTransactionsIdResponse)) Source #
GET /v1/balance_transactions/{id}
Monadic version of getBalanceTransactionsId
(use with runWithConfiguration
)
getBalanceTransactionsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Text -> Maybe GetBalanceTransactionsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/balance_transactions/{id}
Monadic version of getBalanceTransactionsIdRaw
(use with runWithConfiguration
)
data GetBalanceTransactionsIdRequestBody Source #
Defines the data type for the schema getBalanceTransactionsIdRequestBody
data GetBalanceTransactionsIdResponse Source #
Represents a response of the operation getBalanceTransactionsId
.
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), GetBalanceTransactionsIdResponseError
is used.
GetBalanceTransactionsIdResponseError String | Means either no matching case available or a parse error |
GetBalanceTransactionsIdResponse200 BalanceTransaction | Successful response. |
GetBalanceTransactionsIdResponseDefault Error | Error response. |