Skip to main content
Version: v0.10.0

Request OID4VCI access token

POST 

/oid4vci/token

Requests an access token based on a pre authorizated code the holder has received off-line

Request

Bodyrequired

    pre-authorized_codestring

Responses

Schema
    access_tokenstringrequired
    Example: access-token-sample
    token_typestring
    Example: Bearer
    expires_innumber
    Example: 3600
    refresh_tokenstring
    Example: refresh-token-sample
    c_noncestring
    Example: c-nonce-sample
    c_nonce_expires_innumber
    Example: 300
    authorization_details object[]required
  • Array [
  • typestringrequired
    Example: openid_credential
    credential_configuration_idstringrequired
    Example: cred-config-123
    credential_identifiersstring[]required
    Example: ["id1","id2"]
  • ]
curl -L -X POST 'https://tsg.dataspac.es/oid4vci/token' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
Request Collapse all
Body required
{
  "pre-authorized_code": "string"
}