Here are the steps for issuing credentials in-time (or immediately) using OpenID for Verifiable Credentials Issuance (OID4VCI).
Step 1: Get the API Key (Issuer Admin)
To get the API key contact support@igrant.io.
Step 2: Issue Credential (Issuer)
Copy the code block below to issue credential in InTime
issuance mode. Execute the API available here.
- JWT
- SD-JWT
Issue LPID JWT
{
"issuanceMode": "InTime",
"userPin": "",
"credential": {
"type": [
"VerifiableLegalPersonalIdentificationData"
],
"credentialSubject": {
"identifier": "123400-7899",
"legalName": "Bygg AB"
}
}
}
Issue LPID SD-JWT
{
"issuanceMode": "InTime",
"userPin": "",
"credential": {
"type": [
"VerifiableLegalPersonalIdentificationData"
],
"credentialSubject": {
"identifier": "123400-7899",
"legalName": "Bygg AB"
}
},
"disclosureMapping": {
"credentialSubject": {
"identifier": {
"limitedDisclosure": true
},
"legalName": {
"limitedDisclosure": true
}
}
}
}
Step 3: Receive Credential Offer (Holder)
The holder wallet can receive the credential offer in the following ways:
- Using your Data Wallet (or any other Digital Wallet: From the response, use the
credentialOffer
and generate the QR code here using plain text option - Using your Organisation Wallet (or similar).
Try It Yourself (With Demo Video)
Watch the below demo to learn issue credential API and try it out yourselves: