#delgesu1745

1 messages · Page 1 of 1 (latest)

solemn fogBOT
delicate girder
#

Hi 👋

You would set the invoice_settings.default_payment_method with the ID of a Payment Method already attached to the Customer

versed latch
#

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.

delicate girder
versed latch
#

Got it. Thanks! Is this not an expandable object on the customer object itself or do I have to make a separate api call?\

delicate girder
#

The exandable list is Customer sources, however that is the old legacy API and so you won't see Payment Method objects

versed latch
#

Yeah, ok.

#

Thanks for the help!