#gab-gab_api

1 messages ¡ Page 1 of 1 (latest)

void canyonBOT
#

👋 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/1407440759443161140

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

radiant cloak
#

I believe you're looking at the wrong param.. You need to look at the Line items' period property for the actual time period of the invoice

See: https://docs.stripe.com/api/invoices/object#invoice_object-period_start

Start of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the line item period to get the service period for each price.

high patrol
#

Damn got it, thank you very much!