Wallet Distribution
Get Wallet References with Networks
Returns the grant wallet references of the given seats whose wallet is VERIFIED, current and on the network of tokenTypeID, with the wallet and the owner's seat and person.
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/getWalletReferencesWithNetworks?roleInOrgIDs=%3CroleInOrgIDs%3E&tokenTypeID=%3CtokenTypeID%3E' \
--header 'Authorization: Bearer <token>' \
--header 'x-role-type: CLIENT_ORG_ADMIN'{
"data": [
{
"walletReferenceID": "dd0e8400-e29b-41d4-a716-446655440008",
"roleInOrgID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"walletID": "770e8400-e29b-41d4-a716-446655440002",
"grantID": "550e8400-e29b-41d4-a716-446655440000",
"distributionRatio": "1",
"createdAt": "2026-01-01T00:00:00Z",
"wallet": {
"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
},
"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"
}
}
}
],
"error": null
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your API token.
Headers
x-role-typestringrequiredSeat 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, FINANCE_ADMIN, CLIENT_ORG_APPROVER, USER and INVESTOR; other roles get 403. FINANCE_ADMIN and CLIENT_ORG_APPROVER seats are refused in new-system organizations.
Available options: CLIENT_ORG_ADMIN, FINANCE_ADMIN, CLIENT_ORG_APPROVER, USER, INVESTOR
Query parameters
roleInOrgIDsstring[]requiredSeat IDs. Repeat the parameter once per ID: ?roleInOrgIDs=a&roleInOrgIDs=b. A single ?roleInOrgIDs=a arrives as a string and is rejected, so for one ID send it twice (?roleInOrgIDs=a&roleInOrgIDs=a). Comma-separated values do not work.
tokenTypeIDstring<uuid>requiredToken type; its network decides which wallets match. An unknown ID fails.
Response
200Wallet references with networks
dataobject[]requiredShow child attributes
walletReferenceIDstring<uuid>roleInOrgIDstring<uuid>walletIDstring<uuid>grantIDstring<uuid>distributionRatiostring | nullShare of the grant paid to this wallet, 0 to 1, as a decimal string
createdAtstring<date-time>walletobjectA wallet row
Show child attributes
walletIDstring<uuid>roleInOrgIDstring<uuid>Seat (RoleInOrg) that owns the wallet
namestring | nulladdressstring | nullWallet address
memostring | nulldestinationTaginteger | nullXRPL destination tag
networkstringLegacy network label. orgNetworkID is the real network link.
statusstringPENDING: 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 | nullAvailable options: SELF_CUSTODY, EXCHANGE
orgNetworkIDstring<uuid> | nullcreatedAtstring<date-time>updatedAtstring<date-time>isCurrentbooleanTrue for the wallet(s) payouts go to
isDefaultbooleanDeprecated, unused
legacyMigratedAtstring<date-time> | nulllegacyModelIDinteger | nullwalletTypeCustomIDstring<uuid> | nullnickNamestring | nullinvestorEntityIDstring<uuid> | nulltokenTypeIDstring<uuid> | nullconnectedViaMeshbooleanuserDismissedbooleanThe owner hid this archived wallet from their view
roleInOrgobjectShow child attributes
roleInOrgIDstring<uuid>orgIDstring<uuid>personIDstring<uuid>rolestringAvailable options: TOKU_ADMIN, CLIENT_ORG_ADMIN, CLIENT_ORG_APPROVER, FINANCE_ADMIN, USER, INVESTOR, SUB_INVESTOR, SUB_RECIPIENT
externalEmployeeIDstring | nullpayrollEmployeeIDstring | nullworkEmailstring | nulljobTitlestring | nullcountrystring | nullcountryCodestring | nullemploymentTypestring | nullAvailable options: CONTRACTOR, EMPLOYEE, EX_EMPLOYEE, ADVISOR, SERVICE_PROVIDER, OTHER
revokedAtstring<date-time> | nullpersonobjectPerson row
Show child attributes
personIDstring<uuid>givenNamestringfamilyNamestringmiddleNamestring | nullcreatedAtstring<date-time>updatedAtstring<date-time>legacyMigratedAtstring<date-time> | nulllegacyModelIDinteger | nullmergedIntoPersonIDstring<uuid> | nullmergedAtstring<date-time> | nullerrorobject | nullrequiredAlways null on success
401The token is missing, invalid or expired
errorstringrequiredWhat went wrong
403The token's seat doesn't have the permission this operation needs
errorobjectrequiredShow child attributes
messagestringrequired429Too many requests from this address or token. Wait for the number of seconds in the Retry-After header, then retry.
errorstringrequiredWhat went wrong
500The operation failed. This includes input that doesn't match what the operation accepts; error.message says what was wrong.
errorobjectrequiredShow child attributes
messagestringrequired