Structs§
- Create
Customer Session - Creates a Customer Session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources.
- Create
Customer Session Components - Configuration for each component. Exactly 1 component must be enabled.
- Create
Customer Session Components BuyButton - Configuration for buy button.
- Create
Customer Session Components Payment Element - Configuration for the Payment Element.
- Create
Customer Session Components Payment Element Features - This hash defines whether the Payment Element supports certain features.
- Create
Customer Session Components Pricing Table - Configuration for the pricing table.
Enums§
- Create
Customer Session Components Payment Element Features Payment Method Allow Redisplay Filters - A list of
allow_redisplay
values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with anallow_redisplay
value that is present in this list. - Create
Customer Session Components Payment Element Features Payment Method Redisplay - Controls whether or not the Payment Element shows saved payment methods.
This parameter defaults to
disabled
. - Create
Customer Session Components Payment Element Features Payment Method Remove - Controls whether the Payment Element displays the option to remove a saved payment method.
This parameter defaults to
disabled
. - Create
Customer Session Components Payment Element Features Payment Method Save - Controls whether the Payment Element displays a checkbox offering to save a new payment method.
This parameter defaults to
disabled
. - Create
Customer Session Components Payment Element Features Payment Method Save Usage - When using PaymentIntents and the customer checks the save checkbox, this field determines the
setup_future_usage
value used to confirm the PaymentIntent.