SDK — add an existing wallet to a business account
Brings an existing user wallet under a business account so signers can be
added to it. No MPC ceremony — the owner already holds a valid share
set, so this transfers the wallet’s ownership to the business account
(businessAccountId set, userId cleared) and registers the caller
as an owner member + endUser signer bound to their existing share
set. When businessAccountId is omitted, the per-wallet business account is
found-or-created (unnamed). Idempotent.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the environment
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"95b11417-f18f-457f-8804-68e361f9164f"
Body
Response
Business account with embedded members, signers, and wallets
SDK-side business account response with embedded members, signers, and wallets. Origin 2 callers (low member count) get everything in one fetch; if a business account ever needs pagination we add a separate paginated list endpoint without changing this shape.
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"95b11417-f18f-457f-8804-68e361f9164f"
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"95b11417-f18f-457f-8804-68e361f9164f"
255Developer-supplied stable ID inside the env
255Wallets bound to this business account via Wallets.business_account_id. Superset of signers[].walletId — a wallet exists before any signer row is minted on it (staged-then-resolved lifecycle).