Go to your account page to update your Steam Trade URL
Press ‘Plus’ button, which means fill up the balance, and enter the code.
Then your balance will be filled up for the sum equal to the price of the purchased case. You can use it both to buy the purchased case or whatever you need.