Profiles
Overview
Profiles allow developers to request personal information from Smart Wallet users during a transaction. This is useful for applications that need:
- Email addresses for notifications or account creation
- Physical addresses for shipping products
- Phone numbers for verification
- Names for personalization
Smart Wallet handles the collection of this information and it is left to the developer to validate it and store it as they see fit while following the standards and regulations in place. Users can choose to use profile info (securely stored with Coinbase) or enter new information when asked for it.
Privacy First
Users always have full control over their data. They can choose to share or withhold any information, and they’re clearly shown what data you’re requesting.
How it works
When you send a request for a transaction to Smart Wallet, you can specify the information you need from the user.
This adds an additional step to the transaction where the user is prompted to share their email address and their physical address like so:
Once the user has shared their information, the callbackURL is called with the data. The callbackURL is a route on your server that you define and is used to validate the data.
You are also able to update the request based on the response from the user.
Start using Profiles
Profiles is currently in alpha and only available in a dev environment on all networks.
To start using Profiles, you can follow the Profiles guide.