Ok, I think I got it
By bringing a card from your board to the shop, you can sell/remove it from your board and get back 1 gold. (I added it to the "How to play" panel, but maybe it's not clear enough in game ?)
That's also how the bots swap their cards between fights.