Get the latest stored exchange rate per currency
This API is public and returns the most recently published stored rate for each tracked currency, or for a single currency when currency is given. date is the day the rate applies to, and which side of today it falls on depends on the currency. USD and EUR come from the BCV at its Fecha Valor, which is published ahead of the day itself — so the newest row can be dated in the future, and is the rate that will apply then. USDT is an average of the previous day's Binance P2P quotes, published the morning after — so the newest row is dated in the past, normally yesterday.
currency?stringRestrict the result to a single tracked currency.
"USD""USDT""EUR"Successful response
application/json- response
[index: integer]?curl -X GET 'https://api.unopago.com/v1/public/exchange-rates/latest'[ { "currency": "USD", "date": "2019-08-24", "rate": 0 }]Get the exchange rate a payment on a given day converts at GET
Returns the rate a payment dated `date` converts at. The `date` in the response is the publication that rate comes from, which can differ from the day requested: a weekend resolves to the following Monday's publication, and a day with no publication to the latest one before it.
Reactivate a vendor POST
Siguiente

