#Raghav-default-payment-method

1 messages · Page 1 of 1 (latest)

tardy knoll
young rapids
#

so can I listen for setup_intent.succeeded webhook and once it's succeeded can I update it as the default method? @tardy knoll

tardy knoll
#

yes, that would work

young rapids
#

Alright

#

is it possible to pass in the setup intent id as the value for customer.invoice_settings.default_payment_method or I need to use setup_intent.payment_method @tardy knoll

tardy knoll
#

you need to use the PaymentMethod id, it'll look like pm_123

young rapids
#

Thanks, dude 🙂