If you have a promo code for certain app, for example: LGC5YHNR3LAY, you can redeem the code on the Mac App Store for FREE.
To redeem a code on the Mac App Store:
Step 1. Launch the Mac App Store, login with your Apple ID, in “Featured” page, you can find “Quick Links” section located on the right hand side. Click “Redeem”.