Get Currency Value

This API returns the current exchange rate for a given currency.

Endpoint #

The Voomerr Get Currency Value endpoint is GET https://admin.voomerr.com/api/get_currency_value.php

Request Parameters #

Parameter Type Required Description
currency string Yes The code of the currency for which to get the rate

Response Parameters #

Parameter Type Description
status string A success or error message indicating if the API call was successful or not.
data object An object containing the current exchange rate for the specified currency, with the following keys:
– currency: The code of the currency for which the rate was requested.
– value: The current exchange rate for the specified currency.

Request Example #

javascript
https://admin.voomerr.com/api/get_currency_value.php?currency=USD

Response Example #

json
{
"status": "success",
"data": {
"currency": "USD",
"value": 1
}
}

Powered by BetterDocs