Business Accounts are in early access. See the overview for the model.
BusinessAccountMemberRole has three values:
Adding someone as a member does not let them sign, and adding a signer does not grant admin rights. Grant each explicitly.
Add a member
addMember adds a member as admin or viewer (it defaults to viewer). Identify them with a known userId, or with an identifier plus identifierType, in which case the user is created if they do not exist yet.
String
required
The account to add the member to.
String?
A known Dynamic user ID. Use this instead of
identifier.String?
An email, phone number, or other identifier for the user.
BusinessAccountSignerIdentifierType?
How to read
identifier: email, phoneNumber, externalUserId, socialUsername, socialAccountId, or id.BusinessAccountMemberRole?
admin or viewer. Defaults to viewer.List members
get returns the account with its members, including each member’s role.
Change a member’s role
updateMemberRole moves a member between admin and viewer. To change who the owner is, transfer ownership instead.
Remove a member
Transfer ownership
transferOwnership promotes an existing member to owner and demotes the current owner to admin in the same operation. Owner only.
Next steps
Manage signers
Grant and revoke signing access per wallet.
Sign transactions
Sign with a business-account wallet.