DgVerseDgVerse
Home
Get Started
  • Auth Endpoint
  • Create Collection
  • Create Certificate
  • Create Directory
  • Transfer Certificate Via Wallet
  • Transfer Certificate Via Mail
  • Cancel Claim
  • Freeze User
  • Un-freeze User
  • Pause Collection
  • Un-Pause Collection
  • Delete Collection
  • Invalidate Certificates
  • Delete Certificates
  • Get Collection
  • Get Certificates
  • Get Directory of a Collection
Home
Get Started
  • Auth Endpoint
  • Create Collection
  • Create Certificate
  • Create Directory
  • Transfer Certificate Via Wallet
  • Transfer Certificate Via Mail
  • Cancel Claim
  • Freeze User
  • Un-freeze User
  • Pause Collection
  • Un-Pause Collection
  • Delete Collection
  • Invalidate Certificates
  • Delete Certificates
  • Get Collection
  • Get Certificates
  • Get Directory of a Collection
  • Send the Minted Certificate to User via Email

Send the Minted Certificate to User via Email

Path: v1/hts/api/integration/transfer-certificate-through-email

How to use:

You can send the certificate via Email, it will be added to the user wallet only when claimed from the mail. Till then it will belong to your wallet. screenshot

Parameter List

Below table represents the parameters, data type of parameter and whether the parameter is required or not for KYC a collection.

FieldTypeRequiredUsage
certificateIdStringRequiredThis refers to the unique identifier for the certificates. The certificateId allows you to uniquely identify and manage individual certificates.
receiverEmailAddressStringRequiredThe receiverEmailAddress is the email-address that receives certificates. When certificates are transferred from one account to another, the recipient’s email address can be used as an identifier.

cURL commad

curl --request POST \
  --url http://<dgverse-api-base-url>/v1/hts/api/integration/transfer-certificate-through-email \
  --header 'Authorization: Bearer <YOUR_TOKEN>' \
  --header 'Content-Type: application/json' \
  --data '{"certificateId": "<VALUE>","targetEmailAddress": "<VALUE>"}'

Response

When the mail is sent to the provided email address a ‘200 Ok’ status response is generated. screenshot

Error troubleshooting

  • 400 Bad Request: No such certificate found; please create certificate to start.
Last Updated:
Contributors: John
Prev
Send the Minted Certificate Directly to User
Next
Cancel Claim