Skip to content

credential_AcceptProposal

POST
/credentials/accept-proposal

Accept a credential proposal as issuer by sending an accept proposal message to the connection associated with the credential exchange record.

Authorizations

Request Body required

object
credentialRecordId
required
string
credentialFormats

Get the payload for a specific method from a list of CredentialFormat interfaces and a method

object
indy

Indy object

object
jsonld

Jsonld object

object
anoncreds

Anoncreds object

object
autoAcceptCredential

Typing of the state for auto acceptance

string
Allowed values: always contentApproved never
comment
string

Responses

200

CredentialExchangeRecord

Construct a type with a set of properties K of type T

object
Examples
{
"_tags": {
"state": "offer-sent",
"threadId": "82701488-b43c-4d7b-9244-4bb204a7ae26",
"connectionId": "ac6d0fdd-0db8-4f52-8a3d-de7ff8ddc14b"
},
"metadata": {
"_internal/indyCredential": {
"credentialDefinitionId": "q7ATwTYbQDgiigVijUAej:3:CL:318187:latest",
"schemaId": "q7ATwTYbQDgiigVijUAej:2:Employee Badge:1.0"
}
},
"credentials": [],
"id": "821f9b26-ad04-4f56-89b6-e2ef9c72b36e",
"createdAt": "2022-01-01T00:00:00.000Z",
"connectionId": "ac6d0fdd-0db8-4f52-8a3d-de7ff8ddc14b",
"threadId": "82701488-b43c-4d7b-9244-4bb204a7ae26",
"credentialAttributes": [],
"protocolVersion": "v1"
}