I did some research and plan to integrate a few apps together to have the below configured. Need help if there is any solution to this.
1. Affiliates uploads 500 dollars into a wallet.
2. Programs, coupons and referrals is set up. (Potentially Secomapp)
3. Customer place an order using coupon code.
4. Based on the purchase price ie. 100 dollars, affiliate wallet is deducted of 100 dollars
5. Payments is paid out to affiliate based on set commission
6. Customer cant use coupon code if affiliates wallet runs out of $$ .
Currently, it doesn't have a wallet system and we are launching the discount code feature in the next 2 weeks. If you need any help with the setup, you can email our support at firstname.lastname@example.org.
If you feel my answer helpful, like it or give it a thumb up. Let me know if you have any questions.