#NikZB-promo
1 messages · Page 1 of 1 (latest)
I think all three options work. Coupons would have to be a flat amount(not a percentage) so that the invoice amount can be made overall negative. Negative invoice items would make it negative much easier.
Once the amount is negative and the invoice is paid, that invoice is closed automatically and the negative amount is added to the customer balance and is offset on future invoices.
if it was me I'd simply directly add $10 credit to the customer balance (https://stripe.com/docs/api/customer_balance_transactions/create) when a referral happens and the invoices should all just work out.
Yeah, that seems like the simplest option.
There is a note on that page "Of these methods, negative invoice items provide more detailed information as to what discount was created, when, and why." so that would be nice to have more information I guess
If I add a $10 one time credit to a subscription, then would that be a negative invoice item?
what would happen is one the next invoice for that customer, there's an applied balance item for the amount that is in the customer's balance at the time of the invoice
if you use a negative invoice item then you can have line items that get sucked into the next invoice
Ok, thanks!