---
id: config-digital-wallet-open-id-exchange-code-and-receive-credential
title: "Exchange code and receive credential"
description: "Exchanges an authorization code for an access token and receives the credential in the OID4VCI Authorization Code Flow. Call this operation after the authorization server redirects the user back with `code` and `state`."
sidebar_label: "Exchange code and receive credential"
hide_title: true
hide_table_of_contents: true
api: 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
sidebar_class_name: "post api-method"
info_path: docs/openid4vc-api/igrant-io-api-documentation
custom_edit_url: null
---

> **Build this with an AI coding agent.** Install the iGrant.io Agent Skills, then ask your agent to build the integration:
>
> ```bash
> npx skills add L3-iGrant/skills
> ```


import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<h1 className={"openapi__heading"}>Exchange code and receive credential</h1>

<MethodEndpoint method={"post"} path={"/v2/config/digital-wallet/openid/sdjwt/credential/exchange-code"}></MethodEndpoint>



Exchanges an authorization code for an access token and receives the credential in the OID4VCI Authorization Code Flow. Call this operation after the authorization server redirects the user back with `code` and `state`.

`state` is mandatory. Without `credentialIds`, the wallet finds the credential records by `state`. With `credentialIds`, each record must belong to that `state`. Send `iss` from the redirect too: the wallet needs it when the authorization server says that it sends `iss` (RFC 9207), and the value must match the issuer of that server.


## Request

<MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3><strong className={"openapi-schema__required"}>required</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}><div style={{"marginTop":"1rem","marginBottom":"1rem"}}>

Authorization code and state that the authorization server returned in the redirect.

</div></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"code"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** `non-empty`"} schema={{"type":"string","minLength":1,"description":"Authorization code that the authorization server of the issuer returned in the redirect.","example":"d7f1a2c4-9b83-4f0e-8c21-6a5e0d3b7f19"}}></SchemaItem><SchemaItem collapsible={false} name={"credentialIds"} required={false} schemaName={"string[]"} qualifierMessage={undefined} schema={{"type":"array","items":{"type":"string","description":"Identifier of one credential record that waits for the token exchange."},"description":"Identifiers of the credential records to complete: the `credentialId` values of the receive credential answer. Each record must belong to `state`. If you do not give a value, the wallet uses the credential records that match `state`.","example":["d29a6c1e-4b8f-4a1d-9c3e-7f5b2a0d8e11"]}}></SchemaItem><SchemaItem collapsible={false} name={"state"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"State value that the authorization server returned in the redirect. The wallet uses this value to find the matching credential records, and refuses a redirect without it.","example":"b7c9e2f1-4a58-4d31-9f2c-0e6b8a1d5c73"}}></SchemaItem><SchemaItem collapsible={false} name={"iss"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Issuer identifier of the authorization server from the redirect (RFC 9207). Mandatory when the metadata of the authorization server sets `authorization_response_iss_parameter_supported` to `true`. The value must match the `issuer` of that authorization server.","example":"https://demo-api.igrant.io/v2/organisation/62e29d4c1d75a55b4ecd0e50/service/version-01"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

The wallet exchanged the code and received the credential.

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><strong>credential</strong><span style={{"opacity":"0.6"}}> object</span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Credential that the wallet received. The wallet returns a single object if the token exchange gives one credential. The wallet returns an array if the exchange gives more than one credential.

