Add offer
POST/api/oid4vci/offer
Creates a new credential offer
Request
- application/json
Body
required
credential_issuerstringrequired
credential_configuration_idsstring[]required
grants
object
urn:ietf:params:oauth:grant-type:pre-authorized_code
object
pre-authorization_codestringrequired
authorization_serverstring
intervalnumber
tx_codeobject
authorization_code
object
authorization_serverstring
issuer_statestring
Responses
- 200
- 403
- application/json
- Schema
- Example (from schema)
Schema
idnumberrequired
createddate-timerequired
preAuthorizedCodestringrequired
holderIdstringrequired
credentialTypestringrequired
credentialIdstring
revokedbooleanrequired
credentialSubject
object
required
idstringrequired
{
"id": 0,
"created": "2024-07-29T15:51:28.071Z",
"preAuthorizedCode": "string",
"holderId": "string",
"credentialType": "string",
"credentialId": "string",
"revoked": true,
"credentialSubject": {
"id": "string"
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}