Managing users
Create and use Verified wallets

Setting up a Verified account

Application developers may use any authentication and authorization mechanism such as OAuth. During the application's user registration process, it is necessary to set up the Verified account for the user by calling the register function with a callback function in the application. This sets up the Verified account for the user with a private key and returns a mnemonic to the callback function in the application. The application should display this mnemonic to the user so that the user can record it. The application may store the mnemonic by ideally encrypting it and store it along with the sign in credentials of users in the application.

Retrieving user account

Once users sign into their application accounts, the application should call the createWallet function by passing the mnemonic generated during the user registration process. This sets up the wallet signer for the Verified account in the application which enables it to make calls to the Verified Network on the ethereum blockchain.

Adding customer record for card issuing

When a user wants to request a debit card for the Verified account, a set of terms and conditions of the card issuer must be first shown to the user. This can be achieved by calling the getTermsConditions function. If the user rejects the terms and conditions displayed, the card registration process terminates. If the user accepts, the application can request adding the user for an issue of card by calling the addCustomer function. This returns a unique customer identifier which needs to be sent to the card issuer by calling the acceptTermsConditions function.
Last modified 9mo ago