</div></div><div><span className={"badge badge--info"}>oneOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><SchemaItem collapsible={false} name={"id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier of the credential record. This field holds the same value as `credentialId`."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier of the credential record in the wallet of the holder. Every `/credential/{credentialId}/...` path takes this value."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialExchangeId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier of the OID4VCI exchange at the issuer, when the wallet knows it. Use it to match the record with the issuance history of an issuer of this platform."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialToken"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The raw JWT, SD-JWT, or mDoc token of the issued Verifiable Credential as received from the issuer's OpenID for Verifiable Credentials Issuance (OID4VCI) Credential Endpoint."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>credential</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Decoded payload of the Verifiable Credential token. Contains the parsed claims from the W3C VC (JWT), IETF SD-JWT VC, or ISO 18013-5 mDoc/mDL credential. The field is `null` while the wallet waits for the credential.

</div><SchemaItem name={"property name*"} required={false} schemaName={"any"} qualifierMessage={undefined} schema={{"type":"object","additionalProperties":true,"description":"Decoded payload of the Verifiable Credential token. Contains the parsed claims from the W3C VC (JWT), IETF SD-JWT VC, or ISO 18013-5 mDoc/mDL credential. The field is `null` while the wallet waits for the credential."}} collapsible={false} discriminator={false}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"credentialStatus"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`credential_pending`, `credential_acked`, `credential_accepted`, `credential_archived`]"} schema={{"type":"string","enum":["credential_pending","credential_acked","credential_accepted","credential_archived"],"description":"Current status of the credential in the wallet of the holder. `credential_pending` means the flow needs more steps: a transaction code, an authorization code, or a call to the OID4VCI Deferred Credential Endpoint. `credential_acked` means the wallet received and stored the credential. `credential_accepted` means the holder accepted the credential. `credential_archived` marks a Wallet Unit Attestation that a newer one replaced."}}></SchemaItem><SchemaItem collapsible={false} name={"acceptanceToken"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Acceptance token (transaction_id in OID4VCI) returned for deferred issuance. The wallet uses this to poll the Deferred Credential Endpoint."}}></SchemaItem><SchemaItem collapsible={false} name={"deferredEndpoint"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"URL of the OID4VCI Deferred Credential Endpoint. Present for deferred issuance."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialIssuer"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Credential Issuer Identifier as defined in OID4VCI. Typically the issuer's base URL used to resolve the Credential Issuer Metadata."}}></SchemaItem><SchemaItem collapsible={false} name={"preAuthorisedCode"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Pre-authorized code from the credential offer. Present for the OID4VCI Pre-Authorized Code Flow."}}></SchemaItem><SchemaItem collapsible={false} name={"userPin"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Transaction code (tx_code) required for the OID4VCI Pre-Authorized Code Flow."}}></SchemaItem><SchemaItem collapsible={false} name={"createdAt"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Unix timestamp (in seconds) when this credential record was created.","example":1750000000}}></SchemaItem><SchemaItem collapsible={false} name={"updatedAt"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Unix timestamp (in seconds) when this credential record was last modified.","example":1750000600}}></SchemaItem><SchemaItem collapsible={false} name={"issuedAt"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Unix time (seconds) when the wallet first stored a credential on this record. `0` when the wallet holds no credential yet.","example":1750000600}}></SchemaItem><SchemaItem collapsible={false} name={"refreshCount"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Number of times that the wallet replaced the credential of this record with a new one, for example after a re-issuance.","example":0}}></SchemaItem><SchemaItem collapsible={false} name={"lastRefreshedAt"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Unix time (seconds) of the last replacement of the credential. `0` when the wallet never replaced it.","example":0}}></SchemaItem><SchemaItem collapsible={false} name={"openIdOrganisationId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier of the OpenID organisation (digital wallet deployment) that holds this credential."}}></SchemaItem><SchemaItem collapsible={false} name={"organisationId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier of the organisation that holds this credential."}}></SchemaItem><SchemaItem collapsible={false} name={"userPinRequired"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, the holder must provide a transaction code (tx_code) to complete the OID4VCI Pre-Authorized Code Flow Token Request."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialFormat"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [``, `vc+sd-jwt`, `vp+sd-jwt`, `dc+sd-jwt`, `jwt_vc_json`, `jwt_vc`, `mso_mdoc`]"} schema={{"type":"string","enum":["","vc+sd-jwt","vp+sd-jwt","dc+sd-jwt","jwt_vc_json","jwt_vc","mso_mdoc"],"description":"Format of the received credential as defined in OID4VCI. `jwt_vc_json` and `jwt_vc` are W3C VC (JWT) formats, `vc+sd-jwt`, `vp+sd-jwt`, and `dc+sd-jwt` are IETF SD-JWT VC formats, and `mso_mdoc` is the ISO 18013-5 mDoc/mDL format. The field is empty until the wallet knows the format."}}></SchemaItem><SchemaItem collapsible={false} name={"presentationId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier linking this credential to a presentation exchange, if received as part of a dynamic issuance flow involving OpenID for Verifiable Presentation (OpenID4VP)."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>issuer</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Display information about the credential issuer, resolved from the Credential Issuer Metadata of the issuer. The wallet always returns the five fields, with empty strings when it cannot resolve the metadata.

</div><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Display name of the issuer."}}></SchemaItem><SchemaItem collapsible={false} name={"location"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Location of the issuer."}}></SchemaItem><SchemaItem collapsible={false} name={"cover"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"URL of the issuer's cover image."}}></SchemaItem><SchemaItem collapsible={false} name={"logo"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"URL of the issuer's logo image."}}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Description of the issuer."}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>credentialConfigurations</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Credential configuration from the Credential Issuer Metadata of the issuer that applies to this credential. The keys follow the OID4VCI metadata format, for example `vct`, `doctype`, `credential_definition` and `display`.

