#anamariaoros_code
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/1417767567145177098
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! do give me some time to take a look at this
Were you using the method previously and now it does not work for you? Or are you attempting to use it for the first time?
It's an attempt to use for the first time.
Ok. But that means that I have to have a request for each currency, right? So if I want for example the currency from GBP to USD, EUR and RON i have to do 3 separate requests
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Ok. I tried create the fxQuotes like shown in example, incliding adding the version part { apiVersion: '2025-07-30.preview' } but there is an ts error Property 'fxQuotes' does not exist on type 'Stripe'. Did you mean 'quotes'? And even if i ignore it I get this error: Cannot read properties of undefined (reading 'create') 400.
Is this a feature that is only active for some of the accounts?
What attribut in the doc exactly you are trying to access using the nodejs ?
Are you using the preview version of NodeJs sdk too ?
I am trying to create a fx Quote like this: stripe.fxQuotes.create({ to_currency: 'usd', from_currencies: ['gbp'], lock_duration: 'hour' }); and i am using the recommended preview version stripe = require('stripe')(stripeSecretKey, { apiVersion: '2025-07-30.preview' })
Did you install the preview SDK too ?
Not just passing the API version in the header
I did that now. Seams to work. I got some data. Thanks.