stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetSourcesSource

Description

Contains the different functions to run the operation getSourcesSource

Synopsis

Documentation

getSourcesSource Source #

Arguments

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

The configuration to use in the request

-> Maybe String

client_secret: The client secret of the source. Required if a publishable key is used to retrieve the source. | Constraints: Maximum length of 5000

-> Maybe String

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

-> String

source | Constraints: Maximum length of 5000

-> GetSourcesSourceRequestBody

The request body to send

-> m (Either HttpException (Response GetSourcesSourceResponse))

Monad containing the result of the operation

GET /v1/sources/{source}

<p>Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will return the corresponding up-to-date source object information.</p>

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

GET /v1/sources/{source}

The same as getSourcesSource but returns the raw ByteString

data GetSourcesSourceResponse Source #

Represents a response of the operation getSourcesSource.

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

Constructors

GetSourcesSourceResponseError String

Means either no matching case available or a parse error

GetSourcesSourceResponse200 Source

Successful response.

GetSourcesSourceResponseDefault Error

Error response.