Wallets

Get Employee Historical Wallets

Returns the ARCHIVED, CANCELLED and REJECTED wallets of one employee, newest first. Only CLIENT_ORG_ADMIN tokens may call it.

GEThttps://app.toku.com/api/tokuApi/v1/getEmployeeHistoricalWallets

This is the v1 (legacy) API. The current API is in the API reference.

curl --request GET \
  --url 'https://app.toku.com/api/tokuApi/v1/getEmployeeHistoricalWallets?roleInOrgID=%3CroleInOrgID%3E' \
  --header 'Authorization: Bearer <token>' \
  --header 'x-role-type: CLIENT_ORG_ADMIN'
200 response
{
  "data": [
    {
      "walletID": "770e8400-e29b-41d4-a716-446655440002",
      "roleInOrgID": "660e8400-e29b-41d4-a716-446655440001",
      "name": "Primary ETH Wallet",
      "address": "0x1234567890abcdef1234567890abcdef12345678",
      "memo": "string",
      "destinationTag": 0,
      "network": "Ethereum",
      "status": "VERIFIED",
      "walletType": "SELF_CUSTODY",
      "orgNetworkID": "880e8400-e29b-41d4-a716-446655440003",
      "createdAt": "2026-01-01T00:00:00Z",
      "updatedAt": "2026-01-01T00:00:00Z",
      "isCurrent": true,
      "isDefault": true,
      "legacyMigratedAt": "2026-01-01T00:00:00Z",
      "legacyModelID": 0,
      "walletTypeCustomID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "nickName": "My Ledger",
      "investorEntityID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "tokenTypeID": "990e8400-e29b-41d4-a716-446655440004",
      "connectedViaMesh": true,
      "userDismissed": true,
      "walletVerificationRequest": {
        "walletVerificationRequestID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "roleInOrgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "walletID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "link": "string",
        "addedByRoleInOrgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "rejectedAt": "2026-01-01T00:00:00Z",
        "rejectedReason": "string",
        "rejectedByRoleInOrgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "approvedByRoleInOrgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "approvedAt": "2026-01-01T00:00:00Z",
        "createdAt": "2026-01-01T00:00:00Z",
        "updatedAt": "2026-01-01T00:00:00Z",
        "investorEntityID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "legacyMigratedAt": "2026-01-01T00:00:00Z",
        "legacyModelID": 0
      },
      "roleInOrg": {
        "roleInOrgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "orgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "personID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "role": "TOKU_ADMIN",
        "externalEmployeeID": "string",
        "payrollEmployeeID": "string",
        "workEmail": "string",
        "jobTitle": "string",
        "country": "string",
        "countryCode": "string",
        "employmentType": "CONTRACTOR",
        "revokedAt": "2026-01-01T00:00:00Z",
        "person": {
          "personID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "givenName": "string",
          "familyName": "string",
          "middleName": "string",
          "createdAt": "2026-01-01T00:00:00Z",
          "updatedAt": "2026-01-01T00:00:00Z",
          "legacyMigratedAt": "2026-01-01T00:00:00Z",
          "legacyModelID": 0,
          "mergedIntoPersonID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "mergedAt": "2026-01-01T00:00:00Z"
        }
      },
      "orgNetwork": {
        "networkID": "880e8400-e29b-41d4-a716-446655440003",
        "orgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "name": "Ethereum",
        "icon": "ethereum.svg",
        "tokenType": "ERC20",
        "isNetworkEnabled": true,
        "chainType": "EVM",
        "meshConnectNetworkID": "string",
        "evmChainID": 1,
        "multiSendCallOnlyAddress": "string",
        "safeSingletonAddress": "string",
        "safeFactoryAddress": "string",
        "safeAppBaseUrl": "string",
        "safeTxServiceUrl": "string",
        "blockExplorerBaseUrl": "string",
        "eipsName": "string",
        "aleoTransferVisibility": "PUBLIC",
        "defaultNetworkSlugUrl": "string",
        "catalogChainID": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      },
      "tokenType": {
        "tokenTypeID": "990e8400-e29b-41d4-a716-446655440004",
        "name": "USDC",
        "currencyCode": "USDC",
        "icon": "string",
        "orgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "enabledForPayrollType": "ON_CYCLE",
        "networkID": "880e8400-e29b-41d4-a716-446655440003",
        "address": "string",
        "decimalPlaces": 6,
        "coinMarketCapID": "string",
        "createdAt": "2026-01-01T00:00:00Z",
        "isTokenEnabled": true,
        "isContractorDefault": true,
        "defaultTokenSlug": "string",
        "catalogTokenDeploymentID": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      },
      "tokenWalletReferences": [
        {
          "walletReferenceID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "roleInOrgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "walletID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "distributionRatio": "string",
          "distributionType": "PERCENTAGE",
          "isBonusToken": true,
          "fixedAmount": "string",
          "createdAt": "2026-01-01T00:00:00Z"
        }
      ]
    }
  ],
  "error": null
}

Authorizations

Authorizationstringheaderrequired

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

Headers

x-role-typestringrequired

Seat role the token acts as. The token's creator must hold this role in the token's organization; TOKU_ADMIN and unknown values are refused with 401. This operation accepts CLIENT_ORG_ADMIN; other roles get 403.

Available options: CLIENT_ORG_ADMIN

Query parameters

roleInOrgIDstring<uuid>required

Response

200Historical wallets
dataobject[]required
Show child attributes
walletIDstring<uuid>
roleInOrgIDstring<uuid>

Seat (RoleInOrg) that owns the wallet

namestring | null
addressstring | null

Wallet address

memostring | null
destinationTaginteger | null