</div><SchemaItem name={"property name*"} required={false} schemaName={"any"} qualifierMessage={undefined} schema={{"type":"object","additionalProperties":true,"description":"Credential configuration from the Credential Issuer Metadata of the issuer that applies to this credential. The keys follow the OID4VCI metadata format, for example `vct`, `doctype`, `credential_definition` and `display`."}} collapsible={false} discriminator={false}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>txCode</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Transaction code (`tx_code`) parameters taken from the OID4VCI Credential Offer. The keys use snake case because they mirror the OID4VCI wire format. The wallet returns `{"length": 0, "input_mode": "", "description": ""}` when the offer has no transaction code.

</div><SchemaItem collapsible={false} name={"length"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Number of characters that the transaction code has. The value is `0` when the offer has no transaction code.","example":4}}></SchemaItem><SchemaItem collapsible={false} name={"input_mode"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Input method for the transaction code, as defined in OID4VCI. `numeric` accepts digits only. `text` accepts alphanumeric characters. The wallet stores the value that the issuer sends and does not check it. The value is empty when the offer has no transaction code.","example":"numeric"}}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Instruction for the holder that explains how to get the transaction code."}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>authorizationDetails</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Authorization details that the issuer returned in the OID4VCI Token Response. The field is `null` for the Pre-Authorized Code Flow.

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Authorization detail type. The value is `openid_credential` for an OID4VCI credential issuance request.","example":"openid_credential"}}></SchemaItem><SchemaItem collapsible={false} name={"credential_configuration_id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier of the credential configuration in the Credential Issuer Metadata of the issuer.","example":"PhotoIdCredential"}}></SchemaItem><SchemaItem collapsible={false} name={"credential_identifiers"} required={true} schemaName={"string[]"} qualifierMessage={undefined} schema={{"type":"array","items":{"type":"string"},"description":"Credential identifiers that the issuer returned in the OID4VCI Token Response. The wallet sends one of these values in the Credential Request."}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"revocationStatus"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [``, `Operational`, `Revoked`]"} schema={{"type":"string","description":"Current revocation status. `Operational` means valid and `Revoked` means permanently invalidated. The field is empty when the wallet never checked the status, or when the credential does not support revocation.","enum":["","Operational","Revoked"]}}></SchemaItem><SchemaItem collapsible={false} name={"legalPidAttestation"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Legal Person Identification (LPID) attestation credential of the issuer, used to verify the issuer's legal identity in the EUDI Wallet ecosystem."}}></SchemaItem><SchemaItem collapsible={false} name={"legalPidAttestationPop"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Proof of Possession (PoP) for the issuer's LPID attestation, proving the issuer controls the associated private key."}}></SchemaItem><SchemaItem collapsible={false} name={"legalPidVerified"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"Indicates whether the issuer's LPID attestation has been successfully verified."}}></SchemaItem><SchemaItem collapsible={false} name={"autoPresent"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, the wallet automatically presents this credential when a matching OpenID4VP Authorization Request is received."}}></SchemaItem><SchemaItem collapsible={false} name={"version"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`version_01`]"} schema={{"type":"string","description":"Version of the OID4VCI protocol of the issuance: `version_01` (OpenID4VCI 1.0).","enum":["version_01"]}}></SchemaItem><SchemaItem collapsible={false} name={"cryptographicKeyIdentifier"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Key identifier (`kid`) of the holder key that the credential is bound to."}}></SchemaItem><SchemaItem collapsible={false} name={"cryptographicKeyFormat"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [``, `did:key`, `x509`]"} schema={{"type":"string","description":"Format of the holder key that the credential is bound to.","enum":["","did:key","x509"]}}></SchemaItem><SchemaItem collapsible={false} name={"trustAnchor"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Holds the same value as `cryptographicKeyFormat`."}}></SchemaItem><SchemaItem collapsible={false} name={"kid"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Holds the same value as `cryptographicKeyIdentifier`."}}></SchemaItem><SchemaItem collapsible={false} name={"legalPidAttestationValidity"} required={true} schemaName={"object[]"} qualifierMessage={undefined} schema={{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Result of the check of the LPID attestation of the issuer. Each entry holds `validatedAt`, `attestation` (`isExpired`, `isRevoked`, `isVerified`, `errors`) and `proofOfPossession` (`isExpired`, `isVerified`, `errors`)."}}></SchemaItem><SchemaItem collapsible={false} name={"expiredCredentialTokens"} required={true} schemaName={"string[]"} qualifierMessage={undefined} schema={{"type":"array","items":{"type":"string"},"description":"Array of previously issued credential tokens that have expired."}}></SchemaItem><SchemaItem collapsible={false} name={"expiredCredentials"} required={true} schemaName={"object[]"} qualifierMessage={undefined} schema={{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Array of decoded expired credential payloads."}}></SchemaItem><SchemaItem collapsible={false} name={"requiresEncryption"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, the issuer requires encrypted OID4VCI Credential Responses for this credential."}}></SchemaItem><SchemaItem collapsible={false} name={"isVerifiedWithTrustList"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, the issuer of this credential was verified against a configured trust list."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>trustServiceProvider</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Details of the trust service provider entry that matched the issuer during trust list verification. The field is `null` when the wallet found no match.

</div><SchemaItem name={"property name*"} required={false} schemaName={"any"} qualifierMessage={undefined} schema={{"type":"object","additionalProperties":true,"description":"Details of the trust service provider entry that matched the issuer during trust list verification. The field is `null` when the wallet found no match."}} collapsible={false} discriminator={false}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"oAuthFlow"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [``, `frontchannel`, `backchannel`]"} schema={{"type":"string","description":"OAuth 2.0 flow used for credential issuance. `frontchannel` uses browser redirects, `backchannel` uses server-to-server communication. The field is empty for the Pre-Authorized Code Flow.","enum":["","frontchannel","backchannel"]}}></SchemaItem><SchemaItem collapsible={false} name={"authorizationRequest"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"OAuth 2.0 authorization request URL for the Authorization Code Flow."}}></SchemaItem><SchemaItem collapsible={false} name={"isWalletUnitAttestation"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, this credential is a Wallet Unit Attestation (WUA) and not a regular credential. Reissuance requests are not applicable to it, and the wallet refuses to delete it."}}></SchemaItem><SchemaItem collapsible={false} name={"systemManaged"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, an extension of the organisation manages this credential, and the wallet refuses to delete it."}}></SchemaItem><SchemaItem collapsible={false} name={"batchId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier that the copies of one batch issuance share. Empty for a credential without a batch. Accept and delete act on every copy of the batch."}}></SchemaItem><SchemaItem collapsible={false} name={"presented"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"`true` when the wallet has used this copy of a batch issuance in a presentation. The wallet presents each copy of a batch once. Always `false` for a credential without a batch."}}></SchemaItem><SchemaItem collapsible={false} name={"deferredInterval"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Time in seconds that the issuer asks the wallet to wait before the next call to the Deferred Credential Endpoint. Present only for a deferred issuance.","example":"5"}}></SchemaItem><SchemaItem collapsible={false} name={"batchInstanceCount"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Number of copies of the batch. Present only on a row of the list operation with `groupBatches=true`, for a batch issuance.","example":10}}></SchemaItem><SchemaItem collapsible={false} name={"batchAvailableCount"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Number of copies of the batch that the wallet has not presented yet. Present only on a row of the list operation with `groupBatches=true`, for a batch issuance.","example":7}}></SchemaItem><SchemaItem collapsible={false} name={"notificationId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"`notification_id` from the issuer, for the OpenID4VCI Notification Endpoint."}}></SchemaItem><SchemaItem collapsible={false} name={"notificationEndpoint"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Notification Endpoint of the issuer."}}></SchemaItem><SchemaItem collapsible={false} name={"notificationSent"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"`true` after the wallet sent the notification to the issuer."}}></SchemaItem><SchemaItem collapsible={false} name={"accessTokenType"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Type of the access token from the issuer, for example `bearer` or `DPoP`."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>dpopJwk</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

JSON Web Key (JWK) representing the holder's public key for DPoP binding.

</div><SchemaItem collapsible={false} name={"alg"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Algorithm intended for use with the key.","example":"ES256"}}></SchemaItem><SchemaItem collapsible={false} name={"crv"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Cryptographic curve.","example":"P-256"}}></SchemaItem><SchemaItem collapsible={false} name={"kid"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Key ID used to match a specific key.","example":"holder-binding-1f3313ef9aa943ef9ae0400a7c1f60ac-b55eca95c94245bfb1b4b23e72b57d23"}}></SchemaItem><SchemaItem collapsible={false} name={"kty"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Key type.","example":"EC"}}></SchemaItem><SchemaItem collapsible={false} name={"x"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"X coordinate for the EC public key (Base64URL encoded).","example":"faUHD5Av6fIPPSuHSyoEwcU1AX1uB_ribM69rHFbS8A"}}></SchemaItem><SchemaItem collapsible={false} name={"y"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Y coordinate for the EC public key (Base64URL encoded).","example":"g4K2Gv0wigHmPjWi724brAFqg_xleKttWxF55lAGTS4"}}></SchemaItem></div></details></SchemaItem></TabItem><TabItem label={"MOD2"} value={"1-item-properties"}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier of the credential record. This field holds the same value as `credentialId`."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier of the credential record in the wallet of the holder. Every `/credential/{credentialId}/...` path takes this value."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialExchangeId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier of the OID4VCI exchange at the issuer, when the wallet knows it. Use it to match the record with the issuance history of an issuer of this platform."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialToken"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The raw JWT, SD-JWT, or mDoc token of the issued Verifiable Credential as received from the issuer's OpenID for Verifiable Credentials Issuance (OID4VCI) Credential Endpoint."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>credential</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Decoded payload of the Verifiable Credential token. Contains the parsed claims from the W3C VC (JWT), IETF SD-JWT VC, or ISO 18013-5 mDoc/mDL credential. The field is `null` while the wallet waits for the credential.

</div><SchemaItem name={"property name*"} required={false} schemaName={"any"} qualifierMessage={undefined} schema={{"type":"object","additionalProperties":true,"description":"Decoded payload of the Verifiable Credential token. Contains the parsed claims from the W3C VC (JWT), IETF SD-JWT VC, or ISO 18013-5 mDoc/mDL credential. The field is `null` while the wallet waits for the credential."}} collapsible={false} discriminator={false}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"credentialStatus"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`credential_pending`, `credential_acked`, `credential_accepted`, `credential_archived`]"} schema={{"type":"string","enum":["credential_pending","credential_acked","credential_accepted","credential_archived"],"description":"Current status of the credential in the wallet of the holder. `credential_pending` means the flow needs more steps: a transaction code, an authorization code, or a call to the OID4VCI Deferred Credential Endpoint. `credential_acked` means the wallet received and stored the credential. `credential_accepted` means the holder accepted the credential. `credential_archived` marks a Wallet Unit Attestation that a newer one replaced."}}></SchemaItem><SchemaItem collapsible={false} name={"acceptanceToken"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Acceptance token (transaction_id in OID4VCI) returned for deferred issuance. The wallet uses this to poll the Deferred Credential Endpoint."}}></SchemaItem><SchemaItem collapsible={false} name={"deferredEndpoint"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"URL of the OID4VCI Deferred Credential Endpoint. Present for deferred issuance."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialIssuer"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Credential Issuer Identifier as defined in OID4VCI. Typically the issuer's base URL used to resolve the Credential Issuer Metadata."}}></SchemaItem><SchemaItem collapsible={false} name={"preAuthorisedCode"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Pre-authorized code from the credential offer. Present for the OID4VCI Pre-Authorized Code Flow."}}></SchemaItem><SchemaItem collapsible={false} name={"userPin"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Transaction code (tx_code) required for the OID4VCI Pre-Authorized Code Flow."}}></SchemaItem><SchemaItem collapsible={false} name={"createdAt"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Unix timestamp (in seconds) when this credential record was created.","example":1750000000}}></SchemaItem><SchemaItem collapsible={false} name={"updatedAt"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Unix timestamp (in seconds) when this credential record was last modified.","example":1750000600}}></SchemaItem><SchemaItem collapsible={false} name={"issuedAt"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Unix time (seconds) when the wallet first stored a credential on this record. `0` when the wallet holds no credential yet.","example":1750000600}}></SchemaItem><SchemaItem collapsible={false} name={"refreshCount"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Number of times that the wallet replaced the credential of this record with a new one, for example after a re-issuance.","example":0}}></SchemaItem><SchemaItem collapsible={false} name={"lastRefreshedAt"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Unix time (seconds) of the last replacement of the credential. `0` when the wallet never replaced it.","example":0}}></SchemaItem><SchemaItem collapsible={false} name={"openIdOrganisationId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier of the OpenID organisation (digital wallet deployment) that holds this credential."}}></SchemaItem><SchemaItem collapsible={false} name={"organisationId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Unique identifier of the organisation that holds this credential."}}></SchemaItem><SchemaItem collapsible={false} name={"userPinRequired"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, the holder must provide a transaction code (tx_code) to complete the OID4VCI Pre-Authorized Code Flow Token Request."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialFormat"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [``, `vc+sd-jwt`, `vp+sd-jwt`, `dc+sd-jwt`, `jwt_vc_json`, `jwt_vc`, `mso_mdoc`]"} schema={{"type":"string","enum":["","vc+sd-jwt","vp+sd-jwt","dc+sd-jwt","jwt_vc_json","jwt_vc","mso_mdoc"],"description":"Format of the received credential as defined in OID4VCI. `jwt_vc_json` and `jwt_vc` are W3C VC (JWT) formats, `vc+sd-jwt`, `vp+sd-jwt`, and `dc+sd-jwt` are IETF SD-JWT VC formats, and `mso_mdoc` is the ISO 18013-5 mDoc/mDL format. The field is empty until the wallet knows the format."}}></SchemaItem><SchemaItem collapsible={false} name={"presentationId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier linking this credential to a presentation exchange, if received as part of a dynamic issuance flow involving OpenID for Verifiable Presentation (OpenID4VP)."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>issuer</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Display information about the credential issuer, resolved from the Credential Issuer Metadata of the issuer. The wallet always returns the five fields, with empty strings when it cannot resolve the metadata.

</div><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Display name of the issuer."}}></SchemaItem><SchemaItem collapsible={false} name={"location"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Location of the issuer."}}></SchemaItem><SchemaItem collapsible={false} name={"cover"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"URL of the issuer's cover image."}}></SchemaItem><SchemaItem collapsible={false} name={"logo"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"URL of the issuer's logo image."}}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Description of the issuer."}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>credentialConfigurations</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Credential configuration from the Credential Issuer Metadata of the issuer that applies to this credential. The keys follow the OID4VCI metadata format, for example `vct`, `doctype`, `credential_definition` and `display`.

