Empeiria Documentation
  • Getting Started
    • Welcome to Empeiria
    • 5 minutes Quickstart
    • Tutorial: Credential Issuance & Verification
      • Overview
      • Understanding Key Concepts
      • Project Setup
      • Deploying the Issuer
      • Uploading the Credential Schema
      • Issuing Credentials
      • Frontend for Credential Issuance
      • Testing Credential Issuance
      • Deploying the Verifier
      • Setting Up the Verification Flow
      • Creating a Verification Endpoint
      • Creating a Protected Dashboard
      • Testing the Verification Flow
      • Summary & Next Steps
  • Understand
    • EVDI Architecture
    • Self-Sovereign Identity
      • Technical Foundations
      • Roles in the SSI framework
      • Protocols and Standards
  • Develop
    • One-click deployment
      • Introduction
      • Registration
      • Login
      • Creating an Issuer
      • Issuer Data Description
      • Creating a Verifier
      • Verifier Data Description
    • Issuer
      • Terminology and Concepts
      • DID Document Management
      • Schema Management
      • Issuing Credentials and Interacting With Wallets
      • Revocations
      • Security Considerations
      • Error Handling and Troubleshooting
      • Future Enhancements
      • References and Standards
      • MCP Server Integration
      • FAQ
      • API Reference
        • Token
        • Schema
        • Offering
        • Metadata
        • Credential
        • Blockchain
        • Authorization
    • Verifier
      • Terminology and Concepts
      • Architecture Overview
      • Core Responsibilities
      • Query Language
      • Client Configuration
      • Frontend Integration
      • Revocations
      • Server-Side VP Queries
      • Security Considerations
      • Error Handling and Troubleshooting
      • Future Enhancements
      • References and Standards
      • MCP Server Integration
      • FAQ
      • API Reference
        • VP Query
        • QR Code
        • Authorization
    • Wallet SDK (Coming soon)
    • Introduction to cosmwasm
  • Empe Blockchain
    • Overview
    • Chain Architecture
      • Auth
      • Authz
      • Bank
      • Distribution
      • Governance
      • Staking
      • IBC
      • DidDoc
      • Vesting
      • Minter
      • Stablefee
      • LinkedResources
    • Important links
    • Validators Guide
      • New validator
      • Hardware requirements
      • Required software installation
      • Go installation
      • Install prebuild binary
      • Install binary from source code (option B)
      • Configure a node
      • Cosmovisor setup
      • Install wasmvm
      • Sync with state-sync
      • Full state sync from archive snapshot
      • Latest snapshot
      • Run a Validator
      • Migration to v0.2.2
      • Migration to v0.3.0
      • Migration to v0.4.0
      • FAQ
  • User Guide
    • Empe DID Wallet
      • Intro
      • Download and first launch
      • Create or import did
      • Main screen overview
      • How to claim credential from issuer
      • How to use credential with verifier
      • Settings and other options
    • Keplr Wallet and Blockchain Operations
      • How to Connect Keplr Wallet
    • Ping Pub operation
    • Staking Tokens Guide
    • Voting on Governance Proposals Guide
    • Sending Tokens Guide
    • Airdrop
      • On-Chain Testnet Airdrop
      • Faucet Guide: How to Claim Testnet Tokens?
  • Appendix
    • Glossary
Powered by GitBook
On this page
  1. Develop
  2. Verifier
  3. API Reference

QR Code

PreviousVP QueryNextAuthorization
get

Retrieves a QR code by its ID.

Returns the QR code data as a string, which contains a data URI with base64-encoded image data. This QR code encodes a URL pointing to an authorization request that specifies what credentials a verifier is requesting from a user's wallet.

Path parameters
idstringRequired
  • The unique identifier of the QR code to retrieve
Responses
200
OK
application/json
Responsestring
400
Bad Request
application/json
get
GET /v1/verifier/qr-codes/{id} HTTP/1.1
Host: api
Accept: */*
text
delete

Deletes a QR code by its ID.

QR codes are typically deleted after the authorization process is complete and the verification flow has concluded, as they are no longer needed.

Authorizations
Path parameters
idstringRequired
Responses
204
No Content
400
Bad Request
application/json
delete
DELETE /v1/verifier/qr-codes/{id} HTTP/1.1
Host: api
x-client-secret: YOUR_API_KEY
Accept: */*

No content

get

Displays a QR code image from a URL. Fetches the QR code data from the provided URL, processes it, and returns the image.

This endpoint allows client applications to display the QR code directly in browsers or applications. When scanned by a user's wallet app, this QR code initiates the credential verification flow by connecting the wallet to the authorization request. The wallet can then retrieve the presentation definition that specifies what credentials the verifier is requesting.

Query parameters
urlstringRequired
Responses
200
OK
application/json
Responsestring ยท byte
get
GET /v1/verifier/qr-codes/image?url=text HTTP/1.1
Host: api
Accept: */*
200

OK

Ynl0ZXM=
  • GET/api/v1/verifier/qr-codes/{id}
  • DELETE/api/v1/verifier/qr-codes/{id}
  • GET/api/v1/verifier/qr-codes/image