Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postSetupIntents
Synopsis
- postSetupIntents :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe PostSetupIntentsRequestBody -> m (Either HttpException (Response PostSetupIntentsResponse))
- postSetupIntentsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe PostSetupIntentsRequestBody -> m (Either HttpException (Response ByteString))
- postSetupIntentsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe PostSetupIntentsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostSetupIntentsResponse))
- postSetupIntentsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe PostSetupIntentsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostSetupIntentsRequestBody = PostSetupIntentsRequestBody {
- postSetupIntentsRequestBodyConfirm :: Maybe Bool
- postSetupIntentsRequestBodyCustomer :: Maybe Text
- postSetupIntentsRequestBodyDescription :: Maybe Text
- postSetupIntentsRequestBodyExpand :: Maybe ([] Text)
- postSetupIntentsRequestBodyMandateData :: Maybe PostSetupIntentsRequestBodyMandateData'
- postSetupIntentsRequestBodyMetadata :: Maybe PostSetupIntentsRequestBodyMetadata'
- postSetupIntentsRequestBodyOnBehalfOf :: Maybe Text
- postSetupIntentsRequestBodyPaymentMethod :: Maybe Text
- postSetupIntentsRequestBodyPaymentMethodOptions :: Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'
- postSetupIntentsRequestBodyPaymentMethodTypes :: Maybe ([] Text)
- postSetupIntentsRequestBodyReturnUrl :: Maybe Text
- postSetupIntentsRequestBodySingleUse :: Maybe PostSetupIntentsRequestBodySingleUse'
- postSetupIntentsRequestBodyUsage :: Maybe PostSetupIntentsRequestBodyUsage'
- data PostSetupIntentsRequestBodyMandateData' = PostSetupIntentsRequestBodyMandateData' {}
- data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' = PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' {
- postSetupIntentsRequestBodyMandateData'CustomerAcceptance'AcceptedAt :: Maybe Integer
- postSetupIntentsRequestBodyMandateData'CustomerAcceptance'Offline :: Maybe PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Offline'
- postSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online :: Maybe PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
- postSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
- data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Offline' = PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Offline' {
- data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online' = PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online' {}
- data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
- = PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'EnumOther Value
- | PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'EnumTyped Text
- | PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'EnumStringOffline
- | PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'EnumStringOnline
- data PostSetupIntentsRequestBodyMetadata' = PostSetupIntentsRequestBodyMetadata' {
- data PostSetupIntentsRequestBodyPaymentMethodOptions' = PostSetupIntentsRequestBodyPaymentMethodOptions' {}
- data PostSetupIntentsRequestBodyPaymentMethodOptions'Card' = PostSetupIntentsRequestBodyPaymentMethodOptions'Card' {}
- data PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
- = PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumOther Value
- | PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumTyped Text
- | PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumStringAny
- | PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumStringAutomatic
- data PostSetupIntentsRequestBodySingleUse' = PostSetupIntentsRequestBodySingleUse' {}
- data PostSetupIntentsRequestBodyUsage'
- data PostSetupIntentsResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe PostSetupIntentsRequestBody | The request body to send |
-> m (Either HttpException (Response PostSetupIntentsResponse)) | Monad containing the result of the operation |
POST /v1/setup_intents
<p>Creates a SetupIntent object.</p>
<p>After the SetupIntent is created, attach a payment method and <a href="/docs/api/setup_intents/confirm">confirm</a> to collect any required permissions to charge the payment method later.</p>
postSetupIntentsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe PostSetupIntentsRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/setup_intents
The same as postSetupIntents
but returns the raw ByteString
postSetupIntentsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe PostSetupIntentsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostSetupIntentsResponse)) Source #
POST /v1/setup_intents
Monadic version of postSetupIntents
(use with runWithConfiguration
)
postSetupIntentsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe PostSetupIntentsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/setup_intents
Monadic version of postSetupIntentsRaw
(use with runWithConfiguration
)
data PostSetupIntentsRequestBody Source #
Defines the data type for the schema postSetupIntentsRequestBody
PostSetupIntentsRequestBody | |
|
Instances
data PostSetupIntentsRequestBodyMandateData' Source #
Defines the data type for the schema postSetupIntentsRequestBodyMandate_data'
This hash contains details about the Mandate to create. This parameter can only be used with `confirm=true`.
data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' Source #
Defines the data type for the schema postSetupIntentsRequestBodyMandate_data'Customer_acceptance'
Instances
data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Offline' Source #
Defines the data type for the schema postSetupIntentsRequestBodyMandate_data'Customer_acceptance'Offline'
Instances
data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online' Source #
Defines the data type for the schema postSetupIntentsRequestBodyMandate_data'Customer_acceptance'Online'
PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online' | |
|
Instances
data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type' Source #
Defines the enum schema postSetupIntentsRequestBodyMandate_data'Customer_acceptance'Type'
Instances
data PostSetupIntentsRequestBodyMetadata' Source #
Defines the data type for the schema postSetupIntentsRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
data PostSetupIntentsRequestBodyPaymentMethodOptions' Source #
Defines the data type for the schema postSetupIntentsRequestBodyPayment_method_options'
Payment-method-specific configuration for this SetupIntent.
Instances
data PostSetupIntentsRequestBodyPaymentMethodOptions'Card' Source #
Defines the data type for the schema postSetupIntentsRequestBodyPayment_method_options'Card'
PostSetupIntentsRequestBodyPaymentMethodOptions'Card' | |
|
Instances
data PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure' Source #
Defines the enum schema postSetupIntentsRequestBodyPayment_method_options'Card'Request_three_d_secure'
Instances
data PostSetupIntentsRequestBodySingleUse' Source #
Defines the data type for the schema postSetupIntentsRequestBodySingle_use'
If this hash is populated, this SetupIntent will generate a single_use Mandate on success.
data PostSetupIntentsRequestBodyUsage' Source #
Defines the enum schema postSetupIntentsRequestBodyUsage'
Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
data PostSetupIntentsResponse Source #
Represents a response of the operation postSetupIntents
.
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), PostSetupIntentsResponseError
is used.
PostSetupIntentsResponseError String | Means either no matching case available or a parse error |
PostSetupIntentsResponse200 SetupIntent | Successful response. |
PostSetupIntentsResponseDefault Error | Error response. |
Instances
Eq PostSetupIntentsResponse Source # | |
Defined in StripeAPI.Operations.PostSetupIntents | |
Show PostSetupIntentsResponse Source # | |
Defined in StripeAPI.Operations.PostSetupIntents showsPrec :: Int -> PostSetupIntentsResponse -> ShowS # show :: PostSetupIntentsResponse -> String # showList :: [PostSetupIntentsResponse] -> ShowS # |