#rmulo-lima_api

1 messages ยท Page 1 of 1 (latest)

fallow slateBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!

โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1214599349594619944

๐Ÿ“ Have more to share? You can add more detail below, including code, screenshots, videos, etc.

mighty brookBOT
#

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.

high cove
#

Hi ๐Ÿ‘‹ there are several ways to do that depending on the specifics of how you're building your integration. But in general once you have the Payment Method ID, you will need to set it as the default payment method at either the Customer:
https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method
or Subscription object level:
https://docs.stripe.com/api/subscriptions/update#update_subscription-default_payment_method

#

If you set it at the Subscription level, it will only be used for that Subscription. If you set it at the Customer level it will be used for every Subscription that doesn't explicitly have a default payment method set.

visual harbor
#

thanks

#

Can I do this using the portal or do I have to use the payment intent?

high cove
#

I'm not sure I understand that question. If you're doing this via the API, you would make an update request for the Customer or Subscription object you're updating.

#

When you say "portal" is that our Customer Portal, the Stripe dashboard, or something else?