Step 1: Register Recipient as 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: Registering User Data
User data must be attached to the user for compliant regulated transfers.userData could have been attached via the original user registration call (Method 2 -> Step 1) instead of making a separate PUT request.User Data Fields
User’s first name
User’s last name
User’s date of birth in
YYYY-MM-DD formatUser’s country of residence code in ISO 3166-1 alpha-2 format (e.g., “US”, “GB”, “CA”)

