Offering

List all credential offerings

get

Retrieves all available offerings

Responses
chevron-right
200

A list of all offerings in the system

application/json
idstringRequired
credential_issuerstringRequired
credential_configuration_idsstring[]Required
recipientstringOptional
redemption_limitnumber · double · nullableOptional
expires_atstring · date-time · nullableOptional
get
/api/v1/offerings
200

A list of all offerings in the system

Create a new credential offering with QR code Validates the credential subject against the schema and creates an offering that can be claimed by a holder. Generates a QR code for the offering.

post

Creates a new credential offering

Authorizations
x-client-secretstringRequired
Body

Request containing credential type, subject data and optional recipient

credential_typestringRequired

Type of credential to be issued

Example: ProofOfPurchase
recipientstringOptional

Optional recipient DID

Example: did:empe:testnet:123456789abcdef
redemption_limitnumber · doubleOptional

Optional redemption limit

Example: 1
expires_atstring · date-timeOptional

Optional expiration date

Example: 2025-05-09T13:14:55.000Z
Responses
post
/api/v1/offerings

Get a specific offering by ID

get

Retrieves an offering by its ID

Path parameters
idstringRequired

The unique identifier of the offering to retrieve

Responses
chevron-right
200

Found

application/json

Response DTO for offering details

idstring · uuidRequired

Unique identifier of the offering

Example: 830e3227-c36d-4e96-96a6-71701da6752b
credential_issuerstring · uriRequired

Credential issuer URL

Example: http://localhost:3000
credential_configuration_idsstring[]Required

List of credential configuration IDs

Example: ["ProofOfPurchase"]
qr_code_urlstring · uriOptional

QR code URL

Example: http://localhost:3000/api/v1/issuer-qrcode-data/ddd07d52-71ac-4f09-9f67-0ab8506c30d2
offering_idstring · uuidOptional

Offering ID

Example: 830e3227-c36d-4e96-96a6-71701da6752b
offering_full_urlstring · uriOptional

Full URL to the offering

Example: http://localhost:3000/api/v1/offering/830e3227-c36d-4e96-96a6-71701da6752b
redemption_limitnumber · double · nullableOptional

Redemption limit

Example: 10
expires_atstring · date-time · nullableOptional

Expiration date

Example: 2025-05-09T13:14:55.000Z
get
/api/v1/offerings/{id}

Get QR code for an offering

get

Retrieves the QR code for a specific offering

Path parameters
idstringRequired

The unique identifier of the offering

Responses
chevron-right
200

The QR code data for the offering

application/json
stringOptional
get
/api/v1/offerings/{id}/qr-code

Issue a credential from an offering Creates a verifiable credential from an offering and assigns it to the authenticated holder

post

Issues a credential from an existing offering

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The unique identifier of the offering to issue

Responses
chevron-right
200

Success

application/json

Response DTO for credential operations

idstring · uuidRequired

Unique identifier of the credential

Example: d290f1ee-6c54-4b01-90e6-d701748f0851
post
/api/v1/offerings/{id}/claim

Last updated