stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetEventsId

Description

Contains the different functions to run the operation getEventsId

Synopsis

Documentation

getEventsId 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

id | Constraints: Maximum length of 5000

-> Maybe GetEventsIdRequestBody

The request body to send

-> m (Either HttpException (Response GetEventsIdResponse))

Monad containing the result of the operation

GET /v1/events/{id}

<p>Retrieves the details of an event. Supply the unique identifier of the event, which you might have received in a webhook.</p>

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

GET /v1/events/{id}

The same as getEventsId but returns the raw ByteString

data GetEventsIdResponse Source #

Represents a response of the operation getEventsId.

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

Constructors

GetEventsIdResponseError String

Means either no matching case available or a parse error

GetEventsIdResponse200 Event

Successful response.

GetEventsIdResponseDefault Error

Error response.