I'm trying to build an affiliate system. I currently have a Stripe Plan setup for customers that bills them monthly. I'd like to give a percentage-based commission to affiliates.
Is there a way to automatically pay stripe customer when another customer gets billed off of this plan? Is this possible to configure in a existing Stripe plan?
Alternatively, is there a way to setup a Stripe plan for an affiliate that pays them rather than charge them every month? I could subscribe the affiliates to such a plan, but I would also need a way to multiply the payment based on how many customers they referred.
What's the solution?
You can add an invoice item with negative amount so affiliate has to pay less on next subscription charge (https://stripe.com/docs/api#invoiceitems).
I don't think you can pay your customers via Stripe.