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.PaymentMethod

Contains the types generated from the schema PaymentMethod

  • 3 types
  • 1 value
datadata PaymentMethod
#

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

PaymentMethod objects represent your customer's payment instruments. You can use them with PaymentIntents to collect payments or save them to Customer objects to store instrument details for future payments.

Related guides: Payment Methods and More Payment Scenarios.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.

Instances4Eq, Show, FromJSON, ToJSON
datadata PaymentMethodType'
#

Defines the enum schema located at components.schemas.payment_method.properties.type in the specification.

The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.

Constructors

Instances4Eq, Show, FromJSON, ToJSON