HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.PaymentMethodOptionsOxxo

Contains the types generated from the schema PaymentMethodOptionsOxxo

  • 2 types
  • 1 value
  • Packagestripeapi-3.0.0.0
  • Exports3
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePaymentMethodOptionsOxxo.hs

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

Constructors

  • PaymentMethodOptionsOxxo
    • paymentMethodOptionsOxxoExpiresAfterDays :: Int

      expires_after_days: The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.

    • paymentMethodOptionsOxxoSetupFutureUsage :: Maybe PaymentMethodOptionsOxxoSetupFutureUsage'

      setup_future_usage: 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.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.payment_method_options_oxxo.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