stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetTopupsTopup

Description

Contains the different functions to run the operation getTopupsTopup

Synopsis

Documentation

getTopupsTopup Source #

Arguments

:: (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

topup | Constraints: Maximum length of 5000

-> Maybe 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 Text -> Text -> Maybe GetTopupsTopupRequestBody -> m (Either HttpException (Response ByteString)) Source #

GET /v1/topups/{topup}

The same as getTopupsTopup but returns the raw ByteString

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.

Constructors

GetTopupsTopupResponseError String

Means either no matching case available or a parse error

GetTopupsTopupResponse200 Topup

Successful response.

GetTopupsTopupResponseDefault Error

Error response.