</div><SchemaItem name={"property name*"} required={false} schemaName={"any"} qualifierMessage={undefined} schema={{"type":"object","additionalProperties":true,"description":"Credential configuration from the Credential Issuer Metadata of the issuer that applies to this credential. The keys follow the OID4VCI metadata format, for example `vct`, `doctype`, `credential_definition` and `display`."}} collapsible={false} discriminator={false}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>txCode</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Transaction code (`tx_code`) parameters taken from the OID4VCI Credential Offer. The keys use snake case because they mirror the OID4VCI wire format. The wallet returns `{"length": 0, "input_mode": "", "description": ""}` when the offer has no transaction code.

</div><SchemaItem collapsible={false} name={"length"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Number of characters that the transaction code has. The value is `0` when the offer has no transaction code.","example":4}}></SchemaItem><SchemaItem collapsible={false} name={"input_mode"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Input method for the transaction code, as defined in OID4VCI. `numeric` accepts digits only. `text` accepts alphanumeric characters. The wallet stores the value that the issuer sends and does not check it. The value is empty when the offer has no transaction code.","example":"numeric"}}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Instruction for the holder that explains how to get the transaction code."}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>authorizationDetails</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Authorization details that the issuer returned in the OID4VCI Token Response. The field is `null` for the Pre-Authorized Code Flow.

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"type"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Authorization detail type. The value is `openid_credential` for an OID4VCI credential issuance request.","example":"openid_credential"}}></SchemaItem><SchemaItem collapsible={false} name={"credential_configuration_id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier of the credential configuration in the Credential Issuer Metadata of the issuer.","example":"PhotoIdCredential"}}></SchemaItem><SchemaItem collapsible={false} name={"credential_identifiers"} required={true} schemaName={"string[]"} qualifierMessage={undefined} schema={{"type":"array","items":{"type":"string"},"description":"Credential identifiers that the issuer returned in the OID4VCI Token Response. The wallet sends one of these values in the Credential Request."}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"revocationStatus"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [``, `Operational`, `Revoked`]"} schema={{"type":"string","description":"Current revocation status. `Operational` means valid and `Revoked` means permanently invalidated. The field is empty when the wallet never checked the status, or when the credential does not support revocation.","enum":["","Operational","Revoked"]}}></SchemaItem><SchemaItem collapsible={false} name={"legalPidAttestation"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Legal Person Identification (LPID) attestation credential of the issuer, used to verify the issuer's legal identity in the EUDI Wallet ecosystem."}}></SchemaItem><SchemaItem collapsible={false} name={"legalPidAttestationPop"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Proof of Possession (PoP) for the issuer's LPID attestation, proving the issuer controls the associated private key."}}></SchemaItem><SchemaItem collapsible={false} name={"legalPidVerified"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"Indicates whether the issuer's LPID attestation has been successfully verified."}}></SchemaItem><SchemaItem collapsible={false} name={"autoPresent"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, the wallet automatically presents this credential when a matching OpenID4VP Authorization Request is received."}}></SchemaItem><SchemaItem collapsible={false} name={"version"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`version_01`]"} schema={{"type":"string","description":"Version of the OID4VCI protocol of the issuance: `version_01` (OpenID4VCI 1.0).","enum":["version_01"]}}></SchemaItem><SchemaItem collapsible={false} name={"cryptographicKeyIdentifier"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Key identifier (`kid`) of the holder key that the credential is bound to."}}></SchemaItem><SchemaItem collapsible={false} name={"cryptographicKeyFormat"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [``, `did:key`, `x509`]"} schema={{"type":"string","description":"Format of the holder key that the credential is bound to.","enum":["","did:key","x509"]}}></SchemaItem><SchemaItem collapsible={false} name={"trustAnchor"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Holds the same value as `cryptographicKeyFormat`."}}></SchemaItem><SchemaItem collapsible={false} name={"kid"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Holds the same value as `cryptographicKeyIdentifier`."}}></SchemaItem><SchemaItem collapsible={false} name={"legalPidAttestationValidity"} required={true} schemaName={"object[]"} qualifierMessage={undefined} schema={{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Result of the check of the LPID attestation of the issuer. Each entry holds `validatedAt`, `attestation` (`isExpired`, `isRevoked`, `isVerified`, `errors`) and `proofOfPossession` (`isExpired`, `isVerified`, `errors`)."}}></SchemaItem><SchemaItem collapsible={false} name={"expiredCredentialTokens"} required={true} schemaName={"string[]"} qualifierMessage={undefined} schema={{"type":"array","items":{"type":"string"},"description":"Array of previously issued credential tokens that have expired."}}></SchemaItem><SchemaItem collapsible={false} name={"expiredCredentials"} required={true} schemaName={"object[]"} qualifierMessage={undefined} schema={{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Array of decoded expired credential payloads."}}></SchemaItem><SchemaItem collapsible={false} name={"requiresEncryption"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, the issuer requires encrypted OID4VCI Credential Responses for this credential."}}></SchemaItem><SchemaItem collapsible={false} name={"isVerifiedWithTrustList"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, the issuer of this credential was verified against a configured trust list."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>trustServiceProvider</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Details of the trust service provider entry that matched the issuer during trust list verification. The field is `null` when the wallet found no match.

</div><SchemaItem name={"property name*"} required={false} schemaName={"any"} qualifierMessage={undefined} schema={{"type":"object","additionalProperties":true,"description":"Details of the trust service provider entry that matched the issuer during trust list verification. The field is `null` when the wallet found no match."}} collapsible={false} discriminator={false}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"oAuthFlow"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [``, `frontchannel`, `backchannel`]"} schema={{"type":"string","description":"OAuth 2.0 flow used for credential issuance. `frontchannel` uses browser redirects, `backchannel` uses server-to-server communication. The field is empty for the Pre-Authorized Code Flow.","enum":["","frontchannel","backchannel"]}}></SchemaItem><SchemaItem collapsible={false} name={"authorizationRequest"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"OAuth 2.0 authorization request URL for the Authorization Code Flow."}}></SchemaItem><SchemaItem collapsible={false} name={"isWalletUnitAttestation"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, this credential is a Wallet Unit Attestation (WUA) and not a regular credential. Reissuance requests are not applicable to it, and the wallet refuses to delete it."}}></SchemaItem><SchemaItem collapsible={false} name={"systemManaged"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"When `true`, an extension of the organisation manages this credential, and the wallet refuses to delete it."}}></SchemaItem><SchemaItem collapsible={false} name={"batchId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Identifier that the copies of one batch issuance share. Empty for a credential without a batch. Accept and delete act on every copy of the batch."}}></SchemaItem><SchemaItem collapsible={false} name={"presented"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"`true` when the wallet has used this copy of a batch issuance in a presentation. The wallet presents each copy of a batch once. Always `false` for a credential without a batch."}}></SchemaItem><SchemaItem collapsible={false} name={"deferredInterval"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Time in seconds that the issuer asks the wallet to wait before the next call to the Deferred Credential Endpoint. Present only for a deferred issuance.","example":"5"}}></SchemaItem><SchemaItem collapsible={false} name={"batchInstanceCount"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Number of copies of the batch. Present only on a row of the list operation with `groupBatches=true`, for a batch issuance.","example":10}}></SchemaItem><SchemaItem collapsible={false} name={"batchAvailableCount"} required={false} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"Number of copies of the batch that the wallet has not presented yet. Present only on a row of the list operation with `groupBatches=true`, for a batch issuance.","example":7}}></SchemaItem><SchemaItem collapsible={false} name={"notificationId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"`notification_id` from the issuer, for the OpenID4VCI Notification Endpoint."}}></SchemaItem><SchemaItem collapsible={false} name={"notificationEndpoint"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Notification Endpoint of the issuer."}}></SchemaItem><SchemaItem collapsible={false} name={"notificationSent"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"`true` after the wallet sent the notification to the issuer."}}></SchemaItem><SchemaItem collapsible={false} name={"accessTokenType"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Type of the access token from the issuer, for example `bearer` or `DPoP`."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>dpopJwk</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

JSON Web Key (JWK) representing the holder's public key for DPoP binding.

</div><SchemaItem collapsible={false} name={"alg"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Algorithm intended for use with the key.","example":"ES256"}}></SchemaItem><SchemaItem collapsible={false} name={"crv"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Cryptographic curve.","example":"P-256"}}></SchemaItem><SchemaItem collapsible={false} name={"kid"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Key ID used to match a specific key.","example":"holder-binding-1f3313ef9aa943ef9ae0400a7c1f60ac-b55eca95c94245bfb1b4b23e72b57d23"}}></SchemaItem><SchemaItem collapsible={false} name={"kty"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Key type.","example":"EC"}}></SchemaItem><SchemaItem collapsible={false} name={"x"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"X coordinate for the EC public key (Base64URL encoded).","example":"faUHD5Av6fIPPSuHSyoEwcU1AX1uB_ribM69rHFbS8A"}}></SchemaItem><SchemaItem collapsible={false} name={"y"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Y coordinate for the EC public key (Base64URL encoded).","example":"g4K2Gv0wigHmPjWi724brAFqg_xleKttWxF55lAGTS4"}}></SchemaItem></div></details></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></TabItem></SchemaTabs></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"credential\": {}\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

The code or `state` is missing, `state` does not match the credential records, `iss` is missing or does not match, the token endpoint of the issuer refused the request, or the wallet unit is not operational. The wallet also refuses this operation for a sandbox organisation.

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"401"} value={"401"}><div>

Unauthorized

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"500"} value={"500"}><div>

Internal server error

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
      