Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postSetupIntentsIntentConfirm
Synopsis
- postSetupIntentsIntentConfirm :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostSetupIntentsIntentConfirmRequestBody -> m (Either HttpException (Response PostSetupIntentsIntentConfirmResponse))
- postSetupIntentsIntentConfirmRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostSetupIntentsIntentConfirmRequestBody -> m (Either HttpException (Response ByteString))
- postSetupIntentsIntentConfirmM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostSetupIntentsIntentConfirmRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostSetupIntentsIntentConfirmResponse))
- postSetupIntentsIntentConfirmRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostSetupIntentsIntentConfirmRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostSetupIntentsIntentConfirmRequestBody = PostSetupIntentsIntentConfirmRequestBody {
- postSetupIntentsIntentConfirmRequestBodyClientSecret :: Maybe String
- postSetupIntentsIntentConfirmRequestBodyExpand :: Maybe ([] String)
- postSetupIntentsIntentConfirmRequestBodyMandateData :: Maybe PostSetupIntentsIntentConfirmRequestBodyMandateData'
- postSetupIntentsIntentConfirmRequestBodyPaymentMethod :: Maybe String
- postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions :: Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
- postSetupIntentsIntentConfirmRequestBodyReturnUrl :: Maybe String
- data PostSetupIntentsIntentConfirmRequestBodyMandateData' = PostSetupIntentsIntentConfirmRequestBodyMandateData' {}
- data PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' = PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' {
- postSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
- postSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
- data PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' = PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' {}
- data PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
- data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions' = PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions' {}
- data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card' = PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card' {}
- data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
- = PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumOther Value
- | PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumTyped String
- | PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumStringAny
- | PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumStringAutomatic
- data PostSetupIntentsIntentConfirmResponse
Documentation
postSetupIntentsIntentConfirm Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | intent | Constraints: Maximum length of 5000 |
-> PostSetupIntentsIntentConfirmRequestBody | The request body to send |
-> m (Either HttpException (Response PostSetupIntentsIntentConfirmResponse)) | Monad containing the result of the operation |
POST /v1/setup_intents/{intent}/confirm
<p>Confirm that your customer intends to set up the current or provided payment method. For example, you would confirm a SetupIntent when a customer hits the “Save” button on a payment method management page on your website.</p>
<p>If the selected payment method does not require any additional steps from the customer, the SetupIntent will transition to the <code>succeeded</code> status.</p>
<p>Otherwise, it will transition to the <code>requires_action</code> status and suggest additional actions via <code>next_action</code>. If setup fails, the SetupIntent will transition to the <code>requires_payment_method</code> status.</p>
postSetupIntentsIntentConfirmRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostSetupIntentsIntentConfirmRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/setup_intents/{intent}/confirm
The same as postSetupIntentsIntentConfirm
but returns the raw ByteString
postSetupIntentsIntentConfirmM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostSetupIntentsIntentConfirmRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostSetupIntentsIntentConfirmResponse)) Source #
POST /v1/setup_intents/{intent}/confirm
Monadic version of postSetupIntentsIntentConfirm
(use with runWithConfiguration
)
postSetupIntentsIntentConfirmRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostSetupIntentsIntentConfirmRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/setup_intents/{intent}/confirm
Monadic version of postSetupIntentsIntentConfirmRaw
(use with runWithConfiguration
)
data PostSetupIntentsIntentConfirmRequestBody Source #
Defines the data type for the schema postSetupIntentsIntentConfirmRequestBody
PostSetupIntentsIntentConfirmRequestBody | |
|
data PostSetupIntentsIntentConfirmRequestBodyMandateData' Source #
Defines the data type for the schema postSetupIntentsIntentConfirmRequestBodyMandate_data'
This hash contains details about the Mandate to create
Instances
data PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' Source #
Defines the data type for the schema postSetupIntentsIntentConfirmRequestBodyMandate_data'Customer_acceptance'
Instances
data PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' Source #
Defines the data type for the schema postSetupIntentsIntentConfirmRequestBodyMandate_data'Customer_acceptance'Online'
PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' | |
|
Instances
data PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type' Source #
Defines the enum schema postSetupIntentsIntentConfirmRequestBodyMandate_data'Customer_acceptance'Type'
Instances
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions' Source #
Defines the data type for the schema postSetupIntentsIntentConfirmRequestBodyPayment_method_options'
Payment-method-specific configuration for this SetupIntent.
Instances
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card' Source #
Defines the data type for the schema postSetupIntentsIntentConfirmRequestBodyPayment_method_options'Card'
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card' | |
|
Instances
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure' Source #
Defines the enum schema postSetupIntentsIntentConfirmRequestBodyPayment_method_options'Card'Request_three_d_secure'
Instances
data PostSetupIntentsIntentConfirmResponse Source #
Represents a response of the operation postSetupIntentsIntentConfirm
.
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), PostSetupIntentsIntentConfirmResponseError
is used.
PostSetupIntentsIntentConfirmResponseError String | Means either no matching case available or a parse error |
PostSetupIntentsIntentConfirmResponse200 SetupIntent | Successful response. |
PostSetupIntentsIntentConfirmResponseDefault Error | Error response. |