I don't know that the banks "tell" vendors "This purchase was made with a pre-paid credit/bank card" - I've not seen a flag that shows that before.
Stripe give you a `funding` property on a card source [0], which at least in the UK distinguishes between debit, credit and prepaid cards somewhat reliably.