Create - Issue Credential
POST {{baseUrl}}/digital-wallet/credential/issue
This endpoint is used send holder a credential offer, independent of any proposal
Request Body
{"autoIssue"=>"<boolean>", "autoRemove"=>"<boolean>", "comment"=>"<string>", "connectionId"=>"<uuid>", "credDefId"=>"<string>", "credentialPreview"=>{"@type"=>"<string>", "attributes"=>[{"name"=>"<string>", "value"=>"<string>", "mimeType"=>"<string>"}, {"name"=>"<string>", "value"=>"<string>", "mimeType"=>"<string>"}]}, "dataAgreementId"=>"<string>", "trace"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"credentialHistory":{"id":"\u003cstring\u003e","autoIssue":"\u003cboolean\u003e","autoOffer":"\u003cboolean\u003e","autoRemove":"\u003cboolean\u003e","connectionId":"\u003cstring\u003e","createdAt":"\u003cstring\u003e","credential":{"schemaId":"\u003cstring\u003e","credDefId":"\u003cstring\u003e","revRegId":"\u003cstring\u003e","values":{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1issue_credential~1/post/requestBody/content/application~1json/schema/properties/credential/components/schemas/Values not found in the OpenAPI spec"},"signature":{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1issue_credential~1/post/requestBody/content/application~1json/schema/properties/credential/components/schemas/SignatureResponse not found in the OpenAPI spec"},"signatureCorrectnessProof":{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1issue_credential~1/post/requestBody/content/application~1json/schema/properties/credential/components/schemas/SignatureCorrectnessProof not found in the OpenAPI spec"},"revReg":"\u003cobject\u003e","witness":"\u003cobject\u003e"},"credentialDefinitionId":"\u003cstring\u003e","credentialExchangeId":"\u003cstring\u003e","credentialId":"\u003cstring\u003e","credentialOffer":{"schemaId":"\u003cstring\u003e","credDefId":"\u003cstring\u003e","keyCorrectnessProof":{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1issue_credential~1/post/requestBody/content/application~1json/schema/properties/credentialOffer/components/schemas/KeyCorrectnessProofResponse not found in the OpenAPI spec"},"nonce":"\u003cstring\u003e"},"credentialOfferDict":{"@type":"\u003cstring\u003e","@id":"\u003cstring\u003e","~thread":{"non_1b6":-3087950,"uteae":true},"~dataAgreementContext":{"messageType":"\u003cstring\u003e","message":{"@type":"\u003cstring\u003e","@id":"\u003cstring\u003e","from":"\u003cstring\u003e","to":"\u003cstring\u003e","createdTime":"\u003cstring\u003e","body":{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1present_proof~1/post/requestBody/content/application~1json/schema/properties/dataAgreement not found in the OpenAPI spec"}}},"offersAttach":[{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1issue_credential~1/post/requestBody/content/application~1json/schema/properties/credentialOfferDict/components/schemas/OffersAttach not found in the OpenAPI spec"},{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1issue_credential~1/post/requestBody/content/application~1json/schema/properties/credentialOfferDict/components/schemas/OffersAttach not found in the OpenAPI spec"}],"credentialPreview":{"@type":"\u003cstring\u003e","attributes":[{"name":"\u003cstring\u003e","value":"\u003cstring\u003e"},{"name":"\u003cstring\u003e","value":"\u003cstring\u003e"}]},"comment":"\u003cstring\u003e"},"credentialProposalDict":{"@type":"\u003cstring\u003e","@id":"\u003cstring\u003e","credentialProposal":{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1issue_credential~1/post/requestBody/content/application~1json/schema/properties/credentialProposalDict/components/schemas/CredentialProposal not found in the OpenAPI spec"},"comment":"\u003cstring\u003e","credDefId":"\u003cstring\u003e"},"credentialRequest":{"proverDid":"\u003cstring\u003e","credDefId":"\u003cstring\u003e","blindedMs":{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1issue_credential~1/post/requestBody/content/application~1json/schema/properties/credentialRequest/components/schemas/BlindedMs not found in the OpenAPI spec"},"blindedMsCorrectnessProof":{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1issue_credential~1/post/requestBody/content/application~1json/schema/properties/credentialRequest/components/schemas/BlindedMsCorrectnessProof not found in the OpenAPI spec"},"nonce":"\u003cstring\u003e"},"credentialRequestMetadata":"\u003cobject\u003e","dataAgreement":{"value":"reference #/paths/~1%7BorganizationId%7D~1digital-wallet~1webhook~1topic~1present_proof~1/post/requestBody/content/application~1json/schema/properties/dataAgreement not found in the OpenAPI spec"},"dataAgreementId":"\u003cstring\u003e","dataAgreementProblemReport":"\u003cobject\u003e","dataAgreementStatus":"\u003cstring\u003e","dataAgreementTemplateId":"\u003cstring\u003e","errorMsg":"\u003cstring\u003e","initiator":"\u003cstring\u003e","parentThreadId":"\u003cstring\u003e","rawCredential":"\u003cobject\u003e","revocRegId":"\u003cstring\u003e","revocationId":"\u003cstring\u003e","role":"\u003cstring\u003e","schemaId":"\u003cstring\u003e","state":"\u003cstring\u003e","threadId":"\u003cstring\u003e","trace":"\u003cboolean\u003e","updatedAt":"\u003cstring\u003e"}}