Today, I was cursing my ATM because it tried to eat my debit card and I thought to myself "Why aren't there similar items/objects in a D&D environment?"

It seems that in a fantasy world with a fair amount of magic then some sort of magical debit card or similar object could exist and reduce the amount of gold/platinum/etc. pieces that individuals would have to carry around with them. Obviously this would only be implemented by the most evil of DMs as it would possibly remove a large section of loot to be found by adventurers but other than the removal of the 'fun' wouldn't this make at least some sense? And has it been implemented in a game or world (RPG, book, etc.) already?

Just me wondering. And if this is the wrong forum, let me know that too but it seemed to make more sense here than elsewhere.