#masawai
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- masawai, 48 minutes ago, 6 messages
Which part do you want to know whether possible?
I am particularly interested in understanding the following:
- Is it possible, as service providers, to change the card information used for a customer's subscription payment on Stripe, in the event that their primary card fails (due to expiration, credit limit, etc.)?
- If such a change is possible, are there specific APIs provided by Stripe that enable us to programmatically change the card information for a customer's subscription?
Is it possible, as service providers, to change the card information used for a customer's subscription payment on Stripe, in the event that their primary card fails (due to expiration, credit limit, etc.)?
Yes, absolutely. You can update the default payment method that is used to bill the subscription. This obviously need to be a card that the user has previously saved on your service
If such a change is possible, are there specific APIs provided by Stripe that enable us to programmatically change the card information for a customer's subscription?
You'd update this param: https://stripe.com/docs/api/subscriptions/update#update_subscription-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But that wouldn't automatically re-attempt the failing payment on the existing invoice