cURL
curl --request POST \ --url https://api.example.com/credentials/issue \ --header 'Content-Type: application/json' \ --data '{}'
{ "credential": { "@context": [ "https://www.w3.org/2018/credentials/v1", "https://www.w3.org/2018/credentials/examples/v1" ], "id": "http://example.gov/credentials/3732", "type": [ "VerifiableCredential", "UniversityDegreeCredential" ], "issuer": "did:example:123", "issuanceDate": "2020-03-16T22:37:26.544Z", "expirationDate": "2021-03-16T22:37:26.544Z", "credentialSubject": { "id": "did:example:123", "degree": { "type": "BachelorDegree", "name": "Bachelor of Science and Arts" } } } }
Issues a credential and returns it in the response body.
The body is of type object.
object
Credential successfully issued!
Credential issued.
Show child attributes