Currency Exchange Endpoint
The Currency Exchange endpoint allows you to get the exchange of any local currency compared against USD
Currency Exchange
GET
https://api-stg.lime-pay.com/v3/exchange_rates?country={country}&amount={amount}
The exchange_rates
endpoint allow you to get the exchange of any currency compared against USD.
Query Parameters
country
string
Country ISO code in whose local currency the amount will be converted to.
amount
number
Amount to convert in USD. If none is specified, 1
will be assumed.
Headers
Authorization
string
"Bearer " + Read-Only API Key
Example request
Please find all the country codes in the Countries Specifications section.
Response fields
Field name
Format
Description
fx_rate
Number
Currency exchange
currency
String
converted_amount
Number
Amount resulting from multiplying the amount
you sent with the fx_rate
Last updated