Create Credential Offer
Create a verifiable credential offer
Path parameters
A service ID.
Request body
The flag indicating whether the authorization_code object is included in the grants object.
The flag indicating whether the issuer_state property is included in the authorization_code object in the grants object.
The flag to include the urn:ietf:params:oauth:grant-type:pre-authorized_code object in the grants object.
The subject associated with the credential offer.
The duration of the credential offer.
The general-purpose arbitrary string.
Additional claims that are added to the payload part of the JWT access token.
The time at which the user authentication was performed during the course of issuing the credential offer.
The Authentication Context Class Reference of the user authentication performed during the course of issuing the credential offer.
The value of the credential_configuration_ids array.
{
"credential_issuer": "...",
"credential_configuration_ids": [ ... ],
"grants": { ... }
}
This property is mandatory.
The transaction code that should be associated with the credential offer.
If this parameter is not empty and the preAuthorizedCodeGrantIncluded parameter is true, the urn:ietf:params:oauth:grant-type:pre-authorized_code object will include the tx_code object.
The length of the value of this parameter will be used as the value of the length property in the tx_code object.
{
"credential_issuer": "...",
"credential_configuration_ids": [ ... ],
"grants": {
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_code": "...",
"tx_code": {
"length": length
}
}
}
}
The input mode of the transaction code.
The value of this property will be used as the value of the input_mode property in the tx_code object.
{
"credential_issuer": "...",
"credential_configuration_ids": [ ... ],
"grants": {
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_code": "...",
"tx_code": {
"length": length,
"input_mode": "..."
}
}
}
}
The description of the transaction code.
The value of this property will be used as the value of the description property in the tx_code object.
{
"credential_issuer": "...",
"credential_configuration_ids": [ ... ],
"grants": {
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_code": "...",
"tx_code": {
"length": length,
"description": "..."
}
}
}
}
Response
The code which represents the result of the API call.
A short message which explains the result of the API call.
The result of the /vci/offer/create API call.