To allow affiliates to generate coupon on their own, you can allow self-generate coupon while setting up Store credit. By turning this setting on, affiliate's commission will be paid and accumulated in a Store credit wallet, the affiliate can generate their coupon any time with any value.