#tomas at amenitiz
1 messages ยท Page 1 of 1 (latest)
Ah, like manually set the next_invoice_sequence at an account level?
Like you say, seems possible on customer level: https://stripe.com/docs/api/customers/update#update_customer-next_invoice_sequence
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Maybe you can set this via the Dashboard actually: https://stripe.com/docs/invoicing/customize#invoice-numbering-schemes:~:text=Stripe automatically assigns,longer in use.
Hmm, screenshots aren't working. This is the Dashboard link: https://dashboard.stripe.com/settings/billing/invoice
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yeah, looks that way
That still would allow me to change just the prefix, no? For the next_invoice_sequence I have. no way of doing it for account level, either via api or the dashboard?
No, you can explicitly set the next number in the sequence
For some reason I can't upload screenshots to show ๐คฆโโ๏ธ
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Hey! So basically from my screenshots; I don't see a way to change the next_invoice_sequence at the acount level.
it's basically https://dashboard.stripe.com/settings/billing/invoice
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
While it's pretty clear from the docs how to do it on a customer level; that schema only applies to the US
Hmm so I don't have that row
within it you have Next test invoice sequence
Either that or I'm supper stupid
what's your account ID?
Oh I see that you are on a very old API version
Ah yes, it could be that
So I can only have one version enabled at all times?
Would I have any major implications if I upgrade it? For instance backwards compatibility issues?
yes there are some major breaking changes
if you want you can upgrade your API version to the latest which would make it the default for you, but then you can specify the version you want to use in your code to still take the old API version resulting in no compatibility issue with your code
hmmm, that sounds like a good approach
so it will still leave my codebase compatible, but it will update my dashboard to match the latest API version?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
for your codebase you need to look at this ^
you need to pass in specifically the API version in all of your projects so you wouldn't change the current behavior
I would advise you to start by doing that before upgrading to the latest API version on the dashboard
yeah, that seems the smartest way to go about it
thanks, that seems all pretty clear
you can close the thread, I'll see into the implications of bumping the API version in the dashboard
one last question: if I created webhooks on an API Version
and then bump it
they'll stay on the api version created, or do I need to specify the version I need?
meaning, would upgrading my account api-version upgrade my webhooks api-version too? That would be really undesirable
to avoid that you can create a new webhook endpoint and choose which API version you want it to be at, and then delete the old one
you should also think about adding the versioning in the Stripe instance in your webhook endpoint too
if it's different than your app's
I will, thanks
sure thing ๐ let me know if you need any more help
I don't think I need for a while, so feel free to close it
Thanks for the help and sorry for the inconvenience ๐
no worries at all, feel free to come back whenever you need anymore help.