The truth is you probably can't achieve that coupon thing in your app. Consult the App Store Review Guidelines for that, but Apple hates to see apps that are limited to a particular place and/or space and that can be used only by a very small number of people.
But there is a way out of this. Take a look here - https://developer.apple.com/programs/volume/b2b/