You should be able to handle for this by card type? When I wrote merchant software way back, we could separate restricted corporate cards from standard cards prior to processing, because we had to send itemized purchase records for corporate cards in a special format as part of the approval request. I believe corporate cards had their own card ranges and it was trivial to determine if you have the card number.
A funny story. Because they shoehorned this functionality into a fixed length messaging spec instead of repeating segments, we could only send like 12 items. Anything after that was just approved. If I remember correctly the same spec applied to EBT purchases as well. I'm sure they use a different message format now and you totally can't get away with buying 12 things and then beer with an EBT card.