Exchange Rates
View the exchange rates used on Peerwallet for all transactions.
End Point
"https://calls.peerwallet.com
/exchange-rates"
Send your keys via headers
VALUE
api-public-key
REQUIRED
YES
DESCRIPTION
This is your Public API Keys which can be found here.https://peerwallet.
com/map/api-keys
Below are the POST values to send and their explanations on each field.
VALUE
currency
REQUIRED
YES
DESCRIPTION
This is the currency from where you want to check the exchange rate. Example USD.
Post Fields
[
"api-public-key",
"currency"
]
Return Values Success Sample
{
"status": 200,
"from":"USD" ,
"data": {
"to": "EUR" ,
"rate":0.0904 ,
"old_rate1": "0.0903" ,
"old_rate2":0.0903 ,
"old_rate3":0.09032
},
"note":"Payment verification has been processed"
}
Return Values Error Sample
{
"status": 500,
"note":"Exchange rates could not be fetched"
}