#prasanth_20580
1 messages · Page 1 of 1 (latest)
Yes, after they paid, you can look at the used PaymentMethod object to find out
Is the object available in checkout session OR we know from webhook?
Payment Method API's show response only as "Card" and other details. It doesnt says is it credit or debit card
On checkout.session.completed, you want to expand the PaymentIntent, then the PaymentMethod inside it
Then look at this card.funding property: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-funding
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.