Adds excluded payment method types to the Payment Intents API
What’s new
This change adds a new excluded_payment_method_types field that you can set when creating a PaymentIntent.
Impact
You can use the new field to explicitly exclude payment methods from displaying on a per-transaction basis. The payment_
returned on the PaymentIntent doesn’t include these excluded payment methods. If you use Checkout or Elements, the excluded payment methods doesn’t display to users.