#_api
1 messages · Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- _webhooks, 14 hours ago, 10 messages
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248449163771773004
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
Qq have you succeeded installing Stripe as a package?
Yes.
I can execute other commands, but the Meters API is not working.
which API version is your account?
The API version is '2018-02-28'.
Yeah that’s a bit old. Can you try specifying newer version in your request?
Understood.
I executed the following, but got the same result.
> Stripe.api_version = "2023-10-16"
> Stripe::Billing::Meter.list()
> uninitialized constant Stripe::Billing (NameError)
Can you set on request level? https://docs.stripe.com/libraries/set-version#versioning-basics
I executed the following, but got the same result.
intent = Stripe::Billing::Meter.list({stripe_version:"2023-10-16"})
> uninitialized constant Stripe::Billing (NameError)
> intent = Stripe::Billing::Meter.list({stripe_version:"2023-10-16"}).capture
^^^^^^^^^
> Did you mean? Binding
How can I check the version of Stripe Ruby?
The current version of Ruby I am using is 3.3.0.
% ruby -v
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-darwin23]