#ss_constanci - Update Payment Method
1 messages ยท Page 1 of 1 (latest)
User's payment method, like a new credit card
More precisely, which of these is better? https://stripe.com/docs/api/payment_methods/update vs updating ChargesAPI
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Charges API is only used for charges and is fairly old.
If a customer wants to add a new credit card that would be creating a new Payment Method.
Are you trying to save these to a customer, charge them immediately, or both?
Some instances could be only saving, some could be saving and charge them immediately
In that case you would use Setup Intents in the first case (https://stripe.com/docs/payments/save-and-reuse) and Payment Intents with a setup for future use parameter in the second (https://stripe.com/docs/payments/save-during-payment)
Makes sense, thanks @noble dawn
Also one more question : If we are using Subscription Schedules, will it allow for us to delay collecting the payment method, simliar to Trial Periods if the first phase I am providing trials?
I think that will work. The user will get an invoice for $0 but since there is no payment expected they won't be asked for a payment method. You can then use your own integration or our Hosted Invoice Page to collect payment info on the first actual invoice.
Awesome, thanks so much
Happy to help ๐