Offer Credentials
Issue credentials to an SSI wallet
Introduction
Offer Flow

Request to create a verifiable credential based on the claim data records provided.
the template id refers to the credential type created in the administration console.
57unique id for the server to identify the session/request.
634F5950-DA17-4441-ABEC-9765FF1D55C0the callback url where the wallet sends the accepted credential to. Needs to respond with 200 to make the wallet storing the credential.
https://issuer.example.com/consumeofferobject contains the claims that should be put in the credential. Need to match the template referred to with the 'templateid' field.
{ "name": "Will Smith", "email": "[email protected]" }Response is a Verifiable Credential provded as a base64-encoded JWT.
Bad Request
Unauthorized Access
Server Error
Request to validate a verifiable credential offer based on the respective credential type.
the template id refers to the credential type created in the administration console.
57base64-encoded JWT
eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSJ9.eyJAY29udGV4dCI6WyJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSIsImh0dHBzOi8vanVuby5zaWRlb3MuaW8vY29udGV4dC9wcm9vZnN0eXBlcyJdLCJpYXQiOjE3MDg3MTc3NzUzOTEsImlzcyI6ImRpZDprZXk6djAwMTp6Nk1rbVFTWHZhOXZEbzNBU3JQRWtpa1AzSzF5eWlDVnZkNUttOHhqYkZqR2ROdzQiLCJhdWQiOiJkaWQ6dW5rbm93biIsInN1YiI6ImRpZDp1bmtub3duIiwiZXhwIjoxNzA4NzE3Nzc4OTkxLCJqdGkiOiJiMDMyZThlMy1iY2Q2LTQ0NWItYTQ5OS02ZWZjYzMwMTcyZjAiLCJ2ZXJpZmlhYmxlQ3JlZGVudGlhbCI6W3siQGNvbnRleHQiOlsiaHR0cHM6Ly93d3cudzMub3JnLzIwMTgvY3JlZGVudGlhbHMvdjEiLCJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy9leGFtcGxlcy92MSJdLCJpZCI6Ijg3N2JiYmVlLTJjYzUtNGJlZC04NzFmLWQ5ZGIwNjkzNjY1YiIsInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJVc2VyIl0sImNyZWRlbn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zAwOjAwIiwiZG9tYWluIjoiaHR0cHM6Ly9jYWxsYmFjay5leGFtcGxlLmNvbSIsImp3cyI6IjI5a2J5T3pTcDRreEU2MnRWQ2pzVWZ4NEFIM0RaLUw1Ql9RVEJyc1BsdFViOE5QZXRteU5GWUlhWEVFdGdma3UwVXgweWFLU3VObDVBQUl1TW5fY0JBIiwicHJvb2ZQdXJwb3NlIjoiYXV0aGVudGljYXRpb24iLCJ0eXBlIjoiRVMyNTYifSwidHlwZSI6WyJWZXJpZmlhYmxlUHJlc2VudGF0aW9uIiwiQ3JlZGVudGlhbE9mZmVyIl19.2mxmsQ10dGKHbqTrJEQci5MDiTOPFGZHrHKCtS2R5qruNBEGtdxaGVSVy4iJmXlTf3JS7L7AzE2aTA5laAFLCA634F5950-DA17-4441-ABEC-9765FF1D55C0Response is a Verifiable Credential provded as a base64-encoded JWT. No error implies sucessful validation
Bad Request
Unauthorized Access
Server Error
Signed Credentials
Based on the dataset provided and the audience identifier a Veriable Credential is created.
The identifier if the receiving audience or subject of the Verifiable Credential
did:key:v004:z6MkrL41Eo41aHPhrdEAatCqYc7TiU3PHso5fLyNE7sfbkfQthe template id refers to the credential type created in the administration console.
18object contains the claims that should be put in the credential. Need to match the template referred to with the 'templateid' field.
{"email":"[email protected]","name":"Rheik van Eyck"}The signed Veriable Credential including the audience identifier.
Bad Request
Unauthorized Access
Server Error
Offer and Request Credentials in 1 step
Based on the data set provided a Veriable Credential is created and requested in a single step.
The data set to be send to the API to request an Offer creation.
the template id refers to the credential type created in the administration console.
57unique id for the server to identify the session/request.
634F5950-DA17-4441-ABEC-9765FF1D55C0the callback url where the wallet sends the accepted credential to. Needs to respond with 200 to make the wallet storing the credential.
https://issuer.example.com/consumeofferobject contains the claims that should be put in the credential. Need to match the template referred to with the 'templateid' field.
{ "name": "Will Smith", "email": "[email protected]" }Response is a Verifiable Credential provded as a base64-encoded JWT.
Bad Request
Unauthorized Access
Server Error
Last updated