Expenses

Get Hris Expense Currencies

Lists org currencies, auto-creating missing common fiat rows, plus the employee's crypto wallet.

GEThttps://api.toku.com/hris/get-hris-expense-currencies

Required scope: expenses:read. It also needs banking:read.

curl --request GET \
  --url 'https://api.toku.com/hris/get-hris-expense-currencies' \
  --header 'Authorization: Bearer <token>'
200 response
{
  "currencies": [
    {
      "currencyID": "string",
      "currencyCode": "string",
      "name": "string",
      "crypto": true,
      "coinLogoURL": "string"
    }
  ],
  "employeeCryptoWallet": {
    "address": "string",
    "chain": "string",
    "stablecoin": "string"
  }
}

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.

Query parameters

roleInOrgIDstring<uuid>

Response

200Successful response
currenciesobject[]required
Show child attributes
currencyIDstringrequired
currencyCodestringrequired
namestringrequired
cryptobooleanrequired
coinLogoURLstring | nullrequired
employeeCryptoWalletobjectrequired
Show child attributes
addressstring | nullrequired
chainstring | nullrequired
stablecoinstring | nullrequired
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits