Present a Verifiable Credential
Present an AnonCreds Verifiable Credential, signed by a did:cheqd Decentralized Identifier (DID), using ACA-Py.
Step 1: Create a Connection with Holder
Step 2: Send Proof Request
Body
auto_removebooleanOptional
Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)
auto_verifybooleanOptional
Verifier choice to auto-verify proof presentation
commentstringOptional
connection_idstringRequiredExample:
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6tracebooleanOptional
Whether to trace event (default false)
Responses
200Success
application/json
post
/present-proof-2.0/send-request200Success
Sample Request Body
Step 3: Holder sends Presentation Proof
Path parameters
pres_ex_idstringRequiredExample:
Presentation exchange identifier
{"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}Body
auto_removebooleanOptional
Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)
tracebooleanOptional
Record trace information, based on agent configuration
Responses
200Success
application/json
post
/present-proof-2.0/records/{pres_ex_id}/send-presentation200Success
Step 4: Verifier verifies Presentation
Path parameters
pres_ex_idstringRequiredExample:
Presentation exchange identifier
{"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}Responses
200Success
application/json
post
/present-proof-2.0/records/{pres_ex_id}/verify-presentation200Success
Last updated
Was this helpful?