stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetRefundsRefund

Description

Contains the different functions to run the operation getRefundsRefund

Synopsis

Documentation

getRefundsRefund Source #

Arguments

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

refund

-> GetRefundsRefundRequestBody

The request body to send

-> m (Either HttpException (Response GetRefundsRefundResponse))

Monad containing the result of the operation

GET /v1/refunds/{refund}

<p>Retrieves the details of an existing refund.</p>

getRefundsRefundRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetRefundsRefundRequestBody -> m (Either HttpException (Response ByteString)) Source #

GET /v1/refunds/{refund}

The same as getRefundsRefund but returns the raw ByteString

data GetRefundsRefundResponse Source #

Represents a response of the operation getRefundsRefund.

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), GetRefundsRefundResponseError is used.

Constructors

GetRefundsRefundResponseError String

Means either no matching case available or a parse error

GetRefundsRefundResponse200 Refund

Successful response.

GetRefundsRefundResponseDefault Error

Error response.