Your foreign visa card works in 7-11 thailand. No lower limit. If it's decor card you might need to say "credit". Bangkok bank visa debit does NOT work...
See if you can change the flights so you have longer time, if less than 24h it still counts as "transfer" and not stopover. I've done this before. The airline did the change for free. If you're lucky