#dolar-defaultsource-paymentmethod

1 messages · Page 1 of 1 (latest)

boreal jettyBOT
sand siren
past ermine
#

hi hi

#

where do I find the request id?

#

also want to add this is in test mode

#

not production

#

i think i found it: req_u1KJdBbBKIDD1a

sand siren
#

taking a look

boreal jettyBOT
nova elbow
#

dolar-defaultsource-paymentmethod

#

@past ermine the default_source on a Customer is only for legacy integrations using Card card_123 and Source src_123 objects. This has been deprecated for over 4 years now. If you have a PaymentMethod pm_123, you're using newer APIs (PaymentIntents and SetupIntents) and you can not use default_source at all with this

past ermine
nova elbow
#

the PaymentIntent is here to collect a payment. The SetupIntent API is here to collect card details without a payment, for future payments.
So yes if you are just collecting a new card you'd use SetupIntent

past ermine