#NESH
1 messages · Page 1 of 1 (latest)
Can you share the ID (req_xxx) of the failing API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I fixed the issue, above, I now have this one:
req_vvAQr8d9O9mrst (ou are specifying an update to a currency option that matches the top-level currency for this price. Please remove this currency option and update the top-level params instead.)
what this mean?
You're trying to add a eur currency option, yet eur is already the default currency for the Price object
but how can I update its amount? I don't want to add, I am using price update api, therefore I want to update currency, not add new one
Well, generally you can't update the base unit_amount of a Price. They're mostly immutable once used: https://stripe.com/docs/products-prices/manage-prices#:~:text=Note that you can not change a price’s amount in the API. Instead%2C we recommend creating a new price for the new amount%2C switch to the new price’s ID%2C then update the old price to be inactive.
it really bothers me that many stuff available in the dashboard is forbidden with the API
As I said though they're immutable in the Dashboard too once they're used in a payment. We just apply that restriction regardless on the API
you are right for the part "when they are used", but in the initial message I wrote "not yet used in any transactions/subscriptions, etc".
In that case, in dashboard we can edit amount, but not with the API
Yup, that's just how it works