#Molly-Card
1 messages · Page 1 of 1 (latest)
Hi there, you can use CardElement to create a card payment method (https://stripe.com/docs/js/payment_methods/create_payment_method), and check the card's funding property (https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-funding) to determine if the card is a debit or credit card.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Having said that, I don't think the chargeback is directly related to the card funding.
Chargeback happens when the customer wins the disputes, and Stripe Radar's Chargeback Protection can defend your business from the unpredictability of disputes, you can learn more about it here https://stripe.com/en-gb-sg/radar/chargeback-protection