#Alakazam
1 messages · Page 1 of 1 (latest)
Hi there, you need to expand the currency_option
Read the API doc for more details https://stripe.com/docs/api/prices/object#price_object-currency_options
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can you write node js code for my price id
price_1N8mXwSEDjAlhmdivhRZEZaU
Are you there?
have you tried? can you share the code snippet that you've tried?
this one i tried
const price = await stripe.prices.retrieve(priceId, {
expand: ["currency_option"],
});
okay, that looks correct - did it work?
you're missing an s - it should be currency_options