I want to create a coupon code that I can share with my users, and I want to limit its usage such that only one user can get its discount and then the coupon should become invalid for other users.
Use The Coupon Set Feature
Here's how you can do this:
1. Create a Parent Coupon
Create a Parent coupon from the Coupons tab under Product Config and configure the desired Discount, Validity and the Nomenclature.
2. Upload A Coupon Set
Under the Coupon Set tab, upload a host of Coupon Codes as a CSV file. Here's an example of how it could look like:
This way each Coupon Code in the CSV file mimics the parent coupon in functionality and also becomes invalid after single redemption.
Here's more reading material coupon codes functionality of ChargeBee: https://www.chargebee.com/docs/coupon_codes.html