stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.Post3dSecure

Description

Contains the different functions to run the operation post3dSecure

Synopsis

Documentation

post3dSecure Source #

Arguments

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

The configuration to use in the request

-> Post3dSecureRequestBody

The request body to send

-> m (Either HttpException (Response Post3dSecureResponse))

Monad containing the result of the operation

POST /v1/3d_secure

<p>Initiate 3D Secure authentication.</p>

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

POST /v1/3d_secure

The same as post3dSecure but returns the raw ByteString

data Post3dSecureRequestBody Source #

Defines the data type for the schema post3dSecureRequestBody

Constructors

Post3dSecureRequestBody 

Fields

data Post3dSecureResponse Source #

Represents a response of the operation post3dSecure.

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

Constructors

Post3dSecureResponseError String

Means either no matching case available or a parse error

Post3dSecureResponse200 ThreeDSecure

Successful response.

Post3dSecureResponseDefault Error

Error response.