stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetPaymentIntentsIntent

Description

Contains the different functions to run the operation getPaymentIntentsIntent

Synopsis

Documentation

getPaymentIntentsIntent Source #

Arguments

:: forall m. MonadHTTP m 
=> GetPaymentIntentsIntentParameters

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

-> StripeT m (Response GetPaymentIntentsIntentResponse)

Monadic computation which returns the result of the operation

GET /v1/payment_intents/{intent}

<p>Retrieves the details of a PaymentIntent 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="#payment_intent_object">payment intent</a> object reference for more details.</p>

data GetPaymentIntentsIntentParameters Source #

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

Constructors

GetPaymentIntentsIntentParameters 

Fields

data GetPaymentIntentsIntentResponse Source #

Represents a response of the operation getPaymentIntentsIntent.

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

Constructors

GetPaymentIntentsIntentResponseError String

Means either no matching case available or a parse error

GetPaymentIntentsIntentResponse200 PaymentIntent

Successful response.

GetPaymentIntentsIntentResponseDefault Error

Error response.