stripeapi-2.0.1.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetSetupIntentsIntent

Description

Contains the different functions to run the operation getSetupIntentsIntent

Synopsis

Documentation

getSetupIntentsIntent Source #

Arguments

:: forall m. MonadHTTP m 
=> GetSetupIntentsIntentParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response GetSetupIntentsIntentResponse)

Monadic computation which returns the result of the operation

GET /v1/setup_intents/{intent}

<p>Retrieves the details of a SetupIntent that has previously been created. </p>

<p>Client-side retrieval using a publishable key is allowed when the <code>client_secret</code> is provided in the query string. </p>

<p>When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the <a href="#setup_intent_object">SetupIntent</a> object reference for more details.</p>

data GetSetupIntentsIntentParameters Source #

Defines the object schema located at paths./v1/setup_intents/{intent}.GET.parameters in the specification.

Constructors

GetSetupIntentsIntentParameters 

Fields

data GetSetupIntentsIntentResponse Source #

Represents a response of the operation getSetupIntentsIntent.

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

Constructors

GetSetupIntentsIntentResponseError String

Means either no matching case available or a parse error

GetSetupIntentsIntentResponse200 SetupIntent

Successful response.

GetSetupIntentsIntentResponseDefault Error

Error response.