#sergey-paymentmethods
1 messages · Page 1 of 1 (latest)
hi there! PaymentMethods are what you should be using now, not Sources.
PaymentMethods cannot be migrated to Sources.
I'd suggest you upgrade your code to use PaymentIntents / PaymentMethods instead. Sources are compatible with PaymentIntents, you can pass in the Source id in payment_method [0]
This guide may be helpful too : https://stripe.com/docs/payments/payment-intents/migration
[0] https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method