Offering
Responses
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/offerings200
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
Authorizations
x-client-secretstringRequired
Body
Request containing credential type, subject data and optional recipient
credential_typestringRequiredExample:
Type of credential to be issued
ProofOfPurchaserecipientstringOptionalExample:
Optional recipient DID
did:empe:testnet:123456789abcdefredemption_limitnumber · doubleOptionalExample:
Optional redemption limit
1expires_atstring · date-timeOptionalExample:
Optional expiration date
2025-05-09T13:14:55.000ZResponses
201
Created
application/json
404
Not Found
application/json
post
/api/v1/offeringsPath parameters
idstringRequired
The unique identifier of the offering to retrieve
Responses
200
Found
application/json
Response DTO for offering details
idstring · uuidRequiredExample:
Unique identifier of the offering
830e3227-c36d-4e96-96a6-71701da6752bcredential_issuerstring · uriRequiredExample:
Credential issuer URL
http://localhost:3000credential_configuration_idsstring[]RequiredExample:
List of credential configuration IDs
["ProofOfPurchase"]qr_code_urlstring · uriOptionalExample:
QR code URL
http://localhost:3000/api/v1/issuer-qrcode-data/ddd07d52-71ac-4f09-9f67-0ab8506c30d2offering_idstring · uuidOptionalExample:
Offering ID
830e3227-c36d-4e96-96a6-71701da6752boffering_full_urlstring · uriOptionalExample:
Full URL to the offering
http://localhost:3000/api/v1/offering/830e3227-c36d-4e96-96a6-71701da6752bredemption_limitnumber · double · nullableOptionalExample:
Redemption limit
10expires_atstring · date-time · nullableOptionalExample:
Expiration date
2025-05-09T13:14:55.000Z404
Not Found
application/json
get
/api/v1/offerings/{id}Issue a credential from an offering
Creates a verifiable credential from an offering and assigns it to the authenticated holder
post
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
Response DTO for credential operations
idstring · uuidRequiredExample:
Unique identifier of the credential
d290f1ee-6c54-4b01-90e6-d701748f0851401
Unauthorized
application/json
404
Not Found
application/json
post
/api/v1/offerings/{id}/claimLast updated