POST
/
api
/
v1
/
safe
/
set-currency
Set Safe Currency
const url = 'https://api.gnosispay.com/api/v1/safe/set-currency';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "tokenSymbol": "EURe"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully set the currency for the Safe account

tokenSymbol
enum<string>

The token symbol set for the Safe account

Available options:
EURe,
GBPe,
USDCe