stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostSourcesSourceVerify

Description

Contains the different functions to run the operation postSourcesSourceVerify

Synopsis

Documentation

postSourcesSourceVerify Source #

Arguments

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

The configuration to use in the request

-> Text

source | Constraints: Maximum length of 5000

-> PostSourcesSourceVerifyRequestBody

The request body to send

-> m (Either HttpException (Response PostSourcesSourceVerifyResponse))

Monad containing the result of the operation

POST /v1/sources/{source}/verify

<p>Verify a given source.</p>

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

POST /v1/sources/{source}/verify

The same as postSourcesSourceVerify but returns the raw ByteString

data PostSourcesSourceVerifyRequestBody Source #

Defines the data type for the schema postSourcesSourceVerifyRequestBody

Constructors

PostSourcesSourceVerifyRequestBody 

Fields

data PostSourcesSourceVerifyResponse Source #

Represents a response of the operation postSourcesSourceVerify.

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

Constructors

PostSourcesSourceVerifyResponseError String

Means either no matching case available or a parse error

PostSourcesSourceVerifyResponse200 Source

Successful response.

PostSourcesSourceVerifyResponseDefault Error

Error response.