paymentMethodTypes property
A list of the types of payment methods (e.g., card) this Checkout Session can accept.
Read more about the supported payment methods and their requirements in our payment method details guide.
If multiple payment methods are passed, Checkout will dynamically reorder them to prioritize the most relevant payment methods based on the customer’s location and other characteristics.
Implementation
final List<PaymentMethodType> paymentMethodTypes;