provider GET
/v1/exchange_rates/{rate_id} @utdk/stripe
/v1/exchange_rates/{rate_id} Retrieve an exchange rate
<p>[Deprecated] The <code>ExchangeRate</code> APIs are deprecated. Please use the <a href="https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api">FX Quotes API</a> instead.</p>
<p>Retrieves the exchange rates from the given currency to every supported currency.</p>
- expand query
- Specifies which fields in the response should be expanded.
- array
- rate_id path required
- string
Try it
Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stripe from '@utdk/stripe';
await stripe.getexchangeratesrateid()