Offering

List all credential offerings

get

Retrieves all available offerings

Responses
200

A list of all offerings in the system

application/json
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
200

Found

application/json
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
200

The QR code data for the offering

application/json
Responsestring
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
200

Success

application/json
post
/api/v1/offerings/{id}/claim

Last updated