Business Accounts are in early access. See the overview for the model.
@dynamic-labs-sdk/client/waas, and the matching React hooks from @dynamic-labs-sdk/react-hooks.
Prerequisites
- A Dynamic client initialized with your environment ID (see Creating a Dynamic Client)
- An authenticated user, because account operations act on behalf of the signed-in user
- Business Accounts enabled for your environment
Create an account
createBusinessAccount takes an optional name, externalRef, and metadata, and returns the new account. The caller becomes the owner.
- JavaScript
- React
string
Optional display name for the account.
string
A developer-supplied label for mapping your own org/tenant ID onto this account — the primary B2B2B2C integration key. Not unique; multiple accounts may share a value.
Record<string, unknown>
Arbitrary key-value metadata to store alongside the account.
List accounts
listBusinessAccounts returns the accounts the current user is a member of, for the active environment.
- JavaScript
- React
Read one account
getBusinessAccount returns the account plus its members, signers, and wallets.
- JavaScript
- React
Next steps
Add wallets
Create a fresh wallet or link an existing one to the account.
Members & roles
Invite admins and viewers, and transfer ownership.