#sreekanth_sub-multi-prod
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/1245638787980329043
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi
may i know what is the "unit_amount": 300,
"unit_amount_decimal": "300" in subscription
need some info about the response after creating subscription
What information do you need about the response?
Where did you get this field from? Could you share the example request ID (req_xxx) with this response?
Thanks for sharing! The amount in the response uses a currency’s smallest unit. For example, to charge 10 USD, provide an amount value of 1000 (that is, 1000 cents)
In the example, the currency is in GBP, so 43 in amount is equivalent to GBP 0.43 whereas 300 is equivalent to GBP 3.00
what is the diff in amount in data vs amount in plan ?
amount in plan is the amount of the original price;
data has contains many child amount, which field are you looking for specifically?
"object": "line_item",
"amount": 43,
"amount_excluding_tax": 43,
Hey! Taking over for my colleague. Let me catch up.
That's the amount of the item line of the invoice il_1PLS8TJKyfLg4PX0TSDpxhBF
43 is the proration for the used period of the price price_1PLS8SJKyfLg4PX09qEXDi2M
dont understand
What part exactly ?
First, I invite you to walkthrough this guide in order to understand subscription proration and how it works:
https://docs.stripe.com/billing/subscriptions/prorations
That's the amount of the item line of the invoice il_1PLS8TJKyfLg4PX0TSDpxhBF
43 is the proration for the used period of the price price_1PLS8SJKyfLg4PX09qEXDi2M
no....
I invite you read this guide first.
understood
A user cannot subscribe to the same subscription twice. Doing so will result in a proportion. ?
okay
unit_amount is the actual amount ?
unit amount is the price amount.