Flow

Process QR code content and initiate a credential flow

post

Analyzes QR code data and starts either credential issuance or verification process

Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Body
qrContentstringRequired

QR code content (URL) to process

Example: https://issuer-or-verifier.example.com/qrcode-data
didstringRequired

Did of the holder

Example: did:empe:testnet:7UGY6jJ3qLd42Krxgi5QgPGQyLRRUmCgrRX97KDCxYKN
Responses
post
/flows
201

The credential flow has been successfully initiated

Confirm a credential claim or presentation

post

Completes an initiated credential flow by confirming user selection

Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Path parameters
processIdstringRequired

The process ID to confirm

Body
typestring · enumRequired

Type of flow (claim or presentation)

Example: presentationPossible values:
selectedCredentialobjectRequired

Complete credential object for testing and validation

Example: {"@context":["https://www.w3.org/2018/credentials/v1"],"id":"test-credential-id","type":["VerifiableCredential"],"issuer":"did:ethr:0x123","issuanceDate":"2023-01-01T00:00:00Z","credentialSubject":{"id":"did:ethr:0x456","name":"Test Subject"}}
Responses
200

The credential has been successfully confirmed

application/json
post
/flows/{processId}/confirm
200

The credential has been successfully confirmed

Last updated