Skip to main content
Identity verification and compliance is scoped to a wallet’s entity: the user or organization the wallet is for. Products that require KYC or KYB read a wallet’s entity to determine whether the person or business behind it is verified. A wallet’s entity is immutable once set. The entity field is distinct from the owner field: A wallet owned by an authorization key still needs an entity to participate in a regulated flow, because the authorization key is not a verified person or business.

Where entities are required

To participate in a regulated flow, a wallet must have an entity set: If a wallet has no entity, or its entity has not completed KYC or KYB, these requests fail.

Automatically assigned entities

Wallets created for a user are assigned to that user automatically:
  • Wallets created alongside the user, through POST /v1/users
  • Wallets created for an existing user, through POST /v1/users/{user_id}/wallets, including wallets created at login
  • Wallets created through Privy’s client-side SDKs, which are always created for the authenticated user
  • Wallets created through POST /v1/wallets using that user’s access token, when entity is omitted
Wallets created through POST /v1/wallets with an app secret are not assigned automatically, even when owner is a user. Ownership and entity assignment are independent, so the entity must be set explicitly in these cases.

Explicitly assign an entity

An entity can be assigned when the wallet is created, or afterwards.
Pass entity when creating the wallet, in a POST request to:
A wallet’s entity is immutable. Once set, it cannot be changed or reassigned — a second assignment fails with a wallet_entity_already_set error. Create a new wallet if the entity needs to change.

Read a wallet’s entity

Wallets return their entity as an entity object containing the entity id and type ('user' or 'organization'), or null if none is assigned. Wallets can also be filtered by entity_id when listing them.

Next steps

KYC

Verify an individual user

KYB

Verify an organization