Accessrequests

List all active access requests

get
Query parameters
allbooleanOptional

Return whole body of full valid access request if true.

Default: false
Responses
200

List of access requests.

application/json
get
GET /accessrequests HTTP/1.1
Host: api.wallet.example.com
Accept: */*
200

List of access requests.

[
  {
    "id": "https://example.com",
    "type": [
      "text"
    ],
    "proof": {
      "type": "text",
      "created": "2025-08-29T00:35:31.714Z",
      "domain": "text",
      "proofPurpose": "text",
      "proofValue": "text",
      "verificationMethod": "https://example.com"
    },
    "credentialStatus": {
      "id": "https://example.com",
      "type": "text",
      "revocationListCredential": "https://example.com",
      "revocationListIndex": "text"
    },
    "credentialSubject": {
      "id": "https://example.com",
      "inbox": "https://example.com",
      "hasConsent": {
        "mode": [
          "text"
        ],
        "forPersonalData": "https://example.com",
        "forPurpose": "https://example.com",
        "hasStatus": "text",
        "isConsentForDataSubject": "https://example.com"
      }
    },
    "expirationDate": "2025-08-29T00:35:31.714Z",
    "issuanceDate": "2025-08-29T00:35:31.714Z",
    "issuer": "https://example.com",
    "@context": [
      "text"
    ]
  }
]

Retrieve specific access request by UUID

get
Path parameters
IDstringRequired

The ID of the access request

Responses
200

Access request details.

application/json
get
GET /accessrequests/{ID} HTTP/1.1
Host: api.wallet.example.com
Accept: */*
{
  "id": "https://example.com",
  "type": [
    "text"
  ],
  "proof": {
    "type": "text",
    "created": "2025-08-29T00:35:31.714Z",
    "domain": "text",
    "proofPurpose": "text",
    "proofValue": "text",
    "verificationMethod": "https://example.com"
  },
  "credentialStatus": {
    "id": "https://example.com",
    "type": "text",
    "revocationListCredential": "https://example.com",
    "revocationListIndex": "text"
  },
  "credentialSubject": {
    "id": "https://example.com",
    "inbox": "https://example.com",
    "hasConsent": {
      "mode": [
        "text"
      ],
      "forPersonalData": "https://example.com",
      "forPurpose": "https://example.com",
      "hasStatus": "text",
      "isConsentForDataSubject": "https://example.com"
    }
  },
  "expirationDate": "2025-08-29T00:35:31.714Z",
  "issuanceDate": "2025-08-29T00:35:31.714Z",
  "issuer": "https://example.com",
  "@context": [
    "text"
  ]
}

Reject an access request

put
Path parameters
IDstringRequired

The ID of the access request

Body
statusstringRequired

Revoked

Responses
204

Access request rejected.

No content

put
PUT /accessrequests/{ID} HTTP/1.1
Host: api.wallet.example.com
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "status": "rejected"
}

No content