#Gaurav0911
1 messages · Page 1 of 1 (latest)
Hey
Once you have a PaymentMethod saved, you can check its funding type with card.funding https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-funding
no Before save i want to check whether it is debit card or credit card
I don't think that's possible. How are you currently accepting card payments?
our system is subscription based
we use chargify to manage subscriptions
stripe is the payment metho
some users are using prepaid cards or debit cards for payemnt
we want to restrict those type of cards
so want to chack card funding type before saving the card details on stripe
I don't think that's possible. But once the card is saved, you can check it's funding type, and for example delete that payment method.