#Wade-payment-methods
1 messages · Page 1 of 1 (latest)
Hi 👋 there isn't a tell-tale way to identify which payment methods are created from the use of setup_future_usage vs those that are created directly.
Hey Toby, Thanks for the answer. That is what I thought you might say.
Any time!
Is there a particular reason you were trying to identify those payment methods?
well we have a payment intent using 3DS we are charging. We are setting off_session so we can bill this same card in the future for any additional charges. However some of our existing customers have multiple cards as payment methods. So I am looking for a way to find that off_session payment method to do additional charges without 3DS verification.
Ah gotcha. So there isn't a way to tell that just by listing the cards, but you could build a process that listens to webhook events for payment_intent.suceeded events. You can then check the setup_future_usage field on the intent, and if it's set to off_session, then update the metadata of the associated payment method so there is an identifier on it that you can reference later.
ah ok. That sounds like a perfect way to solve it