Update card details with a SetupIntent

  1. Create a new SetupIntent with the updated card details.

  2. Attach the new paymentmethod to the customer.

  3. In the customer object, set the new paymentmethod to Default under invoice_settings.default_payment_method.

Additional Information