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

Headers

Example request

curl --location --request GET 'https://api-stg.lime-pay.com/v3/exchange_rates?country=VN&amount=1' \
--header 'Authorization: Bearer your_read_only_key_here'

{
    "fx_rate": 26118.7500,
    "currency": "VND",
    "converted_amount": 26118.7500
}

Please find all the country codes in the Countries Specifications section.

Response fields

Last updated