stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetDisputesDispute

Description

Contains the different functions to run the operation getDisputesDispute

Synopsis

Documentation

getDisputesDispute Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> Text

dispute | Constraints: Maximum length of 5000

-> Maybe Text

expand: Specifies which fields in the response should be expanded.

-> Maybe GetDisputesDisputeRequestBody

The request body to send

-> m (Either HttpException (Response GetDisputesDisputeResponse))

Monad containing the result of the operation

GET /v1/disputes/{dispute}

<p>Retrieves the dispute with the given ID.</p>

getDisputesDisputeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Maybe GetDisputesDisputeRequestBody -> m (Either HttpException (Response ByteString)) Source #

GET /v1/disputes/{dispute}

The same as getDisputesDispute but returns the raw ByteString

data GetDisputesDisputeResponse Source #

Represents a response of the operation getDisputesDispute.

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

Constructors

GetDisputesDisputeResponseError String

Means either no matching case available or a parse error

GetDisputesDisputeResponse200 Dispute

Successful response.

GetDisputesDisputeResponseDefault Error

Error response.