#SlamDuncan
1 messages ยท Page 1 of 1 (latest)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
no rush
Hi I think the Price has a top level currency is USD already: https://dashboard.stripe.com/test/logs/req_EHjrjwEeDGSESG
It means you can only set or update the currency_options on non-default currencies.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I agree that the message is confusing or could be misleading, but I don't think you can update the top-level or default currency of a Price once it's created already
Looking at the API here https://stripe.com/docs/api/prices/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What parameter would I use to update the unit amount of the price?
it requires a currency. The currency will always be uds
usd
thanks for the help
It's the point, I don't think it's possible to change unit amount and currency ๐ May I recommend you to just create a new Price
I wonder why it's not possible to change the unit amount without changing the price. odd
without changing the currency*
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I dont see an option to make a new price a "default" price.
It's the currency and unit_amount the "default" for that Price. All others are in currency_options and should be different than the default
When I create a new price for a product, I need to make the new price the "default price" for the product. I don't see an option to do that.
Should be Update Product API: https://stripe.com/docs/api/products/update?lang=ruby#update_product-default_price
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks. Is there a delete price api?
You can archive it https://stripe.com/docs/api/prices/update?lang=ruby#update_price-active set to false
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That's all. Thanks for your help.