List credential
GET/v2/config/digital-wallet/openid/sdjwt/credentials
This endpoint is used to list credential.
Request
Query Parameters
Requested index for start of resources to be provided in response requested by client
Default value: 10
Number of items returned per page. Requested number of resources to be provided in response requested by client
Possible values: [true
, false
]
Returns expired credentials if value is true else return active credentials
Responses
- 200
- 400
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
credential object[]
Identifier for the credential
JSON web token for the verifiable credential received and stored.
credential objectrequired
Decoded payload for JWT of the verifiable credential received and stored.
Decoded payload for JWT of the verifiable credential received and stored.
Possible values: [credential_pending
, credential_acked
]
It support 2 credential statuses: 1. credential_pending: Indicates the credential requires further inputs such as a transaction code or is still not ready as the issuance mode is deferred. 2. credential_acked: Indicates the credential has been received and stored by the holder.
To be used for receiving the credential using deferred credential endpoint.
Identifier of the credential issuer
Transaction code used for receiving credential using pre-authorized grant.
Timestamp when the record was created.
Timestamp when the record was updated.
Indicates that a transaction code is necessary for receiving credential using pre-authorized grant.
Format of the credential received. For e.g. jwt_vc or jwt_vc_json or dc+sd-jwt
Identifier for the presentation
issuer objectrequired
transactionCode object
Possible values: [numeric
, text
]
authorizationDetails object[]
Possible values: [Operational
, Revoked
, Suspended
]
Specifies the revocation status for verifiable credential.
Specifies the legal pid attestation verifiable credential of the issuer.
Specifies the legal pid attestation proof of pocession credential of the issuer.
Specifies whether legal pid attestation credential of issuer is verified.
Boolean value indicates whether the credential should be auto presented.
Possible values: [draft_14
, draft_18
]
Specifies the version of oid4vp draft specification
Specifies the key identifier of keys to be used for credential issuance
Possible values: [jwk
, did:key
, did:ebsi
, did:web
]
Specifies the trust anchor used for credential issuance
Contains expired credential tokens
Contains expired credentials decoded objects
pagination object
Current page number
Total number of items available
Total number of pages based on limit
Number of items per page
Indicates if there's a previous page
Indicates if there's a next page
{
"credential": [
{
"credentialId": "string",
"credentialToken": "string",
"credential": {},
"credentialStatus": "credential_pending",
"acceptanceToken": "string",
"credentialIssuer": "string",
"userPin": "string",
"createdAt": 0,
"updatedAt": 0,
"userPinRequired": true,
"credentialFormat": "string",
"presentationId": "string",
"issuer": {
"name": "string",
"location": "string",
"cover": "string",
"logo": "string",
"description": "string"
},
"credentialConfigurations": {},
"transactionCode": {
"inputMode": "numeric",
"inputLength": 0,
"description": "string"
},
"authorizationDetails": [
{
"type": "openid_credential",
"credential_configuration_id": "string",
"format": "string"
}
],
"revocationStatus": "Operational",
"legalPidAttestation": "string",
"legalPidAttestationPop": "string",
"legalPidVerified": true,
"autoPresent": true,
"version": "draft_14",
"kid": "string",
"trustAnchor": "jwk",
"expiredCredentialTokens": [
"string"
],
"expiredCredentials": [
{}
]
}
],
"pagination": {
"currentPage": 0,
"totalItems": 0,
"totalPages": 0,
"limit": 0,
"hasPrevious": true,
"hasNext": true
}
}
bad input parameter