#Zura
1 messages ยท Page 1 of 1 (latest)
Hello ๐
I don't think payment_method_details is a supported parameter on the PaymentIntent.
Do you mean payment_method parameter instead? If so, you need to expand it
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method
Thanks, It was very helpful
NP! ๐ Happy to help
One more please, what is the best way to detect whether the payment was made by debit card or credit card (visa,MasterCard, etc. )
Hi ๐
You can inspect the Payment Method associated with the payment and check the card.funding property