List Users
Returns one page of users, newest first. search is a single free-text term matched against name, surname and email at once (case-insensitive substring, matched per field, so a full name only matches when it is stored in one field). Soft-deleted users are not listed. A search that matches nobody answers an empty page, not an error.
Get User by ID
Returns one user's own record. The record carries no address: an address belongs to a wallet and a user may hold several (one per chain, and more than one on the same chain). Read them with List User Wallets. KYC is recorded per wallet as well, see Get User Wallet.
Create User
Creates a user. chain_id is optional and decides whether a custody wallet is created with the user:
Update User
Updates a user's display name. Only name and surname are editable here, and both are required: email and identity number identify the user and are set at creation or through a migration.
Update User Status
Activates or deactivates a user. The user is named only by the path. An explicit 0 is accepted, so a deactivated user can be re-activated.
Delete User KYC Token
Recalls the KYC token held by one of the user's wallets. KYC is recorded per (wallet, network, KYC token), so a user with several wallets has no single "KYC" to recall: walletid names the wallet and setupid names the setup whose KYC token is recalled (a network may host several KYC tokens; the setup's own KYC token is the one taken back).
Delete User Token
Recalls a tokenized asset from a user: the platform takes back everything the named wallet holds of the token. Holdings are per wallet, so wallet_id is required. It must be one of this user's wallets on the token's chain, and it must hold the token; another wallet of the same user does not count.
Withdraw from User Wallet
Sends native coin or a currency token out of one of the user's wallets to an external address. The caller selects both the wallet (walletid) and the network (networkid); the server never falls back to another wallet of the user. The wallet must belong to the user and sit on the network's chain. For a token withdraw, network_id must be the currency token's own network.
Wallets
7 items
Get User Transactions
Lists a user's transactions, newest first, optionally narrowed to some transaction types. Every user-side write (buy, sell, delist, OTC sell and cancel, rent claim, burn, withdraw) records one of these rows. To follow a single transaction_id, read it directly with Get User Transaction instead of paging this list.
Get User Transaction
Reads one of a user's transactions. It is the poll target for the transaction_id returned by Buy On Primary Market, Buy On Secondary Market, Sell On Secondary Market, Delist, Sell On OTC, Cancel OTC Deal, Burn and Withdraw.
Migration
7 items