stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostSetupIntentsIntentCancel

Description

Contains the different functions to run the operation postSetupIntentsIntentCancel

Synopsis

Documentation

postSetupIntentsIntentCancel Source #

Arguments

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

The configuration to use in the request

-> String

intent | Constraints: Maximum length of 5000

-> PostSetupIntentsIntentCancelRequestBody

The request body to send

-> m (Either HttpException (Response PostSetupIntentsIntentCancelResponse))

Monad containing the result of the operation

POST /v1/setup_intents/{intent}/cancel

<p>A SetupIntent object can be canceled when it is in one of these statuses: <code>requires_payment_method</code>, <code>requires_capture</code>, <code>requires_confirmation</code>, <code>requires_action</code>. </p>

<p>Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an error.</p>

data PostSetupIntentsIntentCancelRequestBody Source #

Defines the data type for the schema postSetupIntentsIntentCancelRequestBody

Constructors

PostSetupIntentsIntentCancelRequestBody 

Fields

data PostSetupIntentsIntentCancelRequestBodyCancellationReason' Source #

Defines the enum schema postSetupIntentsIntentCancelRequestBodyCancellation_reason'

Reason for canceling this SetupIntent. Possible values are `abandoned`, `requested_by_customer`, or `duplicate`

Instances
Eq PostSetupIntentsIntentCancelRequestBodyCancellationReason' Source # 
Instance details

Defined in StripeAPI.Operations.PostSetupIntentsIntentCancel

Show PostSetupIntentsIntentCancelRequestBodyCancellationReason' Source # 
Instance details

Defined in StripeAPI.Operations.PostSetupIntentsIntentCancel

ToJSON PostSetupIntentsIntentCancelRequestBodyCancellationReason' Source # 
Instance details

Defined in StripeAPI.Operations.PostSetupIntentsIntentCancel

FromJSON PostSetupIntentsIntentCancelRequestBodyCancellationReason' Source # 
Instance details

Defined in StripeAPI.Operations.PostSetupIntentsIntentCancel