Step 1: Create a User
First, you must register the transfer’s recipient as a user within your Crossmint project, and associate them with a Crossmint wallet address. There are two ways to create a user:Method 1: On Wallet Creation
Method 1: On Wallet Creation
Create a wallet for a user and associate it to a
userLocator by setting the owner property. This method creates in a
single API call both the wallet, and the user associated with it.The owner property accepts a userLocator. This associates the wallet with the user identifier in your system.- Using your own
- Using Crossmint auth
- If you have your own user IDs, set the wallet's "owner" property using the
userIdformat (userId:<userId>, e.g.,userId:johnd-123). - If you bring your own auth, Crossmint automatically extracts the user ID from your JWT and assigns it to the wallet's "owner" property.
- REST
- React
Method 2: Register User First, Create Wallet Later
Method 2: Register User First, Create Wallet Later
Register a user with Crossmint without creating a wallet yet. Later, when you create a wallet for that registered user,
you can link the wallet’s Step 1: Register the userStep 2: Create wallet and link to registered userWhen you’re ready to create a wallet for the registered user, use the same
owner property to that user’s registered userLocator value. This will associate the wallet with the user identifier in your system.- Using your own
- Using Crossmint auth
- If you have your own user IDs, set the wallet's "owner" property using the
userIdformat (userId:<userId>, e.g.,userId:johnd-123). - If you bring your own auth, Crossmint automatically extracts the user ID from your JWT and assigns it to the wallet's "owner" property.
userLocator in the owner field:- REST
- React
Step 2: Register User Data
Now use the Create User API to attach basic user information. Data required for each activity and region can be seen here. For regulated transfers, the only inforation needed is theuserDetails object.

