Routes Walletkit #45
-
Hello Waltid team ! How to access this sskit route: /v1/credentials/issue from the walletkit ? Thank you, I wish you a good day |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, One example on how to start the issuance of a credential to a wallet would be to use this endpoint: POST /issuer-api/{tenantId}/credentials/issuance/request?isPreAuthorized=true&walletId=$walletId Body Schema: Body Example: |
Beta Was this translation helpful? Give feedback.
Hey,
Thanks for reaching out!
The SSI-Kit endpoint you are mentioning is not exposed in the wallet-kit. The wallet-kit is using the OIDC4VC flow to issue credentials.
One example on how to start the issuance of a credential to a wallet would be to use this endpoint:
POST /issuer-api/{tenantId}/credentials/issuance/request?isPreAuthorized=true&walletId=$walletId
Body Schema:
{
"credentials": [
{
"credentialData": {
"my data": "..."
},
"type": "string"
}
]
}
Body Example:
{
"credentials": [
{
"credentialData": {
"credentialSubject": {
"currentAddress":["1 Boulevard de la Liberté, 59800 Lille"],"dateOfBirth":"1993-04-08","familyName":"DOE","firstName":"Jane","gender":"FEMALE","id":"did:ebsi:…