#pranay9915
1 messages · Page 1 of 1 (latest)
Can you explain more about the use case here? Are you trying to have local currency presented in Checkout automatically or something else?
I have a product in two currencies. For that in a price I can have multiple currencies if i create the price from stripe dashboard. Please see the screenshot attached. Now i want to create this using price Stripe API but I'm not able to find out the documentation.
Gotcha, just a moment
So it depends on how you use these prices, but in terms of custom integration you'd create two Prices using different currencies here:
https://stripe.com/docs/api/prices/create?lang=curl#create_price-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.
hey extremely sorry for opening the thread. I did not look enough in the docs. I know how to do that now. Thanks!
For Checkout, there are two related "automatic" ways to present local currencies:
https://stripe.com/docs/payments/checkout/present-local-currencies
Sure thing, but for completeness you can wither leverage the "automatic currency conversion" describe there, or you can set alternate currencies on your existing Prices for "multi-currency prices" with currency_options:
https://stripe.com/docs/api/prices/update?lang=curl#update_price-currency_options