stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.PaymentMethod

Description

Contains the types generated from the schema PaymentMethod

Synopsis

Documentation

data PaymentMethod Source #

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

PaymentMethod objects represent your customer's payment instruments. They can be used with PaymentIntents to collect payments or saved to Customer objects to store instrument details for future payments.

Related guides: Payment Methods and More Payment Scenarios.

Constructors

PaymentMethod 

Fields

data PaymentMethodCustomer'Variants Source #

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.

data PaymentMethodType' Source #

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

PaymentMethodType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PaymentMethodType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PaymentMethodType'EnumAcssDebit

Represents the JSON value "acss_debit"

PaymentMethodType'EnumAfterpayClearpay

Represents the JSON value "afterpay_clearpay"

PaymentMethodType'EnumAlipay

Represents the JSON value "alipay"

PaymentMethodType'EnumAuBecsDebit

Represents the JSON value "au_becs_debit"

PaymentMethodType'EnumBacsDebit

Represents the JSON value "bacs_debit"

PaymentMethodType'EnumBancontact

Represents the JSON value "bancontact"

PaymentMethodType'EnumBoleto

Represents the JSON value "boleto"

PaymentMethodType'EnumCard

Represents the JSON value "card"

PaymentMethodType'EnumCardPresent

Represents the JSON value "card_present"

PaymentMethodType'EnumEps

Represents the JSON value "eps"

PaymentMethodType'EnumFpx

Represents the JSON value "fpx"

PaymentMethodType'EnumGiropay

Represents the JSON value "giropay"

PaymentMethodType'EnumGrabpay

Represents the JSON value "grabpay"

PaymentMethodType'EnumIdeal

Represents the JSON value "ideal"

PaymentMethodType'EnumInteracPresent

Represents the JSON value "interac_present"

PaymentMethodType'EnumOxxo

Represents the JSON value "oxxo"

PaymentMethodType'EnumP24

Represents the JSON value "p24"

PaymentMethodType'EnumSepaDebit

Represents the JSON value "sepa_debit"

PaymentMethodType'EnumSofort

Represents the JSON value "sofort"