Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTopupsTopup
Synopsis
- getTopupsTopup :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTopupsTopupRequestBody -> m (Either HttpException (Response GetTopupsTopupResponse))
- getTopupsTopupRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTopupsTopupRequestBody -> m (Either HttpException (Response ByteString))
- getTopupsTopupM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTopupsTopupRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTopupsTopupResponse))
- getTopupsTopupRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTopupsTopupRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetTopupsTopupRequestBody = GetTopupsTopupRequestBody {
- data GetTopupsTopupResponse
Documentation
:: (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 | topup | Constraints: Maximum length of 5000 |
-> GetTopupsTopupRequestBody | The request body to send |
-> m (Either HttpException (Response GetTopupsTopupResponse)) | Monad containing the result of the operation |
GET /v1/topups/{topup}
<p>Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information.</p>
getTopupsTopupRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTopupsTopupRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/topups/{topup}
The same as getTopupsTopup
but returns the raw ByteString
getTopupsTopupM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTopupsTopupRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTopupsTopupResponse)) Source #
GET /v1/topups/{topup}
Monadic version of getTopupsTopup
(use with runWithConfiguration
)
getTopupsTopupRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTopupsTopupRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/topups/{topup}
Monadic version of getTopupsTopupRaw
(use with runWithConfiguration
)
data GetTopupsTopupRequestBody Source #
Defines the data type for the schema getTopupsTopupRequestBody
Instances
data GetTopupsTopupResponse Source #
Represents a response of the operation getTopupsTopup
.
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), GetTopupsTopupResponseError
is used.
GetTopupsTopupResponseError String | Means either no matching case available or a parse error |
GetTopupsTopupResponse200 Topup | Successful response. |
GetTopupsTopupResponseDefault Error | Error response. |
Instances
Eq GetTopupsTopupResponse Source # | |
Defined in StripeAPI.Operations.GetTopupsTopup | |
Show GetTopupsTopupResponse Source # | |
Defined in StripeAPI.Operations.GetTopupsTopup showsPrec :: Int -> GetTopupsTopupResponse -> ShowS # show :: GetTopupsTopupResponse -> String # showList :: [GetTopupsTopupResponse] -> ShowS # |