#sdasdq3we
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- sdasdq3we, 5 days ago, 2 messages
Hi there!
hi
I'm not sure I understand. Can you clarify what you mean by "in some receipt we get Applied balance"? Maybe share an example?
I would need an Invoice ID that looks like in_xxx.
You have a specific invoice, and want to know how much Customer Credit Balance was used on that invoice?
cus_Ov6h5567XbvULL
Check upcoming invoice for this customer
yes I can see it. so what's the question about this invoice?
I am calculating invoice amount for update subscription.
In that for correct amount I have to reduce remaining amount from total.
So I want to get that amount.
I'm sorry I don't understand your question. Can you clarify, step by step, what you are trying to do and what is the issue?
I have one subscription that has one product with amount of $12.
If I update subscription and remove that $12 product and add $24 product so In this case I only have to pay $12.
I want to calculate that incoice amount for update in our side.
Thanks that clearer.
When you change the price of the Subscription, Stripe will automatically compute how much the customer needs to pay. So I don't understand why you said "I want to calculate that incoice amount for update in our side". Can you clarify this point?
I want to so actual amount to customer before updating subscription.
Oh, you want to know in advance how much the customer will have to pay if you update the Subscription?
Then you can use this endpoint: https://stripe.com/docs/api/invoices/upcoming
yes
With it you can preview the effects of updating a subscription