HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.PaymentIntent

Contains the types generated from the schema PaymentIntent

  • 159 types
  • 44 values
  • Packagestripeapi-3.0.0.0
  • Exports203
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePaymentIntent.hs
datadata PaymentIntent
#

Defines the object schema located at components.schemas.payment_intent in the specification.

A PaymentIntent guides you through the process of collecting a payment from your customer. We recommend that you create exactly one PaymentIntent for each order or customer session in your system. You can reference the PaymentIntent later to see the history of payment attempts for a particular session.

A PaymentIntent transitions through multiple statuses throughout its lifetime as it interfaces with Stripe.js to perform authentication flows and ultimately creates at most one successful charge.

Related guide: Payment Intents API.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.application.anyOf in the specification.

ID of the Connect application that created the PaymentIntent.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.automatic_payment_methods.anyOf in the specification.

Settings to configure compatible payment methods from the Stripe Dashboard

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.cancellation_reason in the specification.

Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, or `automatic`).

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.charges in the specification.

Charges that were created by this PaymentIntent, if any.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.confirmation_method in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.customer.anyOf in the specification.

ID of the Customer this PaymentIntent belongs to, if one exists.

Payment methods attached to other Customers cannot be used with this PaymentIntent.

If present in combination with setup_future_usage, this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.invoice.anyOf in the specification.

ID of the invoice that created this PaymentIntent, if it exists.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf in the specification.

The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf in the specification.

The source object for errors returned on a request involving a source.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.account.anyOf in the specification.

The ID of the account that the bank account is associated with.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.available_payout_methods.items in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.customer.anyOf in the specification.

The ID of the customer that the bank account is associated with.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.owner.anyOf in the specification.

Information about the owner of the payment instrument that may be used or required by particular source types.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.owner.anyOf.properties.address.anyOf in the specification.

Owner\'s address.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.owner.anyOf.properties.verified_address.anyOf in the specification.

Verified owner\'s address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.recipient.anyOf in the specification.

The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.type in the specification.

The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the payment method used.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.type in the specification.

The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.next_action.anyOf in the specification.

If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.on_behalf_of.anyOf in the specification.

The account (if any) for which the funds of the PaymentIntent are intended. See the PaymentIntents use case for connected accounts for details.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.payment_method.anyOf in the specification.

ID of the payment method used in this PaymentIntent.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf in the specification.

Payment-method-specific configuration for this PaymentIntent.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.acss_debit.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.acss_debit.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.acss_debit.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.acss_debit.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.affirm.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.affirm.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.affirm.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.affirm.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.afterpay_clearpay.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.afterpay_clearpay.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.afterpay_clearpay.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.afterpay_clearpay.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.alipay.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.alipay.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.alipay.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.alipay.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.au_becs_debit.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.au_becs_debit.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.au_becs_debit.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.au_becs_debit.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.bacs_debit.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.bacs_debit.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.bacs_debit.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.bacs_debit.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.bancontact.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.bancontact.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.bancontact.anyOf.properties.preferred_language in the specification.

Preferred language of the Bancontact authorization page that the customer is redirected to.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.bancontact.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.bancontact.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.boleto.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.boleto.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.boleto.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.boleto.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.installments.anyOf in the specification.

Installment details for this payment (Mexico only).

For more information, see the installments integration guide.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.installments.anyOf.properties.plan.anyOf in the specification.

Installment plan selected for this PaymentIntent.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.installments.anyOf.properties.plan.anyOf.properties.interval in the specification.

For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. One of `month`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.installments.anyOf.properties.plan.anyOf.properties.type in the specification.

Type of installment plan, one of `fixed_count`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.mandate_options.anyOf in the specification.

Configuration options for setting up an eMandate for cards issued in India.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.mandate_options.anyOf.properties.amount_type in the specification.

One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.mandate_options.anyOf.properties.interval in the specification.

Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.mandate_options.anyOf.properties.supported_types.items in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.network in the specification.

Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.request_three_d_secure in the specification.

We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include: `automatic` or `any`. If not provided, defaults to `automatic`. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card_present.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card_present.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card_present.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.card_present.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.customer_balance.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.customer_balance.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.customer_balance.anyOf.properties.funding_type in the specification.

The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.customer_balance.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.customer_balance.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.eps.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.eps.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.eps.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.eps.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.fpx.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.fpx.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.fpx.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.fpx.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.giropay.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.giropay.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.giropay.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.giropay.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.grabpay.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.grabpay.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.grabpay.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.grabpay.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.ideal.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.ideal.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.ideal.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.ideal.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.interac_present.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.interac_present.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.interac_present.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.interac_present.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.klarna.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.klarna.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.klarna.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.klarna.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.konbini.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.konbini.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.konbini.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.konbini.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.oxxo.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.oxxo.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.oxxo.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.oxxo.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.p24.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.p24.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.p24.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.p24.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.paynow.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.paynow.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.paynow.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.paynow.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.promptpay.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.promptpay.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.promptpay.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.promptpay.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.sepa_debit.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.sepa_debit.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.sepa_debit.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.sepa_debit.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.sofort.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.sofort.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.sofort.anyOf.properties.preferred_language in the specification.

Preferred language of the SOFORT authorization page that the customer is redirected to.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.sofort.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.sofort.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.us_bank_account.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.us_bank_account.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.us_bank_account.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.us_bank_account.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.wechat_pay.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.wechat_pay.anyOf.properties.capture_method in the specification.

Controls when the funds will be captured from the customer's account.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.wechat_pay.anyOf.properties.client in the specification.

The client type that the end customer will pay from

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.wechat_pay.anyOf.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.payment_method_options.anyOf.properties.wechat_pay.anyOf.properties.verification_method in the specification.

Bank account verification method.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.processing.anyOf in the specification.

If present, this property tells you about the processing state of the payment.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.processing.anyOf.properties.type in the specification.

Type of the payment method for which payment is in `processing` state, one of `card`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.review.anyOf in the specification.

ID of the review associated with this PaymentIntent, if any.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_intent.properties.setup_future_usage in the specification.

Indicates that you intend to make future payments with this PaymentIntent's payment method.

Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.shipping.anyOf in the specification.

Shipping information for this PaymentIntent.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
datadata PaymentIntentStatus'
#

Defines the enum schema located at components.schemas.payment_intent.properties.status in the specification.

Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent status.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.payment_intent.properties.transfer_data.anyOf in the specification.

The data with which to automatically create a Transfer when the payment is finalized. See the PaymentIntents use case for connected accounts for details.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.payment_intent.properties.transfer_data.anyOf.properties.destination.anyOf in the specification.

The account (if any) the payment will be attributed to for tax reporting, and where funds from the payment will be transferred to upon payment success.

Instances4Eq, Show, FromJSON, ToJSON