#shane_docs
1 messages · Page 1 of 1 (latest)
đź‘‹ Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đź”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1295898982488477788
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, you can issue credit notes to your customer (https://docs.stripe.com/invoicing/integration/programmatic-credit-notes), and Stripe will automatically use those credits to pay subscription invoices for the same customer.
Hi Jack, thanks for your help! I have some concerns here, say if a sub/month is $50, and we give them $200, $50 will goes directly to their next sub, however, will the $150 carried over to the following 3 subs?
Yes you are right
I saw it being mentioned in the doc that The credit balance doesn’t apply to invoices created by Checkout Sessions with invoice_creation enabled. Could you please elaborate on that?
If we are targeting user with normal payment link, we should not worry about this case?
Hmm, what do you worry about?
That user may not be able to use the credit note towards their future subs?
No, I don't think that's the case, and I'd highly recommend you to test it out in test mode to get yourself familiar with it.
Sure! And my last question, I saw a invoice id is required when create a credit note, in my use case, it is not targeting a specific invoice, which invoice_id should I put here?
https://docs.stripe.com/api/customer_balance_transactions/object you can also create a customer balance transaction to add credits to your customer's balance. This doesn't requires an inovice ID.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you so much for your help, really appreciated!! If I have similar questions in the future, can I comeback to this thred and continue this chat?