#kay-price-update

1 messages ยท Page 1 of 1 (latest)

sleek summitBOT
#

Hello! We'll be with you shortly. 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.

wraith moth
#

The request body sent through the SDK looks like { "currency_options": { "usd": { "unit_amount_decimal": "100.0" } } }

lyric cipher
#

Hi ๐Ÿ‘‹

Can you share the Request ID for this?

wraith moth
#

req_ZbuOTDLOhJpeEF

lyric cipher
#

Okay, yes this error is more specifically about how the API handles creating multi-currency prices

#

The API will error if you try to specify a currency that is already set as the base currency for the price

wraith moth
#

I'm not sure how to follow the recommendation of the error message from the context of the .NET SDK. There doesn't seem to be another way to provide the currency as a top-level param

lyric cipher
#

You alreayd did

#

That price has a currency set to USD

#

What are you trying to accomplish?

#

Amount and Currency are required to create the Price object and cannot be changed once the Price is created

wraith moth
#

Ahh, then it's just a misunderstanding on my part. I knew the amount was fixed, but not the currency. That answers a larger question for me, thanks!

#

Give my regards to Moomintroll

lyric cipher
#

Okay great, I'm glad we could clear that up. ๐Ÿ™‚