This seems to be possible with checkout sessions https://docs.stripe.com/payments/checkout/subscriptions/update-payment-details