---
id: update-pid-verification-extension
title: "Update PID verification extension"
description: "Sets the formats and the attributes that the presentation definition of the extension asks for. The formats are SD-JWT VC (`dc+sd-jwt`), ISO/IEC 18013-5 (`mso_mdoc`) or both. With both, the DCQL query has one credential query for each format and one required credential set whose options are the formats: the wallet presents the PID in the format that it holds."
sidebar_label: "Update PID verification extension"
hide_title: true
hide_table_of_contents: true
api: eJztO9ty3MZyvzI1eSBZwYIXUaS8pVKFJnXOoY/Lkg9pK1USi5gFGrtjAjPwzIDLjYpv+ZJ8Wr4k1T2D22JXou0k5VT4IGpxmZ6+d0934zPPwKZGVk5qxaf8CpxlbgEs16YUzjKhMroWzhk5qx3gY+HoXmXAgnIC17IMcqkk/dQ5PYYHB8riDWHvLEKM2XUftAF2dTH57sM1+/mc7SZZ+s82m/yydMlexC6v3u1fvj1nh68ODl9MXrLdpLT6tsx0muwxbdhMu0XMPki3oJ8R7Xhx/uP37NcazIothGVaAUsNZKCcFEV4kGvDQKSLgAYRiC8a+LWWBrL+CguOLRfaAtPEII9zjz1TuliKogDXsMPz7/3lBZOq965nm3RsoYvMxp/UJ/UW0WgZ27ANV6ZCsRmwFPdWEROF1UywUqhMOG1WiHDErPYwV7pGDjOtCk/esrmrALKY0TYeVG83aZnoEV0IWU6ZaGghWC1BgpCizZCvxD6Pbcl231WgLi+Of37PDuODiFlISQlO4uP4cM9LfKFrC0zV5QwMbkzQpepJH6UgLSsgd0zXyHXoP5aWKe0CEUOKAnfL2iJy90DC1IaV2rQsXSfeTklpWk1cohoRUm4d27m8ByZYcnxwkPj3EjBGm7/DKmFJJbNbD+QWn+na3babJBGbQSoQFkJdV2ivjUtdFxlJDwWndIej55x/S+dMNIRmGjwzmkVCabcA0xetYlUhUiIfudEa7DoI5JffJ5FZgq/DUCWlbZRYKLsE0zDUgMhIhc+YRZ7XVSa8a4C+I2gQmaLe3wFUlkln2eVFEOE9GJnL1DsQ/5zEpatVs1MPWmNAS2FZKTIgcZAZCMVAmEKCGYK0ThYFswu9tN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a0ryp1QFxfufeSHUvBZzfN+DpW8zQnrYFUfuqDgSfiBhzSO16iG5XifxtOBfpGzjktfhLP6mfd0/2bqgrc34t1HU+GHafwGq1GZ6
sidebar_class_name: "put api-method"
info_path: docs/extensions-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"}>Update PID verification extension</h1>

<MethodEndpoint method={"put"} path={"/v4/config/platform/extension/pid-verification"}></MethodEndpoint>



Sets the formats and the attributes that the presentation definition of the extension asks for. The formats are SD-JWT VC (`dc+sd-jwt`), ISO/IEC 18013-5 (`mso_mdoc`) or both. With both, the DCQL query has one credential query for each format and one required credential set whose options are the formats: the wallet presents the PID in the format that it holds.

Each attribute of the PID can be chosen, also a mandatory one, so that you ask only for what you need. Each chosen attribute is a required claim: a wallet only presents a PID that has each of them (OpenID4VP 1.0, section 6.4.1). The house number is only in SD-JWT VC and is left out when SD-JWT VC is not chosen. Each chosen format must have one or more of the chosen attributes: both formats with only the house number give a `400` with `errorKey` `pid_format_without_attribute`, because the ISO/IEC 18013-5 query would ask for no attribute. The query of a format does not ask for another attribute in place of one that the format does not have. The `id` of each attribute is in the answer of the read.

A save updates the definition in place: it keeps its ID. Each verification keeps the copy of the definition that it was made with, so an earlier verification still shows what it asked for.

The answer is `404` when the extension is off or waits for its signing key.


