Business Accounts are in early access. See the overview for the model.
Find the wallet ID
Linking takes a wallet ID. Read it from the user’s wallets, which are created automatically after authentication (see wallet creation).Link a wallet
addWallet links the wallet into the account, and returns the updated BusinessAccountDetail including members, signers, and wallets.
String
required
The wallet to link, from
sdk.wallets.userWallets.String?
The account to link into. If omitted, the wallet is linked into its per-wallet business account, which is found or created automatically. Pass it explicitly to link into a specific account you own or administer.
Remove a wallet
removeWallet unlinks a wallet from the account and returns the updated account.
On error
Both calls aresuspend functions that throw on failure. Catch the error and show it to the user, for example when the caller is not an owner or admin of the account:
Next steps
Manage signers
Add teammates or servers as signers on the wallet.
Sign transactions
Sign with a business-account wallet.