#mochi-back-already
1 messages ยท Page 1 of 1 (latest)
I'm back
@brave lantern hard to say without a lot more context, actionable details, example info, etc.
mochi-back-already
lmfao
so I credited the customer some amount of money in stripe but I dont see that reflected in the subscription upgrade preview
wait nvm
lol
what have you tried? :p
like if you write code you get an Invoice back and it'd have a lot of info
there are like 10/12 properties for amounts on Invoice
should I be using the total field for the subscription preview or the amount due field
What do you call "the subscription preview" though? The Retrieve Upcoming Invoice API? If so, you get an Invoice object back and should look at all the properties in the API Reference: https://stripe.com/docs/api/invoices/object to figure out what to use. starting_balance, ending_balance, amount_due and many more
this is just a picture though
sorry you literally said not to use us like chatgpt
and I explained I don't let people do that. Please read the docs and the json, look at the properties, find the amount you care about
yea sorry I just can't find the total field there
wait sorry
nvm ๐ณ
I'm gonna go now lol
๐