Create Verifiable Presentation

This creates a verifiable Presentation using following method. The weightage for this API is 200

API Specification

Create Verifiable Presentation

POST https://api.krypcore.com/api/v0/did/createVP

Creates a new Verifiable Presentation under the given instance.

Headers

NameTypeDescription

Authorization*

String

User Auth Key obtained from Dash

DappId*

String

DappId

Request Body

NameTypeDescription

holderId*

String

Holder ID

credentialId*

String

Credential ID

{
  Data: {
    address: '0xe5376601b62fa8Dc2ee775b5d7C26605C797d2a8',
    algorithm: 'ECC_SECG_P256K1',
    createdAt: '2023-07-11T16:59:26.895989263Z',
    instanceId: 'INS_WA_12_2023711',
    lastUsed: '0001-01-01T00:00:00Z',
    region: 'ap-south-1',
    serviceApiKey: '3a8059d8-ab7c-4bb0-af41-b7d6ab62d40e',
    uniqueId: '70a734a9-480c-439d-80f6-dba8a8623b76',
    vault: 'aws',
    walletName: 'sample-test-1234'
  },
  Message: 'Wallet created successfully',
  Status: 'SUCCESS'
}

Take a look at how you might call this method using our official libraries, or via curl:

curl --location --request POST 'https://api.krypcore.com/api/v0/did/createVP' \
--header 'Authorization: xxxxxxxxxxxxx' \
--header 'DappId: xxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
  "credentialId": "string",
  "holderId": "string"
}'

Last updated