Verifiable Credential Issuer

Issue Single Credential

Changed on

Issue a single verifiable credential

post/api/{serviceId}/vci/single/issue

Request

  • Base URL
    https://us.authlete.com
  • URL
    https://us.authlete.com/api/{serviceId}/vci/single/issue
  • Auth
    HTTP bearer

Path parameters

serviceIdstring required

A service ID.

Request body

accessTokenstring

The access token that came along with the credential request.

deniedboolean

Set to true to signal that the credential issuer is declining to issue the requested credential. When set, the response will contain "error":"credential_request_denied" and the action in the response will be BAD_REQUEST.

intervalinteger

The minimum polling interval in seconds for deferred credential issuance.

Response

resultCodestring

The code which represents the result of the API call.

resultMessagestring

A short message which explains the result of the API call.

action'OK' | 'OK_JWT' | 'ACCEPTED' | 'ACCEPTED_JWT' | 'BAD_REQUEST' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'INTERNAL_SERVER_ERROR' | 'CALLER_ERROR'

The next action that the implementation of the credential endpoint should take.

responseContentstring

The content of the response that the implementation of the credential endpoint should return.

transactionIdstring

The issued transaction ID.

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • warning

      added the new ACCEPTED_JWT enum value to the response property for the response status

    • warning

      added the new BAD_REQUEST enum value to the response property for the response status

    • warning

      added the new OK_JWT enum value to the response property for the response status

    • info

      added the non-success response with the status