## 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><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"formats"} required={true} schemaName={"string[]"} qualifierMessage={"**Possible values:** [`dc+sd-jwt`, `mso_mdoc`], `>= 1`, `<= 10`"} schema={{"type":"array","description":"The formats that the definition accepts, one or both.","minItems":1,"maxItems":10,"items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}}}></SchemaItem><SchemaItem collapsible={false} name={"attributes"} required={true} schemaName={"string[]"} qualifierMessage={"**Possible values:** `>= 1`, `<= 100`"} schema={{"type":"array","description":"The `id` of each attribute that the definition asks for, mandatory or optional. Give one or more. An attribute that none of the formats has (the house number without SD-JWT VC) is left out. Each format of `formats` must have one or more of these attributes: both formats with only the house number are refused.","minItems":1,"maxItems":100,"items":{"type":"string"}}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

The presentation definition and the settings of the extension after the update.

</div><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={"extensionStatus"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"Always `true` in this answer. An extension that is not `enabled` gives `404`."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>presentationDefinition</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"}}>

The presentation definition of the extension.

</div><SchemaItem collapsible={false} name={"presentationDefinitionId"} required={true} schemaName={"uuid"} qualifierMessage={undefined} schema={{"type":"string","format":"uuid","description":"The system-managed presentation definition of the extension. Send verification requests with it."}}></SchemaItem><SchemaItem collapsible={false} name={"label"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The label of the definition."}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"formats"} required={true} schemaName={"string[]"} qualifierMessage={"**Possible values:** [`dc+sd-jwt`, `mso_mdoc`]"} schema={{"type":"array","description":"The formats that the definition accepts: `dc+sd-jwt` (SD-JWT VC) and `mso_mdoc` (ISO/IEC 18013-5). With both, the wallet presents the PID in the format that it holds.","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>attributes</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"}}>

Each attribute of the PID (PID Rulebook v1.7). The definition asks for an attribute when `selected` is `true`, also for a mandatory one. Each chosen attribute is a required claim: a wallet only presents a PID that has each of them.

</div><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":"The data identifier of the attribute in the PID Rulebook. Send it in `attributes` of the update."}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The name of the attribute."}}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The definition of the attribute in the PID Rulebook, in short."}}></SchemaItem><SchemaItem collapsible={false} name={"reference"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"type":"string","format":"uri","description":"The section of the PID Rulebook that defines the attribute."}}></SchemaItem><SchemaItem collapsible={false} name={"mandatory"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"The PID Rulebook makes the attribute mandatory in each PID. The definition asks for it only when it is `selected`."}}></SchemaItem><SchemaItem collapsible={false} name={"selected"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"The definition asks for the attribute."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>paths</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"}}>

The claim path of the attribute in each format that has it. The presented PID has the value of the attribute at this path.

</div><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>property name*</strong><span className={"openapi-schema__name"}> string[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div style={{"marginTop":".5rem","marginBottom":".5rem","marginLeft":"1rem"}}>

string

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></div></details></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></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"}>rulebook</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"}}>

The rulebook that the attributes follow.

