#LUKE
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Setting setup_future_usage as off-session only attaches the payment method to a customer.
In order to set it as default you'd need to update the customer object by calling the update customer API and setting PaymentMethod as default under
customer.invoice_settings.default_payment_method
https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
LMK if that helped @exotic shuttle
yes it helped me a lot - thanks ๐