Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postSetupIntentsIntent
Synopsis
- postSetupIntentsIntent :: forall m. MonadHTTP m => Text -> Maybe PostSetupIntentsIntentRequestBody -> ClientT m (Response PostSetupIntentsIntentResponse)
- data PostSetupIntentsIntentRequestBody = PostSetupIntentsIntentRequestBody {
- postSetupIntentsIntentRequestBodyCustomer :: Maybe Text
- postSetupIntentsIntentRequestBodyDescription :: Maybe Text
- postSetupIntentsIntentRequestBodyExpand :: Maybe [Text]
- postSetupIntentsIntentRequestBodyMetadata :: Maybe PostSetupIntentsIntentRequestBodyMetadata'Variants
- postSetupIntentsIntentRequestBodyPaymentMethod :: Maybe Text
- postSetupIntentsIntentRequestBodyPaymentMethodOptions :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
- postSetupIntentsIntentRequestBodyPaymentMethodTypes :: Maybe [Text]
- mkPostSetupIntentsIntentRequestBody :: PostSetupIntentsIntentRequestBody
- data PostSetupIntentsIntentRequestBodyMetadata'Variants
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions' = PostSetupIntentsIntentRequestBodyPaymentMethodOptions' {
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'Card :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
- mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' {
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
- mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
- = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'Other Value
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'Typed Text
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumCad
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumUsd
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' {
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'IntervalDescription :: Maybe Text
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
- postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
- mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
- = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Other Value
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Typed Text
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumCombined
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumInterval
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumSporadic
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
- = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Other Value
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Typed Text
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumBusiness
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumPersonal
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
- = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Other Value
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Typed Text
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumAutomatic
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumInstant
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumMicrodeposits
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' {}
- mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
- = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Other Value
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Typed Text
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAny
- | PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAutomatic
- data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' = PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' {}
- mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
- data PostSetupIntentsIntentResponse
Documentation
postSetupIntentsIntent Source #
:: forall m. MonadHTTP m | |
=> Text | intent | Constraints: Maximum length of 5000 |
-> Maybe PostSetupIntentsIntentRequestBody | The request body to send |
-> ClientT m (Response PostSetupIntentsIntentResponse) | Monadic computation which returns the result of the operation |
POST /v1/setup_intents/{intent}
<p>Updates a SetupIntent object.</p>
data PostSetupIntentsIntentRequestBody Source #
Defines the object schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostSetupIntentsIntentRequestBody | |
|
mkPostSetupIntentsIntentRequestBody :: PostSetupIntentsIntentRequestBody Source #
Create a new PostSetupIntentsIntentRequestBody
with all required fields.
data PostSetupIntentsIntentRequestBodyMetadata'Variants Source #
Defines the oneOf schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
in the specification.
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`.
PostSetupIntentsIntentRequestBodyMetadata'EmptyString | Represents the JSON value |
PostSetupIntentsIntentRequestBodyMetadata'Object Object |
Instances
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions' Source #
Defines the object schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options
in the specification.
Payment-method-specific configuration for this SetupIntent.
Instances
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions' Source #
Create a new PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
with all required fields.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' Source #
Defines the object schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit
in the specification.
Instances
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' Source #
Create a new PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
with all required fields.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency' Source #
Defines the enum schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.currency
in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumCad | Represents the JSON value |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumUsd | Represents the JSON value |
Instances
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' Source #
Defines the object schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options
in the specification.
Instances
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' Source #
Create a new PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
with all required fields.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants Source #
Defines the oneOf schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.custom_mandate_url.anyOf
in the specification.
Instances
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule' Source #
Defines the enum schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.payment_schedule
in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumCombined | Represents the JSON value |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumInterval | Represents the JSON value |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumSporadic | Represents the JSON value |
Instances
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType' Source #
Defines the enum schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.transaction_type
in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumBusiness | Represents the JSON value |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumPersonal | Represents the JSON value |
Instances
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod' Source #
Defines the enum schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.verification_method
in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumAutomatic | Represents the JSON value |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumInstant | Represents the JSON value |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumMicrodeposits | Represents the JSON value |
Instances
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' Source #
Defines the object schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card
in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' | |
|
Instances
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' Source #
Create a new PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
with all required fields.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure' Source #
Defines the enum schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.properties.request_three_d_secure
in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAny | Represents the JSON value |
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAutomatic | Represents the JSON value |
Instances
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' Source #
Defines the object schema located at paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit
in the specification.
Instances
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' Source #
Create a new PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
with all required fields.
data PostSetupIntentsIntentResponse Source #
Represents a response of the operation postSetupIntentsIntent
.
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), PostSetupIntentsIntentResponseError
is used.
PostSetupIntentsIntentResponseError String | Means either no matching case available or a parse error |
PostSetupIntentsIntentResponse200 SetupIntent | Successful response. |
PostSetupIntentsIntentResponseDefault Error | Error response. |