XRPL destination tag

networkstring

Legacy network label. orgNetworkID is the real network link.

statusstring

PENDING: added, waiting for a test transaction. PENDING_TXN_APPROVAL: test transaction sent, waiting for confirmation. VERIFIED: confirmed. REJECTED, CANCELLED, ARCHIVED: closed. PENDING_ADMIN_LINK_TXN: legacy, unused.

Available options: PENDING, PENDING_ADMIN_LINK_TXN, PENDING_TXN_APPROVAL, VERIFIED, REJECTED, ARCHIVED, CANCELLED

walletTypestring | null

Available options: SELF_CUSTODY, EXCHANGE

orgNetworkIDstring<uuid> | null
createdAtstring<date-time>
updatedAtstring<date-time>
isCurrentboolean

True for the wallet(s) payouts go to

isDefaultboolean

Deprecated, unused

legacyMigratedAtstring<date-time> | null
legacyModelIDinteger | null
walletTypeCustomIDstring<uuid> | null
nickNamestring | null
investorEntityIDstring<uuid> | null
tokenTypeIDstring<uuid> | null
connectedViaMeshboolean
userDismissedboolean

The owner hid this archived wallet from their view

walletVerificationRequestobject | null

Wallet verification request row

Show child attributes
walletVerificationRequestIDstring<uuid>
roleInOrgIDstring<uuid>
walletIDstring<uuid>
linkstring | null

Test transaction link

addedByRoleInOrgIDstring<uuid> | null
rejectedAtstring<date-time> | null
rejectedReasonstring | null
rejectedByRoleInOrgIDstring<uuid> | null
approvedByRoleInOrgIDstring<uuid> | null
approvedAtstring<date-time> | null
createdAtstring<date-time>
updatedAtstring<date-time>
investorEntityIDstring<uuid> | null
legacyMigratedAtstring<date-time> | null
legacyModelIDinteger | null
roleInOrgobject
Show child attributes
roleInOrgIDstring<uuid>
orgIDstring<uuid>
personIDstring<uuid>
rolestring

Available options: TOKU_ADMIN, CLIENT_ORG_ADMIN, CLIENT_ORG_APPROVER, FINANCE_ADMIN, USER, INVESTOR, SUB_INVESTOR, SUB_RECIPIENT

externalEmployeeIDstring | null
payrollEmployeeIDstring | null
workEmailstring | null
jobTitlestring | null
countrystring | null
countryCodestring | null
employmentTypestring | null

Available options: CONTRACTOR, EMPLOYEE, EX_EMPLOYEE, ADVISOR, SERVICE_PROVIDER, OTHER

revokedAtstring<date-time> | null
personobject

Person row

Show child attributes
personIDstring<uuid>
givenNamestring
familyNamestring
middleNamestring | null
createdAtstring<date-time>
updatedAtstring<date-time>
legacyMigratedAtstring<date-time> | null
legacyModelIDinteger | null
mergedIntoPersonIDstring<uuid> | null
mergedAtstring<date-time> | null
orgNetworkobject | null
Show child attributes
networkIDstring<uuid>
orgIDstring<uuid>
namestring
iconstring | null
tokenTypestring

Available options: ERC20, NATIVE

isNetworkEnabledboolean | null
chainTypestring | null

Available options: EVM, SOLANA, XRPL, BITCOIN, COSMOS_SDK, FILECOIN, PROVENANCE, ALEO, FOGO, FIAT, NEAR, POLKADOT, STACKS, SUI

meshConnectNetworkIDstring | null
evmChainIDinteger | null
multiSendCallOnlyAddressstring | null
safeSingletonAddressstring | null
safeFactoryAddressstring | null
safeAppBaseUrlstring | null
safeTxServiceUrlstring | null
blockExplorerBaseUrlstring | null
eipsNamestring | null
aleoTransferVisibilitystring | null

Available options: PUBLIC, PUBLIC_TO_PRIVATE, PRIVATE

defaultNetworkSlugUrlstring | null
catalogChainIDstring<uuid> | null
tokenTypeobject | null
Show child attributes
tokenTypeIDstring<uuid>
namestring
currencyCodestring
iconstring | null
orgIDstring<uuid>
enabledForPayrollTypestring | null

Available options: ON_CYCLE, OFF_CYCLE, INVOICE_PAYMENT

networkIDstring<uuid>
addressstring | null

Token contract address (ERC20)

decimalPlacesinteger | null
coinMarketCapIDstring | null
createdAtstring<date-time>
isTokenEnabledboolean | null
isContractorDefaultboolean
defaultTokenSlugstring | null
catalogTokenDeploymentIDstring<uuid> | null
tokenWalletReferencesobject[]
Show child attributes
walletReferenceIDstring<uuid>
roleInOrgIDstring<uuid>
walletIDstring<uuid>
distributionRatiostring | null

Share of pay, 0 to 1, as a decimal string

distributionTypestring

Available options: PERCENTAGE, FIXED_AMOUNT

isBonusTokenboolean
fixedAmountstring | null

Decimal value sent as a string

createdAtstring<date-time>
errorobject | nullrequired

Always null on success

401The token is missing, invalid or expired
errorstringrequired

What went wrong

403The token's seat doesn't have the permission this operation needs
errorobjectrequired
Show child attributes
messagestringrequired
429Too many requests from this address or token. Wait for the number of seconds in the Retry-After header, then retry.
errorstringrequired

What went wrong

500The operation failed. This includes input that doesn't match what the operation accepts; error.message says what was wrong.
errorobjectrequired
Show child attributes
messagestringrequired
Was this page helpful? Suggest edits