</div><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The name and version of the rulebook."}}></SchemaItem><SchemaItem collapsible={false} name={"url"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"type":"string","format":"uri","description":"The rulebook, at the commit of that version."}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"extensionStatus\": true,\n  \"presentationDefinition\": {\n    \"presentationDefinitionId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"label\": \"string\"\n  },\n  \"formats\": [\n    \"dc+sd-jwt\"\n  ],\n  \"attributes\": [\n    {\n      \"id\": \"string\",\n      \"name\": \"string\",\n      \"description\": \"string\",\n      \"reference\": \"string\",\n      \"mandatory\": true,\n      \"selected\": true,\n      \"paths\": {}\n    }\n  ],\n  \"rulebook\": {\n    \"name\": \"string\",\n    \"url\": \"string\"\n  }\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"extensionStatus\": true,\n  \"presentationDefinition\": {\n    \"presentationDefinitionId\": \"9e2f7c41-5b1d-4f0a-8c3e-2d6a1b7f4e90\",\n    \"label\": \"PID Verification\"\n  },\n  \"formats\": [\n    \"dc+sd-jwt\",\n    \"mso_mdoc\"\n  ],\n  \"attributes\": [\n    {\n      \"id\": \"family_name\",\n      \"name\": \"Family name\",\n      \"description\": \"Current last name(s) or surname(s) of the user.\",\n      \"reference\": \"https://github.com/eu-digital-identity-wallet/eudi-doc-attestation-rulebooks-catalog/blob/6d8f7f8422e5bf6c48186005b6835c078f762a67/rulebooks/pid/pid-rulebook.md#22-mandatory-attributes-specified-in-cir-20242977\",\n      \"mandatory\": true,\n      \"selected\": true,\n      \"paths\": {\n        \"dc+sd-jwt\": [\n          \"family_name\"\n        ],\n        \"mso_mdoc\": [\n          \"eu.europa.ec.eudi.pid.1\",\n          \"family_name\"\n        ]\n      }\n    },\n    {\n      \"id\": \"nationality\",\n      \"name\": \"Nationality\",\n      \"description\": \"One or more ISO 3166-1 alpha-2 country codes. QU when unknown, QS when the user has no nationality.\",\n      \"reference\": \"https://github.com/eu-digital-identity-wallet/eudi-doc-attestation-rulebooks-catalog/blob/6d8f7f8422e5bf6c48186005b6835c078f762a67/rulebooks/pid/pid-rulebook.md#22-mandatory-attributes-specified-in-cir-20242977\",\n      \"mandatory\": true,\n      \"selected\": false,\n      \"paths\": {\n        \"dc+sd-jwt\": [\n          \"nationalities\"\n        ],\n        \"mso_mdoc\": [\n          \"eu.europa.ec.eudi.pid.1\",\n          \"nationality\"\n        ]\n      }\n    }\n  ],\n  \"rulebook\": {\n    \"name\": \"PID Rulebook v1.7\",\n    \"url\": \"https://github.com/eu-digital-identity-wallet/eudi-doc-attestation-rulebooks-catalog/blob/6d8f7f8422e5bf6c48186005b6835c078f762a67/rulebooks/pid/pid-rulebook.md\"\n  }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

Bad request. The body is not valid (`Invalid request body: 'formats' and 'attributes' are required`, an unknown member), it has no format (`Invalid request body: formats: choose one or more formats of the PID`), a format that is not a PID format (`Invalid request body: formats: '<x>' is not a format of the PID (dc+sd-jwt, mso_mdoc)`), an attribute that is not an attribute of the PID, also the group `address` (`Invalid request body: attributes: '<x>' is not an attribute of the PID`), no attribute that the chosen formats have (`Invalid request body: attributes: choose one or more attributes of the PID`), or a chosen format with none of the chosen attributes (`errorKey` `pid_format_without_attribute`, the member `format`, and the text `None of the chosen attributes is in ISO/IEC 18013-5 (mdoc). Choose an attribute of this format, or remove the format.`, or the same text with SD-JWT VC). Or the wallet refuses the definition (`The settings of the extension cannot be changed: <reason>`).

</div><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><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled`, `service_not_installed` or `purpose_exists`. Some refusals have more members: `feature_disabled` has `feature`, and `service_not_installed` has `service` (the service that is not installed: `wallet` or `consent`)."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"401"} value={"401"}><div>

The API key is missing or not valid.

</div><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><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled`, `service_not_installed` or `purpose_exists`. Some refusals have more members: `feature_disabled` has `feature`, and `service_not_installed` has `service` (the service that is not installed: `wallet` or `consent`)."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"404"} value={"404"}><div>

The extension is off or waits for its signing key (`Extension 'pidVerification' is not enabled for organisation '<organisationId>'`).

</div><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><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled`, `service_not_installed` or `purpose_exists`. Some refusals have more members: `feature_disabled` has `feature`, and `service_not_installed` has `service` (the service that is not installed: `wallet` or `consent`)."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"409"} value={"409"}><div>

The extension is being enabled, disabled or changed by another request (`Extension 'pidVerification' is being changed by another request. Try again when it has finished.`), or the wallet refuses the change of the definition (`The settings of the extension cannot be changed: <reason>`).

</div><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><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled`, `service_not_installed` or `purpose_exists`. Some refusals have more members: `feature_disabled` has `feature`, and `service_not_installed` has `service` (the service that is not installed: `wallet` or `consent`)."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"500"} value={"500"}><div>

Internal server error.

</div><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><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled`, `service_not_installed` or `purpose_exists`. Some refusals have more members: `feature_disabled` has `feature`, and `service_not_installed` has `service` (the service that is not installed: `wallet` or `consent`)."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
      