Triveria Wallet API (1.0.0)
Download OpenAPI specification:Download
Triveria Wallet API allows to manage credentials inside a specific wallet and interactions between wallets as specified by the OIDC4VC specification.
CredentialList
Retrieves a list of credentials.
Authorizations:
query Parameters
interaction | string Enum: "issuance" "receive" "statusList" "taoCredentials" The interaction that is the origin of the credential. This parameter is mutually exclusive with the "type" parameter. |
type | string The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the "interaction" parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass. |
valid | boolean The credential validity flag. If not provided credentials with any validity will be returned. |
limit | integer The number of items |
nextMarker | string Marking the next set of items |
sort | string (ListSort) Enum: "asc" "desc" Sort flag controls the sort direction by the time updated or issued |
searchPath | string JSON path specification for the filter to apply |
filter | string <byte> JSON schema filter used to select the credentials (base64 encoded) |
header Parameters
wallet-id required | string |
Responses
Response samples
- 200
- 400
- 500
{- "list": [
- {
- "id": "string",
- "walletId": "string",
- "ownerId": "string",
- "name": "string",
- "interaction": "issuance",
- "message": "string",
- "type": "VerifiableCredential,VerifiableAttestation",
- "offeredToClientId": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "status": "draft",
- "disclosableFields": [
- "string"
], - "issuerDisplay": [
- {
- "name": "string",
- "locale": "string",
- "logo": {
- "uri": "string",
- "alt_text": "string"
}
}
]
}
],
}
CredentialCreate
Creates a new draft credential.
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
A Verifiable Credential payload in JSON format.
required | object (Verifiable Credential) |
name required | string (Credential name) An internal credential label used by a holder or issuer as a human readable credential name. |
validateSchema | boolean Default: true If true, the credential draft is checked against its schema. Defaults to true. |
property name* additional property | any (Credential metadata) Any additional key, value pairs used for internal purposes of an issuer or holder. |
Responses
Request samples
- Payload
{- "credential": {
- "@context": [
- "string"
], - "id": "string",
- "type": [
- "string"
], - "credentialSchema": {
- "id": "string",
- "name": "string",
- "type": "string"
}, - "credentialSubject": {
- "id": "string",
- "_sd": [
- "string"
]
}, - "credentialStatus": {
- "id": "string",
- "type": "string",
- "statusPurpose": "string",
- "statusListIndex": "string",
- "statusListCredential": "string"
}, - "evidence": [
- {
- "id": "string",
- "type": [
- "string"
]
}
], - "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "issued": "2019-08-24T14:15:22Z",
- "issuanceDate": "2019-08-24T14:15:22Z",
- "expirationDate": "2019-08-24T14:15:22Z",
- "holder": "string",
- "issuer": "string",
- "_sd": [
- "string"
], - "_sd_alg": "string",
- "refreshService": {
- "id": "string",
- "type": "ManualRefreshService2018"
}, - "termsOfUse": {
- "id": "string",
- "type": "IssuerPolicy"
}, - "proof": {
- "type": "Ed25519Signature2020",
- "created": "2019-08-24T14:15:22Z",
- "verificationMethod": "string",
- "proofPurpose": "assertionMethod",
- "proofValue": "string"
}
}, - "name": "string",
- "validateSchema": true,
- "property1": null,
- "property2": null
}
Response samples
- 200
- 400
- 500
{- "id": "string"
}
CredentialImport
Import pre-signed credential into wallet
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
A Verifiable Credential payload in JSON format.
credential required | string |
name required | string |
Responses
Request samples
- Payload
{- "credential": "string",
- "name": "string"
}
Response samples
- 200
- 400
- 500
{- "@context": [
- "string"
], - "id": "string",
- "type": [
- "string"
], - "credentialSchema": {
- "id": "string",
- "name": "string",
- "type": "string"
}, - "credentialSubject": {
- "id": "string",
- "_sd": [
- "string"
]
}, - "credentialStatus": {
- "id": "string",
- "type": "string",
- "statusPurpose": "string",
- "statusListIndex": "string",
- "statusListCredential": "string"
}, - "evidence": [
- {
- "id": "string",
- "type": [
- "string"
]
}
], - "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "issued": "2019-08-24T14:15:22Z",
- "issuanceDate": "2019-08-24T14:15:22Z",
- "expirationDate": "2019-08-24T14:15:22Z",
- "holder": "string",
- "issuer": "string",
- "_sd": [
- "string"
], - "_sd_alg": "string",
- "refreshService": {
- "id": "string",
- "type": "ManualRefreshService2018"
}, - "termsOfUse": {
- "id": "string",
- "type": "IssuerPolicy"
}, - "proof": {
- "type": "Ed25519Signature2020",
- "created": "2019-08-24T14:15:22Z",
- "verificationMethod": "string",
- "proofPurpose": "assertionMethod",
- "proofValue": "string"
}
}
CredentialRequestInit
Requests a credential issuance from the issuer and retrieves requirements for holder authorization.
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
A Verifiable Credential request: types and URL of the issuer
types required | Array of strings |
format required | string (CredentialFormat) Enum: "jwt_vc" "sd_jwt_vc" |
url required | string <url> |
state | string |
Responses
Request samples
- Payload
{- "types": [
- "string"
], - "format": "jwt_vc",
- "url": "string",
- "state": "string"
}
Response samples
- 200
- 400
- 500
[- "string"
]
CredentialGet
Retrieves a specific verifiable credential based on the provided identifier. Upon retrieval the status of the credential is checked on the fly and therefore guaranteed.
Authorizations:
path Parameters
credential_id required | string (Verifiable Credential ID) Verifiable Credential Identifier |
header Parameters
wallet-id required | string |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "metadata": {
- "id": "string",
- "walletId": "string",
- "ownerId": "string",
- "name": "string",
- "interaction": "issuance",
- "message": "string",
- "type": "VerifiableCredential,VerifiableAttestation",
- "offeredToClientId": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "status": "draft",
- "disclosableFields": [
- "string"
], - "issuerDisplay": [
- {
- "name": "string",
- "locale": "string",
- "logo": {
- "uri": "string",
- "alt_text": "string"
}
}
]
}, - "vc": {
- "@context": [
- "string"
], - "id": "string",
- "type": [
- "string"
], - "credentialSchema": {
- "id": "string",
- "name": "string",
- "type": "string"
}, - "credentialSubject": {
- "id": "string",
- "_sd": [
- "string"
]
}, - "credentialStatus": {
- "id": "string",
- "type": "string",
- "statusPurpose": "string",
- "statusListIndex": "string",
- "statusListCredential": "string"
}, - "evidence": [
- {
- "id": "string",
- "type": [
- "string"
]
}
], - "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "issued": "2019-08-24T14:15:22Z",
- "issuanceDate": "2019-08-24T14:15:22Z",
- "expirationDate": "2019-08-24T14:15:22Z",
- "holder": "string",
- "issuer": "string",
- "_sd": [
- "string"
], - "_sd_alg": "string",
- "refreshService": {
- "id": "string",
- "type": "ManualRefreshService2018"
}, - "termsOfUse": {
- "id": "string",
- "type": "IssuerPolicy"
}, - "proof": {
- "type": "Ed25519Signature2020",
- "created": "2019-08-24T14:15:22Z",
- "verificationMethod": "string",
- "proofPurpose": "assertionMethod",
- "proofValue": "string"
}
}, - "signedVc": "string"
}
CredentialPatch
Endpoint used to update an existing Credential in draft state. Can be used for additional updates before the Credential is issued. After credential is issued it may not be changed in any way.
Authorizations:
path Parameters
credential_id required | string (Verifiable Credential ID) Verifiable Credential Identifier |
header Parameters
wallet-id required | string |
Request Body schema: application/json
required | Credential Subject Item (object) or Array of Credential Subject (objects) (Credential Subject) Set of objects that MUST contain one or more claims that are each related to a subject of the verifiable credential https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSubject. Currently we support only one subject in the verifiable credential because there is no consensus about "vc-jwt" encoding of multi-subject verifiable credentials |
name required | string (Credential name) |
validateSchema | boolean Default: true If true, the credential draft is checked against its schema. Defaults to true. |
property name* additional property | any (Any additional key, value pairs used to categorize or denote the Credential) |
Responses
Request samples
- Payload
{- "credentialSubject": {
- "id": "string",
- "_sd": [
- "string"
]
}, - "name": "string",
- "validateSchema": true,
- "property1": {
- "focus": "education",
- "type": "diploma",
- "origin": "SK"
}, - "property2": {
- "focus": "education",
- "type": "diploma",
- "origin": "SK"
}
}
Response samples
- 200
- 400
- 404
- 500
{- "id": "string"
}
CredentialMetadataPatch
Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
Authorizations:
path Parameters
credential_id required | string (Verifiable Credential ID) Verifiable Credential Identifier |
header Parameters
wallet-id required | string |
Request Body schema: application/json
Verifiable Credential metadata in JSON
name | string (Verifiable Credential name) |
property name* additional property | any |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
- 400
- 404
- 500
{- "id": "string"
}
CredentialIssuanceInit
Prepares created Verifiable Credential draft for its issuance for a specific client.
Authorizations:
path Parameters
credential_id required | string |
header Parameters
wallet-id required | string |
Request Body schema: application/json
issuerId required | string (Issuer ID) Identifier used by the wallet to decide which issuer to use to issue the credential. |
clientId | string (Client ID) The future holder identifier. Usually this is the DID of the holder wallet. |
idTokenRequestId | string (ID Token request identifier) If ID Token was used to identify the holder's wallet. |
object (IssuanceRequirementsToVerify) |
Responses
Request samples
- Payload
{- "issuerId": "string",
- "clientId": "string",
- "idTokenRequestId": "string",
- "issuanceRequirementsToVerify": {
- "credentialVerifierId": "string",
- "verifiedFields": [
- {
- "path": "string",
- "value": "string"
}
]
}
}
Response samples
- 200
- 400
- 404
- 500
{- "issuanceQueueItemId": "string"
}
CredentialRevoke
Revoke a specific Verifiable Credential
Authorizations:
path Parameters
credential_id required | string (Verifiable Credential ID) Verifiable Credential Identifier |
header Parameters
wallet-id required | string |
Responses
Response samples
- 400
- 404
- 500
{- "error": "string",
- "message": "string"
}
HolderCreateAuthOffer
Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
issuerUrl required | string |
types required | Array of strings |
format required | string (CredentialFormat) Enum: "jwt_vc" "sd_jwt_vc" |
state required | string |
deferred required | boolean |
Responses
Request samples
- Payload
{- "issuerUrl": "string",
- "types": [
- "string"
], - "format": "jwt_vc",
- "state": "string",
- "deferred": true
}
Response samples
- 400
- 500
{- "error": "string",
- "message": "string"
}
VerifierInitUrlCreate
Returns an url where verifier accepts presentations from a holder.
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
verifierId required | string |
Responses
Request samples
- Payload
{- "verifierId": "string"
}
Response samples
- 200
- 400
- 500
{- "verifierUrl": "string",
- "verifierState": "string"
}
VerifierLinkedVpVerify
Fetches linked presentations from DID document and verifies them.
Authorizations:
query Parameters
did required | string |
header Parameters
wallet-id required | string |
Responses
Response samples
- 200
- 400
- 404
- 500
[- {
- "linkedVpId": "string",
- "credentials": [
- {
- "@context": [
- "string"
], - "id": "string",
- "type": [
- "string"
], - "credentialSchema": {
- "id": "string",
- "name": "string",
- "type": "string"
}, - "credentialSubject": {
- "id": "string",
- "_sd": [
- "string"
]
}, - "credentialStatus": {
- "id": "string",
- "type": "string",
- "statusPurpose": "string",
- "statusListIndex": "string",
- "statusListCredential": "string"
}, - "evidence": [
- {
- "id": "string",
- "type": [
- "string"
]
}
], - "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "issued": "2019-08-24T14:15:22Z",
- "issuanceDate": "2019-08-24T14:15:22Z",
- "expirationDate": "2019-08-24T14:15:22Z",
- "holder": "string",
- "issuer": "string",
- "_sd": [
- "string"
], - "_sd_alg": "string",
- "refreshService": {
- "id": "string",
- "type": "ManualRefreshService2018"
}, - "termsOfUse": {
- "id": "string",
- "type": "IssuerPolicy"
}, - "proof": {
- "type": "Ed25519Signature2020",
- "created": "2019-08-24T14:15:22Z",
- "verificationMethod": "string",
- "proofPurpose": "assertionMethod",
- "proofValue": "string"
}
}
]
}
]
IssuerCredentialTypesList
Returns verifiable credential format and types that are supported by the issuer.
- format: the verifiable credential format (for example "jwt_vc")
- type: a list of strings that define supported verifiable credential type(s)
query Parameters
url required | string |
Responses
Response samples
- 200
- 400
- 500
[- {
- "format": "jwt_vc",
- "type": [
- "string"
], - "doctype": "string"
}
]
IssuerInitiatePreauthOffer
Initiates issuing of Verifiable Credentials using pre-authorized flow.
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
clientId | string DID of holder for which the offer is created. |
idTokenRequestId | string ID of ID token request issued to the holder. |
issuerId required | string ID of the issuer used to issue the credential. |
format required | string (CredentialFormat) Enum: "jwt_vc" "sd_jwt_vc" |
offerEndpoint | string Default: "openid-credential-offer://" |
deferred | boolean Default: false |
Responses
Request samples
- Payload
{- "clientId": "string",
- "idTokenRequestId": "string",
- "issuerId": "string",
- "format": "jwt_vc",
- "offerEndpoint": "openid-credential-offer://",
- "deferred": false
}
Response samples
- 200
- 400
- 500
{- "preauthCode": "string",
- "pin": "string",
- "issuerUrl": "string",
- "offer": "string",
- "validUntil": "2019-08-24T14:15:22Z"
}
IssuerInitiateAuthOffer
Initiates issuing of Verifiable Credentials using authorized flow.
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
issuerId required | string ID of the issuer used to issue the credential. |
format required | string (CredentialFormat) Enum: "jwt_vc" "sd_jwt_vc" |
offerEndpoint | string Default: "openid-credential-offer://" |
deferred | boolean Default: false |
issuanceQueueItemId | string Id of issuance queue item. Required when issuer type is CredentialQueue type and no clientId was provided when adding credential to queue. |
Responses
Request samples
- Payload
{- "issuerId": "string",
- "format": "jwt_vc",
- "offerEndpoint": "openid-credential-offer://",
- "deferred": false,
- "issuanceQueueItemId": "string"
}
Response samples
- 200
- 400
- 500
{- "state": "string",
- "issuerUrl": "string",
- "offer": "string",
- "validUntil": "2019-08-24T14:15:22Z"
}
HolderOfferPassAuthInfo
Issue the Verifiable Credential using OIDC4VCI offer acceptance
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
Offer URL and optional PIN for the request
Url required | string <url> |
Responses
Request samples
- Payload
{- "Url": "string"
}
Response samples
- 200
- 400
- 500
{- "requirementType": "id_token",
- "presentationDefinition": {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- "string"
]
}, - "jwt_vp": {
- "alg": [
- "string"
]
}, - "mso_mdoc": {
- "alg": [
- "string"
]
}
}, - "input_descriptors": [
- {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- "string"
]
}, - "jwt_vp": {
- "alg": [
- "string"
]
}, - "mso_mdoc": {
- "alg": [
- "string"
]
}
}, - "constraints": {
- "fields": [
- {
- "id": "string",
- "name": "string",
- "purpose": "string",
- "filter": { },
- "path": [
- "string"
]
}
]
}, - "group": [
- "string"
]
}
], - "submission_requirements": [
- {
- "rule": "all",
- "count": 0,
- "min": 0,
- "max": 0,
- "from": "string",
- "from_nested": [
- { }
], - "name": "string"
}
]
}, - "presentationCandidates": [
- {
- "descriptorId": "string",
- "credentials": [
- {
- "credential": {
- "id": "string",
- "walletId": "string",
- "ownerId": "string",
- "name": "string",
- "interaction": "issuance",
- "message": "string",
- "type": "VerifiableCredential,VerifiableAttestation",
- "offeredToClientId": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "status": "draft",
- "disclosableFields": [
- "string"
], - "issuerDisplay": [
- {
- "name": "string",
- "locale": "string",
- "logo": {
- "uri": "string",
- "alt_text": "string"
}
}
]
}, - "fieldsToDisclose": [
- "string"
]
}
]
}
], - "interactionId": "string",
- "offeredCredentialsTypes": [
- "string"
], - "issuerDisplay": [
- {
- "name": "string",
- "locale": "string",
- "logo": {
- "uri": "string",
- "alt_text": "string"
}
}
]
}
HolderOfferProcessAfterConsent
Gives consent to process credential offer specified by interaction_id
path Parameters
interaction_id required | string |
header Parameters
wallet-id required | string |
Request Body schema: application/json
pin | string Pin code needed for pre-authorized credential offers.
Required when authorization requirement type is |
Array of objects (InputDescriptorSuitableCredentials) Array of IDs of credentials that will be presented in the interaction.
Must be a subset of authorization requirements presentation candidates.
Required when authorization requirement type is |
Responses
Request samples
- Payload
{- "pin": "string",
- "credentialsToPresent": [
- {
- "descriptorId": "string",
- "credentials": [
- {
- "credential": {
- "id": "string",
- "walletId": "string",
- "ownerId": "string",
- "name": "string",
- "interaction": "issuance",
- "message": "string",
- "type": "VerifiableCredential,VerifiableAttestation",
- "offeredToClientId": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "status": "draft",
- "disclosableFields": [
- "string"
], - "issuerDisplay": [
- {
- "name": "string",
- "locale": "string",
- "logo": {
- "uri": "string",
- "alt_text": "string"
}
}
]
}, - "fieldsToDisclose": [
- "string"
]
}
]
}
]
}
Response samples
- 200
- 400
- 404
- 500
[- "string"
]
HolderIdTokenSend
Responds to an ID token request
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
requestUrl required | string |
Responses
Request samples
- Payload
{- "requestUrl": "string"
}
Response samples
- 400
- 500
{- "error": "string",
- "message": "string"
}
HolderPresentPassAuthInfo
Initiates a presentation of credentials to a verifier.
Authorizations:
header Parameters
wallet-id required | string |
Request Body schema: application/json
verifierUrl required | string URL of verifier authorization server. MUST contain the verifier scope as a query parameter( |
Responses
Request samples
- Payload
{- "verifierUrl": "string"
}
Response samples
- 200
- 400
- 500
{- "requirementType": "id_token",
- "presentationDefinition": {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- "string"
]
}, - "jwt_vp": {
- "alg": [
- "string"
]
}, - "mso_mdoc": {
- "alg": [
- "string"
]
}
}, - "input_descriptors": [
- {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- "string"
]
}, - "jwt_vp": {
- "alg": [
- "string"
]
}, - "mso_mdoc": {
- "alg": [
- "string"
]
}
}, - "constraints": {
- "fields": [
- {
- "id": "string",
- "name": "string",
- "purpose": "string",
- "filter": { },
- "path": [
- "string"
]
}
]
}, - "group": [
- "string"
]
}
], - "submission_requirements": [
- {
- "rule": "all",
- "count": 0,
- "min": 0,
- "max": 0,
- "from": "string",
- "from_nested": [
- { }
], - "name": "string"
}
]
}, - "presentationCandidates": [
- {
- "descriptorId": "string",
- "credentials": [
- {
- "credential": {
- "id": "string",
- "walletId": "string",
- "ownerId": "string",
- "name": "string",
- "interaction": "issuance",
- "message": "string",
- "type": "VerifiableCredential,VerifiableAttestation",
- "offeredToClientId": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "status": "draft",
- "disclosableFields": [
- "string"
], - "issuerDisplay": [
- {
- "name": "string",
- "locale": "string",
- "logo": {
- "uri": "string",
- "alt_text": "string"
}
}
]
}, - "fieldsToDisclose": [
- "string"
]
}
]
}
], - "interactionId": "string",
- "offeredCredentialsTypes": [
- "string"
], - "issuerDisplay": [
- {
- "name": "string",
- "locale": "string",
- "logo": {
- "uri": "string",
- "alt_text": "string"
}
}
]
}
HolderCredentialsPresentAfterConsent
Presenting Verifiable Credentials after holder's consent.
path Parameters
interaction_id required | string |
header Parameters
wallet-id required | string |
Request Body schema: application/json
pin | string Pin code needed for pre-authorized credential offers.
Required when authorization requirement type is |
Array of objects (InputDescriptorSuitableCredentials) Array of IDs of credentials that will be presented in the interaction.
Must be a subset of authorization requirements presentation candidates.
Required when authorization requirement type is |
Responses
Request samples
- Payload
{- "pin": "string",
- "credentialsToPresent": [
- {
- "descriptorId": "string",
- "credentials": [
- {
- "credential": {
- "id": "string",
- "walletId": "string",
- "ownerId": "string",
- "name": "string",
- "interaction": "issuance",
- "message": "string",
- "type": "VerifiableCredential,VerifiableAttestation",
- "offeredToClientId": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "status": "draft",
- "disclosableFields": [
- "string"
], - "issuerDisplay": [
- {
- "name": "string",
- "locale": "string",
- "logo": {
- "uri": "string",
- "alt_text": "string"
}
}
]
}, - "fieldsToDisclose": [
- "string"
]
}
]
}
]
}
Response samples
- 400
- 404
- 500
{- "error": "string",
- "message": "string"
}
HolderLinkedVpCreate
Creates a new public Linked VP of specified credentials and adds it to the wallet's DID document
header Parameters
wallet-id required | string |
Request Body schema: application/json
required | object (PresentationDefinition) |
required | Array of objects (InputDescriptorSuitableCredentials) |
expirationDate | string <date-time> |
Responses
Request samples
- Payload
{- "presentationDefinition": {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- "string"
]
}, - "jwt_vp": {
- "alg": [
- "string"
]
}, - "mso_mdoc": {
- "alg": [
- "string"
]
}
}, - "input_descriptors": [
- {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- "string"
]
}, - "jwt_vp": {
- "alg": [
- "string"
]
}, - "mso_mdoc": {
- "alg": [
- "string"
]
}
}, - "constraints": {
- "fields": [
- {
- "id": "string",
- "name": "string",
- "purpose": "string",
- "filter": { },
- "path": [
- "string"
]
}
]
}, - "group": [
- "string"
]
}
], - "submission_requirements": [
- {
- "rule": "all",
- "count": 0,
- "min": 0,
- "max": 0,
- "from": "string",
- "from_nested": [
- { }
], - "name": "string"
}
]
}, - "credentialsToPresent": [
- {
- "descriptorId": "string",
- "credentials": [
- {
- "credential": {
- "id": "string",
- "walletId": "string",
- "ownerId": "string",
- "name": "string",
- "interaction": "issuance",
- "message": "string",
- "type": "VerifiableCredential,VerifiableAttestation",
- "offeredToClientId": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "status": "draft",
- "disclosableFields": [
- "string"
], - "issuerDisplay": [
- {
- "name": "string",
- "locale": "string",
- "logo": {
- "uri": "string",
- "alt_text": "string"
}
}
]
}, - "fieldsToDisclose": [
- "string"
]
}
]
}
], - "expirationDate": "2019-08-24T14:15:22Z"
}
Response samples
- 200
- 400
- 500
{- "linkedVpId": "string",
- "linkedVpUrl": "string"
}
WalletCreate
Creates a new wallet for the authenticated client.
Authorizations:
Request Body schema: application/json
walletId | string (Wallet ID) |
name required | string (Wallet name) |
required | object (Wallet config) Wallet specific configuration. |
Responses
Request samples
- Payload
{- "walletId": "string",
- "name": "string",
- "config": {
- "credentialIssuers": [
- {
- "name": "string",
- "id": "string",
- "credentialType": [
- "string"
], - "credentialIssuer": "CtWalletSame",
- "issuerConfiguration": {
- "credentialVerifierId": "string",
- "mapping": { }
}, - "credentialFormat": "string",
- "disclosableClaims": [
- "string"
]
}
], - "credentialVerifiers": [
- {
- "name": "string",
- "id": "string",
- "presentationDefinition": {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- "string"
]
}, - "jwt_vp": {
- "alg": [
- "string"
]
}, - "mso_mdoc": {
- "alg": [
- "string"
]
}
}, - "input_descriptors": [
- {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- null
]
}, - "jwt_vp": {
- "alg": [
- null
]
}, - "mso_mdoc": {
- "alg": [
- null
]
}
}, - "constraints": {
- "fields": [
- {
- "id": null,
- "name": null,
- "purpose": null,
- "filter": { },
- "path": [ ]
}
]
}, - "group": [
- "string"
]
}
], - "submission_requirements": [
- {
- "rule": "all",
- "count": 0,
- "min": 0,
- "max": 0,
- "from": "string",
- "from_nested": [
- { }
], - "name": "string"
}
]
}
}
], - "oidcRevision": {
- "oidc4vci": "Draft11",
- "oidc4vp": "Draft16"
}, - "trustFramework": "EBSI",
- "EBSI": {
- "requiredDid": "string",
- "isOnboarded": false,
- "attributeId": "string",
- "proxyUrl": "string",
- "isLegalEntity": false,
- "configuration": {
}
}
}
}
Response samples
- 200
- 400
- 500
{- "id": "string"
}
WalletGet
Provides wallet details
Authorizations:
path Parameters
wallet_id required | string |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "walletId": "string",
- "name": "string",
- "capabilities": [
- "holder"
], - "config": {
- "credentialIssuers": [
- {
- "name": "string",
- "id": "string",
- "credentialType": [
- "string"
], - "credentialIssuer": "CtWalletSame",
- "issuerConfiguration": {
- "credentialVerifierId": "string",
- "mapping": { }
}, - "credentialFormat": "string",
- "disclosableClaims": [
- "string"
]
}
], - "credentialVerifiers": [
- {
- "name": "string",
- "id": "string",
- "presentationDefinition": {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- "string"
]
}, - "jwt_vp": {
- "alg": [
- "string"
]
}, - "mso_mdoc": {
- "alg": [
- "string"
]
}
}, - "input_descriptors": [
- {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- null
]
}, - "jwt_vp": {
- "alg": [
- null
]
}, - "mso_mdoc": {
- "alg": [
- null
]
}
}, - "constraints": {
- "fields": [
- {
- "id": null,
- "name": null,
- "purpose": null,
- "filter": { },
- "path": [ ]
}
]
}, - "group": [
- "string"
]
}
], - "submission_requirements": [
- {
- "rule": "all",
- "count": 0,
- "min": 0,
- "max": 0,
- "from": "string",
- "from_nested": [
- { }
], - "name": "string"
}
]
}
}
], - "oidcRevision": {
- "oidc4vci": "Draft11",
- "oidc4vp": "Draft16"
}, - "trustFramework": "EBSI",
- "EBSI": {
- "requiredDid": "string",
- "isOnboarded": false,
- "attributeId": "string",
- "proxyUrl": "string",
- "isLegalEntity": false,
- "configuration": {
}
}
}
}
WalletPatch
Update wallet metadata and configuration.
Authorizations:
path Parameters
wallet_id required | string |
Request Body schema: application/json
walletId | string (Wallet ID) |
name required | string (Wallet name) |
required | object (Wallet config) Wallet specific configuration. |
Responses
Request samples
- Payload
{- "walletId": "string",
- "name": "string",
- "config": {
- "credentialIssuers": [
- {
- "name": "string",
- "id": "string",
- "credentialType": [
- "string"
], - "credentialIssuer": "CtWalletSame",
- "issuerConfiguration": {
- "credentialVerifierId": "string",
- "mapping": { }
}, - "credentialFormat": "string",
- "disclosableClaims": [
- "string"
]
}
], - "credentialVerifiers": [
- {
- "name": "string",
- "id": "string",
- "presentationDefinition": {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- "string"
]
}, - "jwt_vp": {
- "alg": [
- "string"
]
}, - "mso_mdoc": {
- "alg": [
- "string"
]
}
}, - "input_descriptors": [
- {
- "id": "string",
- "format": {
- "jwt_vc": {
- "alg": [
- null
]
}, - "jwt_vp": {
- "alg": [
- null
]
}, - "mso_mdoc": {
- "alg": [
- null
]
}
}, - "constraints": {
- "fields": [
- {
- "id": null,
- "name": null,
- "purpose": null,
- "filter": { },
- "path": [ ]
}
]
}, - "group": [
- "string"
]
}
], - "submission_requirements": [
- {
- "rule": "all",
- "count": 0,
- "min": 0,
- "max": 0,
- "from": "string",
- "from_nested": [
- { }
], - "name": "string"
}
]
}
}
], - "oidcRevision": {
- "oidc4vci": "Draft11",
- "oidc4vp": "Draft16"
}, - "trustFramework": "EBSI",
- "EBSI": {
- "requiredDid": "string",
- "isOnboarded": false,
- "attributeId": "string",
- "proxyUrl": "string",
- "isLegalEntity": false,
- "configuration": {
}
}
}
}
Response samples
- 200
- 400
- 404
- 500
{- "id": "string"
}
WalletDelete
Permanently deletes the wallet with all credentials and keys. Make sure you know what you are doing before hitting this endpoint.
Authorizations:
path Parameters
wallet_id required | string |
Responses
Response samples
- 404
- 500
{- "error": "string",
- "message": "string"
}
WalletNotifications
Provides first-in-first-out queue of notifications for a specific wallet.
Authorizations:
path Parameters
wallet_id required | string Wallet ID |
Responses
Response samples
- 200
- 404
- 500
[- {
- "subjectDid": "string",
- "eventType": "vp.verified",
- "eventDetails": {
- "verifierId": "string"
}, - "time": "2019-08-24T14:15:22Z"
}
]
WalletNotificationHistory
Provides wallet notifications that can be used to audit the wallet activity.
Authorizations:
path Parameters
wallet_id required | string Wallet ID |
query Parameters
limit | integer The number of items |
nextMarker | string Marking the next set of items |
type | Array of strings (Wallet notification event type) Items Enum: "vp.verified" "vp.invalid" "idToken.received" "offer.processed" "offer.initiated" Notification types |
sort | string (ListSort) Enum: "asc" "desc" Sort flag controls the sort direction by the time created |
Responses
Response samples
- 200
- 404
- 500
{- "list": [
- {
- "subjectDid": "string",
- "eventType": "vp.verified",
- "eventDetails": {
- "verifierId": "string"
}, - "time": "2019-08-24T14:15:22Z"
}
],
}
WalletNotificationGetByState
Gets a specific notification by state
Authorizations:
path Parameters
wallet_id required | string Wallet ID |
state required | string Verifier state |
Responses
Response samples
- 200
- 404
- 500
{- "subjectDid": "string",
- "eventType": "vp.verified",
- "eventDetails": {
- "verifierId": "string"
}, - "time": "2019-08-24T14:15:22Z"
}
WalletVerifiedCredentialsByState
Gets a specific verified credentials by state
Authorizations:
path Parameters
wallet_id required | string Wallet ID |
state required | string Verifier state |
Responses
Response samples
- 200
- 404
- 500
{- "credentials": [
- {
- "@context": [
- "string"
], - "id": "string",
- "type": [
- "string"
], - "credentialSchema": {
- "id": "string",
- "name": "string",
- "type": "string"
}, - "credentialSubject": {
- "id": "string",
- "_sd": [
- "string"
]
}, - "credentialStatus": {
- "id": "string",
- "type": "string",
- "statusPurpose": "string",
- "statusListIndex": "string",
- "statusListCredential": "string"
}, - "evidence": [
- {
- "id": "string",
- "type": [
- "string"
]
}
], - "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "issued": "2019-08-24T14:15:22Z",
- "issuanceDate": "2019-08-24T14:15:22Z",
- "expirationDate": "2019-08-24T14:15:22Z",
- "holder": "string",
- "issuer": "string",
- "_sd": [
- "string"
], - "_sd_alg": "string",
- "refreshService": {
- "id": "string",
- "type": "ManualRefreshService2018"
}, - "termsOfUse": {
- "id": "string",
- "type": "IssuerPolicy"
}, - "proof": {
- "type": "Ed25519Signature2020",
- "created": "2019-08-24T14:15:22Z",
- "verificationMethod": "string",
- "proofPurpose": "assertionMethod",
- "proofValue": "string"
}
}
], - "vp": "string"
}
TfPrepareToOnboard
Prepares another legal entity's wallet DID for onboarding.
Authorizations:
path Parameters
wallet_id required | string |
Request Body schema: application/json
did required | string DID which will be onboarded |
validUntil required | string <date-time> Specifies when the authorization to onboard credential will expire |
Responses
Request samples
- Payload
{- "did": "string",
- "validUntil": "2019-08-24T14:15:22Z"
}
Response samples
- 400
- 404
- 500
{- "error": "string",
- "message": "string"
}
TfAccreditAs
Accredits a legal entity as RTAO or TAO.
Authorizations:
path Parameters
wallet_id required | string |
Request Body schema: application/json
type required | string Enum: "TrustedAccreditationOrganisation" "RootTrustedAccreditationOrganisation" |
Responses
Request samples
- Payload
{- "type": "TrustedAccreditationOrganisation"
}
Response samples
- 400
- 404
- 500
{- "error": "string",
- "message": "string"
}
TfPrepareToAccredit
Prepares another legal entity's wallet DID for accreditation.
Authorizations:
path Parameters
wallet_id required | string |
Request Body schema: application/json
did required | string |
type required | string Enum: "TrustedIssuer" "TrustedAccreditationOrganisation" |
accreditedFor required | string Base64 encoded json to be used for the |
validUntil required | string <date-time> Specifies when will the accreditation credential expire |
Responses
Request samples
- Payload
{- "did": "string",
- "type": "TrustedIssuer",
- "accreditedFor": "string",
- "validUntil": "2019-08-24T14:15:22Z"
}
Response samples
- 400
- 404
- 500
{- "error": "string",
- "message": "string"
}
TfRevokeAccreditation
Revokes another legal entity's wallet DID accreditation.
Authorizations:
path Parameters
wallet_id required | string |
Request Body schema: application/json
did required | string |
type required | string Enum: "TrustedIssuer" "TrustedAccreditationOrganisation" |
Responses
Request samples
- Payload
{- "did": "string",
- "type": "TrustedIssuer"
}
Response samples
- 400
- 404
- 500
{- "error": "string",
- "message": "string"
}