Skip to main content
Use an organization wallet when multiple people need to manage funds, share wallet access, or approve financial operations together. This recipe creates an organization, assigns a wallet to it, and retrieves the organization’s wallets. Before you begin, create Privy users for the organization members and create a default key quorum. Save the default key quorum ID for the steps below.

Create an organization

Create an organization with a display name and the default key quorum ID:
@privy-io/node
You can retrieve the organization later by its ID:
@privy-io/node

Create an organization wallet

When creating a wallet, assign its entity to the organization:
@privy-io/node
When you omit owner and owner_id, Privy automatically sets the organization’s default_key_quorum_id as the wallet owner. You can override this default for a specific wallet by passing either field when creating it.
A wallet’s entity cannot be changed after it is set. You can assign up to 150 wallets to an organization.

List the organization’s wallets

Filter wallets by the organization ID:
@privy-io/node

Assign an existing wallet

If a wallet does not already have an entity, you can assign it to the organization:
@privy-io/node
Assigning an organization after wallet creation does not change the wallet’s owner. Update the owner separately if the organization’s default key quorum should administer the wallet.

Next steps