paymentMethod property
ID of the payment method (a PaymentMethod, Card, or compatible Source object) to
attach to this PaymentIntent. If this parameter is omitted with confirm=true,
Customer.defaultSource
will be attached as this PaymentIntent’s payment
instrument to improve the migration experience for users of the Charges API.
We recommend that you explicitly provide the payment_method going forward.
Implementation
final String? paymentMethod;