#zajca
1 messages · Page 1 of 1 (latest)
Hi there!
You mean to find the setup_future_usage: on_session/off_session that you set on the PaymentMethod?
yes that is exactly it
I want later check if payment method can be used off session.
But not during actual payment.
Let me check
Hum... Looking at the PaymentMethod object I don't see any info about this: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card
So a couple of things:
Oh I think you could use this: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-generated_from-setup_attempt
And from there you should be able to check on_session/off_session