Dentity
HomeBusiness
  • Dentity API Services
  • Reference
    • Verify Age and Identity
      • Client Documentation
      • Server Documentation
    • Wallets & Credentials
      • Prerequisites
      • API Endpoints
        • Wallet
        • Template
        • Credential
      • OpenID for Verifiable Credentials
        • OpenID Connect for Verifiable Presentations
  • Open Source ENS Library
Powered by GitBook
On this page
  1. Reference
  2. Wallets & Credentials
  3. API Endpoints

Wallet

User wallet

PreviousAPI EndpointsNextTemplate

Last updated 1 year ago

Each Dentity user will have a corresponding wallet. This wallet will be used to save credentials that are issued by the issuer through Dentity. You can see more about how a credential is added to a wallet .

A user will be created when you call API to create a wallet successfully. If the user already has a Dentity wallet, the API will return the wallet ID.

Create Wallet

POST https://api.dentity.com/core/api/v1/programmatic/wallet

This is the first step in the process. A Dentity wallet must be created before any credentials can be issued to the wallet holder.

Headers

Name
Type
Description

x-api-key*

String

API Key

Request Body

Name
Type
Description

firstName*

String

First name

phoneNumber*

Object

Phone number {

"dialCode": "+1",

"phone": "2048089972" }

email*

String

Email

lastName*

String

Last name

{
   walletId: "62ccf87d452c6c3ab43a815e"
}
{
   message: "User email or phone number already exists or wrong data type"
}  
{
    // Response
}
here