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 anentity 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/walletsusing that user’s access token, whenentityis omitted
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.- At creation
- After creation
Pass
entity when creating the wallet, in a POST request to:Read a wallet’s entity
Wallets return their entity as anentity 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

