Get the display currency.
GET
/api/users/me/display-currency
const url = 'https://api.tradr.cloud/api/users/me/display-currency';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tradr.cloud/api/users/me/display-currencyAuthed. The single currency cross-account totals are reported in. null means the user has not chosen one.
Responses
Section titled “Responses”The display currency.
Media typeapplication/json
object
currency
string
Example
{ "currency": "USD"}