#delgesu1745
1 messages · Page 1 of 1 (latest)
Hi 👋
You would set the invoice_settings.default_payment_method with the ID of a Payment Method already attached to the Customer
Yeah I got that part already. But what I don't see how to get is the payment method id. This customer doesn't have that anywhere in the customer record.
You can retrieve all attached payment methods for a specified customer with this API: https://stripe.com/docs/api/payment_methods/customer_list
Got it. Thanks! Is this not an expandable object on the customer object itself or do I have to make a separate api call?\
The exandable list is Customer sources, however that is the old legacy API and so you won't see Payment Method objects