#damenz-sub-schedule
1 messages · Page 1 of 1 (latest)
that would be the "upcoming invoice" ?
but how do I fetch it via the schedule id
?
Hi again! Are you asking how to see the price ID associated with the sub schedule after it is created?
Yeah... but I just found it
"schedule" parameter of the retrieve an upcoming invoice method
Yep that will work if I understand what you are looking for
Yeah I want the exact price after discount when scheduling a subscription
the object itself returns no billing info
when created
Ah yeah then if you want the exact price, you want to look at the invoice amount itself.
As the Price ID and amount of the Price itself will not include discounts
and since this is not a subscription yet, i have to check the upcoming one right?
Correct
How can I get the interval of a subscription or subscription schedule ?
I need the number
1 = monthly
12 = yearly
for example
You retrieve the sub schedule itself and expand the price(s)
Yep you can expand when creating.
Nice !
is interval_count what I am looking for ?
its gonna be 1 for a monthly subscription and 12 for a yearly subscription for example?